/* =====================================================
   PROJETO AFILIADOS - Estilos Principais
   Mobile First | Responsivo
   ===================================================== */

/* =========================
   CSS VARIABLES
   ========================= */
:root {
    --color-primary: #2563eb;
    --color-primary-dark: #1d4ed8;
    --color-primary-light: #dbeafe;
    --color-secondary: #059669;
    --color-secondary-dark: #047857;
    --color-accent: #f59e0b;
    --color-danger: #dc2626;
    --color-success: #16a34a;
    --color-warning: #eab308;
    --color-text: #1f2937;
    --color-text-light: #6b7280;
    --color-text-muted: #9ca3af;
    --color-bg: #f9fafb;
    --color-white: #ffffff;
    --color-border: #e5e7eb;
    --color-card-bg: #ffffff;
    --color-star: #f59e0b;

    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);

    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-full: 9999px;

    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

    --container-max: 1200px;
    --header-height: 70px;
}

/* =========================
   RESET & BASE
   ========================= */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--color-primary-dark);
}

ul, ol {
    list-style: none;
}

/* =========================
   LAYOUT
   ========================= */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 16px;
}

.site-main {
    flex: 1;
    padding: 24px 0;
}

/* =========================
   AFFILIATE DISCLAIMER BAR
   ========================= */
.affiliate-disclaimer-bar {
    background-color: var(--color-primary-light);
    color: var(--color-primary-dark);
    font-size: 0.75rem;
    text-align: center;
    padding: 6px 16px;
    line-height: 1.4;
}

/* =========================
   HEADER
   ========================= */
.site-header {
    background: var(--color-white);
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
    gap: 16px;
}

.logo h1 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary);
    white-space: nowrap;
}

.logo:hover {
    text-decoration: none;
}

/* Search Form */
.search-form {
    display: flex;
    flex: 1;
    max-width: 400px;
    position: relative;
}

.search-form input {
    width: 100%;
    padding: 8px 40px 8px 14px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    outline: none;
    transition: border-color 0.2s;
    font-family: var(--font-sans);
}

.search-form input:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px var(--color-primary-light);
}

.search-form button {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-text-light);
    padding: 6px;
    display: flex;
    align-items: center;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text);
    transition: all 0.3s;
    border-radius: 2px;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Navigation */
.main-nav {
    display: none;
    padding: 12px 0;
    border-top: 1px solid var(--color-border);
}

.main-nav.active {
    display: block;
}

.main-nav ul {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.main-nav a {
    display: block;
    padding: 10px 0;
    color: var(--color-text);
    font-size: 0.9375rem;
    font-weight: 500;
    border-bottom: 1px solid var(--color-border);
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--color-primary);
}

/* =========================
   SECTION TITLES
   ========================= */
.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--color-text);
    position: relative;
    padding-bottom: 10px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--color-primary);
    border-radius: 3px;
}

/* =========================
   PRODUCT CARDS GRID
   ========================= */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}

.product-card {
    background: var(--color-card-bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--color-border);
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.product-card .card-image {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: #f3f4f6;
}

.product-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.product-card:hover .card-image img {
    transform: scale(1.05);
}

.product-card .card-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--color-danger);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: var(--radius-full);
}

.product-card .card-body {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-card .card-category {
    font-size: 0.75rem;
    color: var(--color-primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.product-card .card-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--color-text);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card .card-title a {
    color: inherit;
}

.product-card .card-title a:hover {
    color: var(--color-primary);
}

.product-card .card-description {
    font-size: 0.8125rem;
    color: var(--color-text-light);
    margin-bottom: 12px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card .card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px solid var(--color-border);
}

.product-card .card-price {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-secondary);
}

.product-card .card-price-from {
    font-size: 0.7rem;
    color: var(--color-text-muted);
    display: block;
}

.product-card .card-price .original-price {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    text-decoration: line-through;
    font-weight: 400;
}

/* Stars */
.stars {
    display: inline-flex;
    align-items: center;
    gap: 1px;
}

.star {
    font-size: 0.9rem;
    line-height: 1;
}

.star.filled, .star.half {
    color: var(--color-star);
}

.star.empty {
    color: var(--color-border);
}

.stars-lg .star {
    font-size: 1.25rem;
}

/* =========================
   PRODUCT PAGE
   ========================= */
.product-page {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

.product-image-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--color-white);
    border: 1px solid var(--color-border);
}

.product-image-main img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.product-info h1 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.3;
}

.product-rating-summary {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    font-size: 0.875rem;
    color: var(--color-text-light);
}

.product-rating-summary .rating-number {
    font-weight: 600;
    color: var(--color-text);
}

.product-description {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--color-text);
    margin-bottom: 24px;
}

/* Offers Table */
.offers-section {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    overflow: hidden;
    margin-bottom: 32px;
}

.offers-section h3 {
    padding: 16px 20px;
    font-size: 1rem;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    margin: 0;
}

.offer-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    border-bottom: 1px solid var(--color-border);
    gap: 12px;
    flex-wrap: wrap;
}

.offer-row:last-child {
    border-bottom: none;
}

