:root {
    --primary-glow: #000000;
    --secondary-glow: #333333;
    --bg-dark: #ffffff;
    --text-light: #0a0a0a;
    --text-dim: #64748b;
    --card-bg: #ffffff;
    --accent: #000000;
}

body {
    background: #ffffff;
    color: var(--text-light);
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    min-height: 100vh;
}

.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 100px);
    padding: 20px;
}

.auth-card {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 24px;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: #000000;
}

.subtitle {
    color: var(--text-dim);
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-dim);
}

.form-control {
    width: 100%;
    box-sizing: border-box;
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 16px;
    border-radius: 12px;
    color: #fff;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-glow);
    box-shadow: 0 0 0 4px rgba(0, 210, 255, 0.1);
    outline: none;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.btn-primary-glow {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-glow), var(--secondary-glow));
    border: none;
    padding: 16px;
    border-radius: 12px;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-primary-glow:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    filter: brightness(1.1);
}

.btn-seller-outline {
    display: block;
    width: 100%;
    box-sizing: border-box;
    background: transparent;
    border: 2px solid #000000;
    padding: 13px 14px;
    border-radius: 12px;
    color: #000000;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 12px;
    text-align: center;
    text-decoration: none;
    font-size: inherit;
    font-family: inherit;
}

.btn-seller-outline:hover {
    background: #000000;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.auth-divider {
    position: relative;
    text-align: center;
    margin: 25px 0;
}

.auth-divider::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.auth-divider span {
    background: #ffffff;
    padding: 0 10px;
    color: var(--text-dim);
    font-size: 0.75rem;
    position: relative;
}

.btn-google {
    width: 100%;
    background: #fff;
    color: #1e293b;
    border: none;
    padding: 12px;
    border-radius: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.auth-footer {
    text-align: center;
    margin-top: 25px;
    color: var(--text-dim);
    font-size: 0.875rem;
}

.auth-footer a {
    color: var(--primary-glow);
    text-decoration: none;
    font-weight: 600;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox-group input {
    width: 18px;
    height: 18px;
    background: transparent;
    border: 1px solid var(--text-dim);
}

/* Skeleton Shimmer Effect */
.skeleton {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.03) 25%, rgba(255, 255, 255, 0.08) 50%, rgba(255, 255, 255, 0.03) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite linear;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    height: 350px;
}

.skeleton-img { height: 200px; background: rgba(255,255,255,0.05); margin: 10px; border-radius: 12px; }
.skeleton-text { height: 20px; background: rgba(255,255,255,0.05); margin: 20px 10px; border-radius: 4px; width: 80%; }
.skeleton-btn { height: 40px; background: rgba(255,255,255,0.05); margin: 10px; border-radius: 8px; }

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

/* Pagination Adjustments */
#product-grid-container {
    min-height: 500px;
}

.load-more-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    padding-bottom: 60px;
}

/* ══ AUTH & GLOBAL MOBILE RESPONSIVENESS ══════════════════════ */
@media (max-width: 576px) {
    .auth-container { padding: 15px; }
    .auth-card { padding: 30px 20px; border-radius: 20px; }
    h2 { font-size: 1.8rem; }
    .form-row { display: block; }
    .btn-primary-glow, .btn-seller-outline { font-size: 0.9rem; padding: 12px; font-weight: 800; }
}

.btn-seller-login { 
    display: flex; align-items: center; justify-content: center; width: 100%; box-sizing: border-box;
    padding: 16px; margin-top: 15px; border-radius: 12px; font-weight: 800; 
    text-transform: uppercase; letter-spacing: 1px; font-size: 0.85rem; 
    background: transparent; border: 2px solid #000; color: #000;
    text-decoration: none; transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.btn-seller-login:hover { 
    background: #000; color: #fff; 
    transform: translateY(-2px); 
    box-shadow: 0 10px 20px rgba(0,0,0,0.1); 
}
.btn-seller-login i { transition: transform 0.3s ease; }
.btn-seller-login:hover i { transform: translateX(5px); }
