/* ===== CSS VARIABLES UNTUK THEME ===== */
:root {
    /* Light Mode - Premium Light */
    --bg-primary: #f9fafb;
    --bg-secondary: #ffffff;
    --bg-card: #ffffff;
    --bg-hover: #f3f4f6;
    --bg-input: #ffffff;
    --bg-navbar: rgba(255, 255, 255, 0.9);
    --bg-sidebar: #ffffff;
    --bg-modal: #ffffff;
    --bg-blob: rgba(59, 130, 246, 0.03);
    
    --text-primary: #111827;
    --text-secondary: #4b5563;
    --text-muted: #6b7280;
    --text-inverse: #ffffff;
    --text-light: #9ca3af;
    
    --border-color: #e5e7eb;
    --border-hover: #d1d5db;
    --border-focus: #3b82f6;
    --border-light: #f3f4f6;
    
    --accent: #3b82f6;
    --accent-hover: #2563eb;
    --accent-soft: rgba(59, 130, 246, 0.1);
    --accent-gradient: linear-gradient(135deg, #3b82f6, #8b5cf6);
    
    --success: #10b981;
    --success-soft: rgba(16, 185, 129, 0.1);
    --warning: #f59e0b;
    --warning-soft: rgba(245, 158, 11, 0.1);
    --danger: #ef4444;
    --danger-soft: rgba(239, 68, 68, 0.1);
    
    --badge-bg: #f3f4f6;
    --badge-text: #4b5563;
    
    --button-bg: #f3f4f6;
    --button-text: #374151;
    --button-hover-bg: #3b82f6;
    --button-hover-text: #ffffff;
    
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 6px 10px -1px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.01);
    
    --skeleton-start: #e5e7eb;
    --skeleton-end: #d1d5db;
    
    --scrollbar-track: #f3f4f6;
    --scrollbar-thumb: #d1d5db;
    --scrollbar-thumb-hover: #9ca3af;
    
    --overlay: rgba(0, 0, 0, 0.3);
    --overlay-light: rgba(0, 0, 0, 0.05);
}

/* Dark Mode */
body.dark-mode {
    --bg-primary: #0a0f1a;
    --bg-secondary: #161925;
    --bg-card: #1e293b;
    --bg-hover: #2d3748;
    --bg-input: #1e293b;
    --bg-navbar: rgba(15, 17, 26, 0.95);
    --bg-sidebar: #161925;
    --bg-modal: #1e293b;
    --bg-blob: rgba(59, 130, 246, 0.08);
    
    --text-primary: #ffffff;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --text-inverse: #111827;
    --text-light: #64748b;
    
    --border-color: #2d3748;
    --border-hover: #4a5568;
    --border-focus: #3b82f6;
    --border-light: #1e293b;
    
    --accent: #3b82f6;
    --accent-hover: #60a5fa;
    --accent-soft: rgba(59, 130, 246, 0.2);
    --accent-gradient: linear-gradient(135deg, #3b82f6, #8b5cf6);
    
    --success: #10b981;
    --success-soft: rgba(16, 185, 129, 0.15);
    --warning: #f59e0b;
    --warning-soft: rgba(245, 158, 11, 0.15);
    --danger: #ef4444;
    --danger-soft: rgba(239, 68, 68, 0.15);
    
    --badge-bg: #2d3748;
    --badge-text: #cbd5e1;
    
    --button-bg: #2d3748;
    --button-text: #cbd5e1;
    --button-hover-bg: #3b82f6;
    --button-hover-text: #ffffff;
    
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 6px 10px -1px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.5);
    
    --skeleton-start: #2d3748;
    --skeleton-end: #4a5568;
    
    --scrollbar-track: #0f111a;
    --scrollbar-thumb: #2d3748;
    --scrollbar-thumb-hover: #4a5568;
    
    --overlay: rgba(0, 0, 0, 0.7);
    --overlay-light: rgba(0,  0, 0, 0.2);
}

/* ===== BASE STYLES ===== */
html, body {
    overflow-x: hidden;
    width: 100%;
    height: 100%;
    position: relative;
    touch-action: pan-y;
    margin: 0;
    padding: 0;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    scroll-behavior: smooth;
}