.offer-row.best-offer {
    background: #f0fdf4;
}

.offer-store {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 140px;
}

.offer-store img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    border-radius: 4px;
}

.offer-store-name {
    font-weight: 600;
    font-size: 0.875rem;
}

.offer-price-area {
    text-align: right;
}

.offer-price {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-secondary);
}

.offer-original-price {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    text-decoration: line-through;
}

.offer-discount {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-danger);
}

.offer-updated {
    font-size: 0.7rem;
    color: var(--color-text-muted);
}

.best-badge {
    font-size: 0.7rem;
    background: var(--color-success);
    color: white;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    font-weight: 600;
}

/* Pros and Cons */
.pros-cons {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 32px;
}

.pros-list, .cons-list {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    padding: 20px;
}

.pros-list h4 {
    color: var(--color-success);
    margin-bottom: 12px;
    font-size: 0.9375rem;
}

.cons-list h4 {
    color: var(--color-danger);
    margin-bottom: 12px;
    font-size: 0.9375rem;
}

.pros-list li, .cons-list li {
    padding: 6px 0;
    font-size: 0.875rem;
    color: var(--color-text);
    padding-left: 24px;
    position: relative;
}

.pros-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-success);
    font-weight: 700;
}

.cons-list li::before {
    content: '✗';
    position: absolute;
    left: 0;
    color: var(--color-danger);
    font-weight: 700;
}

/* =========================
   BUTTON
   ========================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 20px;
    border: none;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    font-family: var(--font-sans);
    line-height: 1.4;
}

.btn-primary {
    background: var(--color-primary);
    color: white;
}
.btn-primary:hover {
    background: var(--color-primary-dark);
    color: white;
}

.btn-success {
    background: var(--color-secondary);
    color: white;
}
.btn-success:hover {
    background: var(--color-secondary-dark);
    color: white;
}

.btn-danger {
    background: var(--color-danger);
    color: white;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--color-border);
    color: var(--color-text);
}
.btn-outline:hover {
    background: var(--color-bg);
}

.btn-offer {
    padding: 10px 24px;
    font-size: 0.875rem;
    border-radius: var(--radius-md);
    font-weight: 700;
    color: white;
    white-space: nowrap;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 0.8125rem;
}

.btn-lg {
    padding: 14px 28px;
    font-size: 1rem;
}

/* =========================
   REVIEWS / AVALIACOES
   ========================= */
.reviews-section {
    margin-top: 32px;
}

.review-form {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 24px;
}

.review-form h3 {
    font-size: 1.125rem;
    margin-bottom: 16px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--color-text);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-family: var(--font-sans);
    transition: border-color 0.2s;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px var(--color-primary-light);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* Star Rating Input */
.star-rating-input {
    display: flex;
    gap: 4px;
    direction: rtl;
}

.star-rating-input input {
    display: none;
}

.star-rating-input label {
    font-size: 1.5rem;
    color: var(--color-border);
    cursor: pointer;
    transition: color 0.2s;
}

.star-rating-input input:checked ~ label,
.star-rating-input label:hover,
.star-rating-input label:hover ~ label {
    color: var(--color-star);
}

/* Review Cards */
.review-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 20px;
    margin-bottom: 16px;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.review-author {
    font-weight: 600;
    font-size: 0.9375rem;
}

.review-date {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
}

.review-text {
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--color-text-light);
}

/* =========================
   BREADCRUMBS
   ========================= */
.breadcrumbs {
    margin-bottom: 20px;
}

.breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    font-size: 0.8125rem;
}

.breadcrumb-item a {
    color: var(--color-text-light);
}

.breadcrumb-item a:hover {
    color: var(--color-primary);
}

.breadcrumb-item + .breadcrumb-item::before {
    content: '›';
    margin-right: 4px;
    color: var(--color-text-muted);
}

.breadcrumb-item.active {
    color: var(--color-text-muted);
}

/* =========================
   PAGINATION
   ========================= */
.paginacao {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text);
    background: var(--color-white);
    transition: all 0.2s;
}

