/* /home/a1appbuilders/public_html/addons/customer-reviews-system/assets/css/user.css */
/* User interface specific styles */

/* Forms */
textarea,
input[type=number],
input[type=file],
input[type=submit] {
    width: 100%;
    padding: 10px;
    font-size: 1.1rem;
    margin: 6px 0 12px 0;
    border-radius: 8px;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

textarea {
    resize: vertical;
    font-family: Arial, sans-serif;
}

input[type=submit] {
    background: #003366;
    color: white;
    font-weight: bold;
    cursor: pointer;
    font-size: 1.4rem;
}

input[type=submit]:hover {
    background: #004488;
}

/* Character Counter */
#charCount {
    text-align: right;
    font-size: 0.9rem;
    color: #666;
    margin-top: -8px;
    margin-bottom: 10px;
}

/* Review Display */
.review {
    border-bottom: 1px solid #ccc;
    padding: 20px 0;
}

.stars {
    color: #f39c12;
    font-weight: bold;
    font-size: 1.2rem;
}

.review img {
    max-width: 150px;
    max-height: 150px;
    display: block;
    margin: 10px 0;
    border-radius: 5px;
}

/* Upload Images */
.container img {
    max-width: 100px;
    display: block;
    margin: 10px auto;
    border-radius: 5px;
}

/* Admin Actions */
.admin-actions {
    margin-top: 10px;
}

.admin-actions form {
    display: inline;
}

.approved {
    color: green;
    font-weight: bold;
}

.not-approved {
    color: red;
    font-weight: bold;
}

/* Pagination */
.pagination {
    text-align: center;
    margin: 20px 0;
}

.pagination a {
    margin: 0 10px;
    color: #003366;
    text-decoration: none;
    font-weight: bold;
    padding: 8px 12px;
    border: 1px solid #003366;
    border-radius: 4px;
}

.pagination a:hover {
    background: #003366;
    color: white;
}

/* Dashboard Styles */
.dashboard-container {
    background: linear-gradient(135deg, #fff9c4 0%, #f8bbd0 50%, #c8e6c9 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

.dashboard-container .container {
    background: white;
    padding: 40px 50px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    max-width: 700px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.dashboard-container h1 {
    font-size: 3rem;
    margin-bottom: 0.25em;
    color: #fbc02d;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.1);
    font-weight: bold;
    letter-spacing: 2px;
}

.dashboard-container h2 {
    color: #4a148c;
    font-weight: normal;
    margin-bottom: 40px;
}

.nav {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.nav a {
    background: linear-gradient(135deg, #81d4fa, #4fc3f7);
    color: white;
    font-weight: bold;
    text-decoration: none;
    padding: 15px 35px;
    border-radius: 40px;
    font-size: 1.4rem;
    box-shadow: 0 4px 10px rgba(33, 150, 243, 0.4);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.nav a:hover {
    background: linear-gradient(135deg, #4fc3f7, #0288d1);
    box-shadow: 0 6px 15px rgba(3, 169, 244, 0.7);
}