#root {
    position: relative;
    z-index: 1;
    min-height: 100vh;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-primary);
    transition: color 0.3s ease;
}

p, span, div {
    transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

.gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ===== BACKGROUND BLOBS ===== */
.blob {
    filter: blur(60px);
    position: fixed;
    z-index: 0;
    border-radius: 50%;
    pointer-events: none;
    background: var(--bg-blob);
    transition: background 0.3s ease;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 8px;
    height: 4px;
}

::-webkit-scrollbar-track {
    background: var(--scrollbar-track);
    transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb {
    background: var(--scrollbar-thumb);
    border-radius: 10px;
    transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--scrollbar-thumb-hover);
}

/* ===== UTILITY CLASSES ===== */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* ===== ANIMATIONS ===== */
.modal-enter {
    animation: modalIn 0.3s ease-out forwards;
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* ===== NAVBAR ===== */
.navbar {
    background-color: var(--bg-navbar);
    border-bottom: 1px solid var(--border-color);
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.navbar-logo {
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.navbar-menu {
    background-color: var(--bg-sidebar);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
}

.navbar-link {
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.navbar-link:hover {
    color: var(--accent);
}

.navbar-link.active {
    color: var(--accent);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--accent);
    color: white;
    box-shadow: 0 4px 6px -1px var(--accent-soft);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px var(--accent-soft);
}

.btn-secondary {
    background-color: var(--button-bg);
    color: var(--button-text);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background-color: var(--button-hover-bg);
    color: var(--button-hover-text);
    border-color: var(--accent);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    background-color: var(--accent-soft);
}

.btn-danger {
    background-color: var(--danger);
    color: white;
}

.btn-danger:hover {
    background-color: #dc2626;
    transform: translateY(-2px);
}

.btn-success {
    background-color: var(--success);
    color: white;
}

.btn-success:hover {
    background-color: #059669;
    transform: translateY(-2px);
}

.btn-icon {
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 10px;
    background-color: var(--button-bg);
    color: var(--button-text);
    border: 1px solid var(--border-color);
}

.btn-icon:hover {
    background-color: var(--accent);
    color: white;
    border-color: var(--accent);
}

/* ===== CARDS ===== */
.card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.card:hover {
    background-color: var(--bg-hover);
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.card-header {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.card-body {
    padding: 1.5rem;
}

.card-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--border-color);
}

/* ===== PRODUCT CARD ===== */
.product-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 32px;
    transition: all 0.3s ease;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.product-card:hover {
    background-color: var(--bg-hover);
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.product-image {
    background-color: var(--bg-secondary);
    transition: all 0.5s ease;
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background-color: var(--badge-bg);
    color: var(--badge-text);
    transition: all 0.3s ease;
}

.product-card:hover .product-badge {
    background-color: var(--accent);
    color: white;
}

.product-title {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 1rem;
    margin-bottom: 0.25rem;
    transition: color 0.3s ease;
}

.product-card:hover .product-title {
    color: var(--accent);
}

.product-price {
    color: var(--text-primary);
    font-size: 1.125rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.product-card:hover .product-price {
    color: var(--accent);
}

.product-price-label {
    color: var(--text-light);
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ===== CATEGORY PILLS ===== */
.category-pill {
    padding: 0.5rem 1.5rem;
    border-radius: 9999px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
    transition: all 0.3s ease;
    background-color: var(--bg-card);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

.category-pill:hover {
    border-color: var(--accent);
    color: var(--accent);
    background-color: var(--accent-soft);
}

.category-pill.active {
    background-color: var(--accent) !important;
    color: white !important;
    border-color: var(--accent) !important;
    box-shadow: 0 0 15px var(--accent-soft);
    transform: translateY(-2px);
}

/* ===== SEARCH BAR ===== */
.search-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.search-input {
    width: 100%;
    padding: 1rem 1.5rem;
    border-radius: 1rem;
    background-color: var(--bg-input);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-soft);
}

.search-input::placeholder {
    color: var(--text-light);
}

.search-reset {
    position: absolute;
    right: 2.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 700;
    transition: color 0.3s ease;
}

.search-reset:hover {
    color: var(--text-primary);
}

/* ===== STAR RATING ===== */
.star-rating {
    display: flex;
    gap: 6px;
    flex-direction: row-reverse;
    justify-content: flex-end;
}

.star-rating input {
    display: none;
}

.star-rating label {
    font-size: 28px;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.15s ease;
}

.star-rating label:hover,
.star-rating label:hover ~ label,
.star-rating input:checked ~ label {
    color: #f59e0b;
    transform: scale(1.15);
}

/* ===== REVIEW SECTION ===== */
.review-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 25px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.review-card:hover {
    background-color: var(--bg-hover);
    border-color: var(--accent-soft);
}

.review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 40px;
    object-fit: cover;
    border: 2px solid var(--accent);
    background: var(--bg-card);
}

.review-name {
    color: var(--accent);
    font-weight: 700;
    font-style: italic;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

.review-date {
    color: var(--text-light);
    font-size: 0.7rem;
    font-weight: 700;
}

.review-text {
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.6;
    margin-left: 2.75rem;
}

/* ===== PROFILE ===== */
.profile-avatar {
    width: 48px;
    height: 48px;
    border-radius: 48px;
    object-fit: cover;
    border: 2px solid var(--accent);
    background: var(--bg-card);
    transition: all 0.3s ease;
    cursor: pointer;
}

.profile-avatar:hover {
    border-color: var(--text-primary);
    transform: scale(1.05);
}

.profile-name {
    color: var(--text-primary);
    font-weight: 700;
    font-size: 0.875rem;
    max-width: 80px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.profile-label {
    color: var(--accent);
    font-size: 0.6rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ===== MODALS ===== */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background-color: var(--overlay);
    backdrop-filter: blur(8px);
}

.modal-content {
    background-color: var(--bg-modal);
    border: 1px solid var(--border-color);
    border-radius: 40px;
    padding: 2rem;
    max-width: 500px;
    width: 100%;
    position: relative;
    box-shadow: var(--shadow-xl);
}

.modal-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    color: var(--text-light);
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: var(--text-primary);
}

.modal-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

/* ===== AUTH MODAL ===== */
.auth-input {
    width: 100%;
    padding: 1rem;
    border-radius: 1rem;
    background-color: var(--bg-input);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.auth-input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-soft);
}

.auth-divider {
    position: relative;
    display: flex;
    align-items: center;
    margin: 1.5rem 0;
}

.auth-divider-line {
    flex-grow: 1;
    border-top: 1px solid var(--border-color);
}

.auth-divider-text {
    flex-shrink: 0;
    margin: 0 1rem;
    color: var(--text-light);
    font-size: 0.75rem;
    font-weight: 700;
}

/* ===== SOCIAL BUTTONS ===== */
.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.75rem;
    border-radius: 0.75rem;
    border: 1px solid var(--border-color);
    background-color: var(--bg-card);
    color: var(--text-primary);
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.social-btn:hover {
    background-color: var(--bg-hover);
    transform: translateY(-2px);
}

.social-btn.google:hover {
    border-color: #ea4335;
    background-color: rgba(234, 67, 53, 0.05);
}

.social-btn.facebook:hover {
    border-color: #1877f2;
    background-color: rgba(24, 119, 242, 0.05);
}

.social-btn.github:hover {
    border-color: #6e40c9;
    background-color: rgba(110, 64, 201, 0.05);
}

/* ===== PAYMENT MODAL ===== */
.method-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 1rem;
    border-radius: 1rem;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    transition: all 0.3s ease;
    cursor: pointer;
}

.method-btn:hover {
    border-color: var(--accent);
    background-color: var(--bg-hover);
}

.method-radio {
    width: 1rem;
    height: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.method-btn:hover .method-radio {
    border-color: var(--accent);
}

/* ===== FOLDER MODAL ===== */
.folder-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem;
    border-radius: 1.5rem;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.folder-item:hover {
    background-color: var(--bg-hover);
    border-color: var(--accent-soft);
}

.folder-name {
    color: var(--text-primary);
    font-size: 1.125rem;
    font-weight: 800;
}

.folder-desc {
    color: var(--text-light);
    font-size: 0.75rem;
}

.folder-price {
    color: var(--accent);
    font-size: 1.25rem;
    font-weight: 800;
}

/* ===== ADMIN TABLE ===== */
.admin-table {
    width: 100%;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 1.5rem;
    overflow: hidden;
}

.admin-table th {
    background-color: var(--bg-hover);
    color: var(--text-light);
    font-size: 0.6rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.75rem 1rem;
}

.admin-table td {
    padding: 0.75rem 1rem;
    color: var(--text-secondary);
    font-size: 0.75rem;
    border-bottom: 1px solid var(--border-color);
}

.admin-table tr:hover {
    background-color: var(--bg-hover);
}

/* ===== BADGES ===== */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.5rem;
    border-radius: 9999px;
    font-size: 0.7rem;
    font-weight: 700;
    transition: all 0.3s ease;
}

.badge-admin {
    background-color: var(--danger-soft);
    color: var(--danger);
    border: 1px solid var(--danger-soft);
}

.badge-user {
    background-color: var(--bg-hover);
    color: var(--text-light);
    border: 1px solid var(--border-color);
}

.badge-success {
    background-color: var(--success-soft);
    color: var(--success);
}

.badge-warning {
    background-color: var(--warning-soft);
    color: var(--warning);
}

/* ===== STATS CARD ===== */
.stats-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 1.25rem;
    transition: all 0.3s ease;
}

.stats-card:hover {
    background-color: var(--bg-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.stats-label {
    color: var(--text-light);
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stats-value {
    color: var(--text-primary);
    font-size: 1.25rem;
    font-weight: 800;
}

/* ===== SKELETON LOADING ===== */
.skeleton-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 32px;
    padding: 0.75rem;
}

.skeleton-image {
    height: 176px;
    background: linear-gradient(90deg, var(--skeleton-start) 25%, var(--skeleton-end) 50%, var(--skeleton-start) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 24px;
}

.skeleton-line {
    height: 20px;
    background: linear-gradient(90deg, var(--skeleton-start) 25%, var(--skeleton-end) 50%, var(--skeleton-start) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 8px;
    margin: 8px 0;
}

.skeleton-line.short {
    width: 60%;
}

/* ===== FOOTER ===== */
.footer {
    background-color: var(--bg-navbar);
    border-top: 1px solid var(--border-color);
    backdrop-filter: blur(8px);
    padding: 3rem 0;
    margin-top: 5rem;
}

.footer-text {
    color: var(--text-light);
    font-size: 0.8rem;
}

.footer-link {
    color: var(--text-light);
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--accent);
}

/* ===== HEADER ===== */
.header-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}

.header-title {
    color: var(--text-primary);
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .header-title {
        font-size: 4.5rem;
    }
}

.header-subtitle {
    color: var(--text-secondary);
    font-size: 1.125rem;
    max-width: 42rem;
    margin: 0 auto;
}

/* ===== BANNER ===== */
.announcement-banner {
    background-color: var(--accent);
    color: white;
    padding: 0.5rem 1rem;
    text-align: center;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow);
}

/* ===== ERROR BOUNDARY ===== */
.error-boundary {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background-color: var(--bg-primary);
}

.error-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 2rem;
    padding: 2rem;
    max-width: 400px;
    text-align: center;
    box-shadow: var(--shadow-xl);
}

.error-icon {
    width: 80px;
    height: 80px;
    background-color: var(--danger-soft);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--danger);
}

.error-title {
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.error-message {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 2rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .profile-avatar {
        width: 40px;
        height: 40px;
    }
    
    .review-avatar {
        width: 36px;
        height: 36px;
    }
    
    .modal-content {
        padding: 1.5rem;
    }
    
    .modal-title {
        font-size: 2rem;
    }
    
    .header-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 640px) {
    .product-card {
        border-radius: 24px;
    }
    
    .product-image {
        height: 160px;
    }
    
    .product-title {
        font-size: 0.875rem;
    }
    
    .product-price {
        font-size: 1rem;
    }
}