.page-link:hover {
    background: var(--color-primary-light);
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.page-link.active {
    background: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
}

/* =========================
   ALERTS
   ========================= */
.alert {
    padding: 12px 16px;
    border-radius: var(--radius-md);
    margin-bottom: 16px;
    font-size: 0.875rem;
    font-weight: 500;
}

.alert-success {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.alert-error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.alert-warning {
    background: #fffbeb;
    color: #92400e;
    border: 1px solid #fde68a;
}

.alert-info {
    background: var(--color-primary-light);
    color: var(--color-primary-dark);
    border: 1px solid #93c5fd;
}

/* =========================
   FOOTER
   ========================= */
.site-footer {
    background: var(--color-text);
    color: #d1d5db;
    padding: 40px 0 0;
    margin-top: 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    padding-bottom: 32px;
}

.footer-col h4 {
    color: white;
    font-size: 1rem;
    margin-bottom: 14px;
}

.footer-col p {
    font-size: 0.875rem;
    line-height: 1.6;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul a {
    color: #9ca3af;
    font-size: 0.875rem;
}

.footer-col ul a:hover {
    color: white;
}

.footer-disclaimer {
    border-top: 1px solid #374151;
    padding: 20px 0;
    font-size: 0.75rem;
    line-height: 1.6;
    color: #9ca3af;
}

.footer-disclaimer p {
    margin-bottom: 8px;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding: 16px 0;
    text-align: center;
    font-size: 0.8125rem;
}

/* =========================
   CATEGORY PAGE
   ========================= */
.category-header {
    margin-bottom: 24px;
}

.category-header h1 {
    font-size: 1.5rem;
    margin-bottom: 6px;
}

.category-header p {
    color: var(--color-text-light);
    font-size: 0.9375rem;
}

.results-count {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    margin-bottom: 16px;
}

/* =========================
   SEARCH PAGE
   ========================= */
.search-header h1 {
    font-size: 1.25rem;
    margin-bottom: 4px;
}

.search-header .search-query {
    color: var(--color-primary);
}

/* =========================
   EMPTY STATE
   ========================= */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--color-text-light);
}

.empty-state svg {
    width: 60px;
    height: 60px;
    margin-bottom: 16px;
    color: var(--color-text-muted);
}

.empty-state h3 {
    font-size: 1.125rem;
    margin-bottom: 8px;
    color: var(--color-text);
}

.empty-state p {
    font-size: 0.9375rem;
}

/* =========================
   RELATED PRODUCTS
   ========================= */
.related-section {
    margin-top: 48px;
}

/* =========================
   RESPONSIVE - TABLET (768px+)
   ========================= */
@media (min-width: 768px) {
    .container {
        padding: 0 24px;
    }

    .menu-toggle {
        display: none;
    }

    .main-nav {
        display: block !important;
        border-top: none;
        padding: 0;
    }

    .main-nav ul {
        flex-direction: row;
        gap: 0;
    }

    .main-nav a {
        padding: 14px 16px;
        border-bottom: 3px solid transparent;
        font-size: 0.875rem;
    }

    .main-nav a:hover,
    .main-nav a.active {
        border-bottom-color: var(--color-primary);
    }

    .product-page {
        grid-template-columns: 1fr 1fr;
    }

    .pros-cons {
        grid-template-columns: 1fr 1fr;
    }

    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
    }

    .section-title {
        font-size: 1.75rem;
    }
}

/* =========================
   RESPONSIVE - DESKTOP (1024px+)
   ========================= */
@media (min-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .header-inner {
        height: 80px;
    }

    .logo h1 {
        font-size: 1.5rem;
    }

    .search-form {
        max-width: 500px;
    }

    .product-info h1 {
        font-size: 1.75rem;
    }
}

/* =========================
   ADMIN STYLES
   ========================= */
.admin-body {
    background: var(--color-bg);
}

.admin-header {
    background: #1e293b;
    color: white;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 56px;
}

.admin-header h2 {
    font-size: 1rem;
    font-weight: 600;
}

.admin-header a {
    color: #94a3b8;
    font-size: 0.875rem;
}

.admin-header a:hover {
    color: white;
}

.admin-nav {
    background: #334155;
    padding: 0 24px;
    overflow-x: auto;
}

.admin-nav ul {
    display: flex;
    gap: 0;
}

.admin-nav a {
    display: block;
    padding: 10px 16px;
    color: #94a3b8;
    font-size: 0.8125rem;
    font-weight: 500;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
}

.admin-nav a:hover,
.admin-nav a.active {
    color: white;
    border-bottom-color: var(--color-primary);
}

.admin-content {
    padding: 24px;
    max-width: 1400px;
    margin: 0 auto;
}

.admin-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
}

.admin-card h3 {
    font-size: 1rem;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--color-border);
}

/* Admin Table */
.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.admin-table th {
    background: var(--color-bg);
    padding: 10px 14px;
    text-align: left;
    font-weight: 600;
    font-size: 0.8125rem;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--color-border);
}

.admin-table td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--color-border);
    vertical-align: middle;
}

.admin-table tr:hover {
    background: var(--color-bg);
}

.admin-table .thumb {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

.admin-table .actions {
    display: flex;
    gap: 6px;
}

/* Dashboard Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.stat-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 20px;
    text-align: center;
}

.stat-card .stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1;
}

.stat-card .stat-label {
    font-size: 0.8125rem;
    color: var(--color-text-light);
    margin-top: 6px;
}

/* Admin Login */
.login-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: var(--color-bg);
}

.login-box {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 40px;
    width: 100%;
    max-width: 400px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-border);
}

.login-box h1 {
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 24px;
    color: var(--color-text);
}

/* Admin Form */
.admin-form {
    max-width: 800px;
}

.admin-form .form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 768px) {
    .admin-form .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

.form-group .help-text {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    margin-top: 4px;
}

.image-preview {
    margin-top: 8px;
}

.image-preview img {
    max-width: 200px;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
}

/* =========================
   UTILITY CLASSES
   ========================= */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-muted { color: var(--color-text-muted); }
.text-small { font-size: 0.8125rem; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
