:root {
    --primary: #1E6FD9;
    --primary-light: #E9F2FF;
    --secondary: #0F172A;
    --text: #1E293B;
    --text-muted: #64748B;
    --bg-white: #FFFFFF;
    --bg-light: #F8FAFC;
    --white: #FFFFFF;
    --live: #FF4D4D;
    --trending: #E0F2FE;
    --trending-text: #0369A1;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --container: 1280px;
    --shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--bg-white);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 50px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.section-header p {
    color: var(--text-muted);
}

/* Buttons */
.btn-primary {
    background: #1E6FD9;
    color: white;
    padding: 12px 28px;
    border-radius: 10px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    box-shadow: 0 4px 15px rgba(30, 111, 217, 0.3);
    transform: translateY(-2px);
}

.btn-secondary {
    background: white;
    color: var(--text);
    padding: 10px 24px;
    border-radius: var(--radius-sm);
    border: 1px solid #E2E8F0;
    font-weight: 600;
}

.btn-text {
    font-weight: 600;
    color: #1E6FD9;
    font-size: 0.95rem;
    padding: 10px 20px;
    text-transform: uppercase;
    transition: 0.3s;
    background: #F1F5F9;
    border-radius: 10px;
}


.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn-outline-primary {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    width: 100%;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

.btn-outline-primary:hover {
    background: var(--primary);
    color: white;
}

/* Header */
.header {
    height: auto;
    padding: 20px 0;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header .container {
    max-width: 1080px;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.5rem;
    font-weight: 800;
    color: #0F172A;
}

.logo i {
    color: var(--primary);
}

.logo span span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 30px;
    margin-left: 60px;
    margin-right: 40px;
}

.nav-links li a {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.nav-links li a.active,
.nav-links li a:hover {
    color: var(--primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 80px 0;
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
}

.grid-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 50% 50%, rgba(30, 111, 217, 0.03) 0%, transparent 60%),
        linear-gradient(rgba(30, 111, 217, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(30, 111, 217, 0.05) 1px, transparent 1px);
    background-size: 100% 100%, 40px 40px, 40px 40px;
    z-index: -1;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.trusted-badge {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: var(--bg-light);
    padding: 4px 16px 4px 4px;
    border-radius: 50px;
    margin-bottom: 30px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid #E2E8F0;
}

.avatars {
    display: flex;
}

.avatars img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid white;
    margin-right: -10px;
}

.trusted-badge .highlight {
    color: var(--primary);
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 25px;
    color: #0F172A;
}

.hero-content h1 span {
    color: var(--primary);
    position: relative;
    display: inline-block;
}

/* Calligraphy Underline Effect */
.highlight-text {
    position: relative;
    display: inline-block;
}

.highlight-text::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 5px;
    width: 0;
    /* Start width at 0 */
    height: 8px;
    background-color: var(--primary);
    border-radius: 50% 10% 40% 20% / 10% 40% 20% 50%;
    transform: rotate(-2deg);
    opacity: 0.8;
    animation: drawUnderline 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    animation-delay: 0.5s;
}

@keyframes drawUnderline {
    0% {
        width: 0;
        opacity: 0;
    }

    100% {
        width: 100%;
        opacity: 0.8;
    }
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 500px;
    margin-bottom: 40px;
}

.features-badges {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.features-badges .badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 0.8rem;
    color: #0F172A;
}

.features-badges .badge i {
    color: #FAB005;
}

.hero-actions {
    display: flex;
    gap: 20px;
}

/* Hero Auction Card */
.auction-card-main {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-lg);
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.1);
    position: relative;
    max-width: 450px;
    margin-left: auto;
}

.card-status {
    background: rgba(255, 255, 255, 0.9);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    position: absolute;
    top: 40px;
    left: 40px;
    z-index: 10;
    color: var(--live);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.live-dot {
    width: 6px;
    height: 6px;
    background: var(--live);
    border-radius: 50%;
    animation: blink 1s infinite;
}

@keyframes blink {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }

    100% {
        opacity: 1;
    }
}

.card-image {
    background: #F1F5F9;
    border-radius: var(--radius-md);
    padding: 40px;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
    height: 280px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card-image img {
    height: 100%;
    object-fit: contain;
}

.timer {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.3);
    color: white;
    padding: 6px 12px;
    border-radius: 50px;
    font-weight: 600;
    backdrop-filter: blur(5px);
    font-size: 0.85rem;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.card-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
}

.trending-tag {
    background: var(--trending);
    color: var(--trending-text);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 800;
}

.bid-stats {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #F1F5F9;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.stat .label {
    display: block;
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.stat .value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
}

.bid-history {
    margin-bottom: 25px;
}

.bid-history p {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.history-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
}

.history-item:last-child .user-avatar {
    background: #CBD5E1;
}

.user-info .name {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
}

.user-info .time {
    display: block;
    font-size: 0.7rem;
    color: var(--text-muted);
}

.bid-value {
    margin-left: auto;
    text-align: right;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
}

.bid-value small {
    display: block;
    color: #10B981;
    font-size: 0.65rem;
}

.btn-bid {
    width: 100%;
    background: linear-gradient(to right, #1E6FD9, #159BC1);
    color: white;
    border: none;
    padding: 16px;
    border-radius: var(--radius-md);
    font-weight: 800;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.3s;
}

.btn-bid:hover {
    box-shadow: 0 10px 20px rgba(30, 111, 217, 0.3);
}

.rating-badge {
    position: absolute;
    bottom: -30px;
    left: -30px;
    background: white;
    padding: 15px 25px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.star-icon {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.rating-badge .rate {
    display: block;
    font-weight: 800;
    font-size: 1.1rem;
}

.rating-badge .desc {
    display: block;
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--text-muted);
}

/* Category Grid */
.category-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.cat-item {
    background: var(--bg-light);
    padding: 30px 20px;
    border-radius: var(--radius-md);
    text-align: center;
    transition: 0.3s;
    border: 1px solid transparent;
}

.cat-item i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
    display: block;
}

.cat-item span {
    font-weight: 700;
    font-size: 0.9rem;
}

.cat-item:hover {
    background: white;
    box-shadow: var(--shadow);
    border-color: var(--primary-light);
    transform: translateY(-5px);
}

/* Filter Bar */
.filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-light);
    padding: 20px;
    border-radius: var(--radius-md);
    margin-top: 40px;
    margin-bottom: 40px;
}

.search-box {
    flex: 1;
    display: flex;
    align-items: center;
    background: white;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    margin-right: 30px;
}

.search-box i {
    color: var(--text-muted);
    margin-right: 10px;
}

.search-box input {
    border: none;
    outline: none;
    width: 100%;
    font-size: 0.9rem;
}

.status-tabs {
    display: flex;
    gap: 10px;
}

.tab-btn {
    padding: 10px 20px;
    border: none;
    background: transparent;
    font-weight: 700;
    font-size: 0.8rem;
    cursor: pointer;
    border-radius: var(--radius-sm);
    color: var(--text-muted);
}

.tab-btn.active {
    background: white;
    color: var(--primary);
    box-shadow: var(--shadow);
}

.sort-box select {
    padding: 10px 15px;
    border: 1px solid #E2E8F0;
    border-radius: var(--radius-sm);
    outline: none;
    font-weight: 600;
}

/* Product Cards */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.product-card {
    background: white;
    border-radius: var(--radius-md);
    border: 1px solid #F1F5F9;
    padding: 15px;
    position: relative;
    transition: 0.3s;
}

.product-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-5px);
}

.badge-live {
    position: absolute;
    top: 25px;
    left: 25px;
    background: var(--live);
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 800;
    z-index: 5;
}

.product-img {
    background: #F8FAFC;
    border-radius: var(--radius-sm);
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    overflow: hidden;
}

.product-img img {
    height: 80%;
    object-fit: contain;
    transition: 0.5s;
}

.product-card:hover .product-img img {
    transform: scale(1.1);
}

.product-content h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.product-bid-info {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 20px;
}

.product-bid-info .label {
    display: block;
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 2px;
}

.product-bid-info .price {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary);
}

.timer-box {
    text-align: right;
}

.product-timer {
    font-weight: 700;
    font-size: 0.9rem;
    background: var(--primary-light);
    color: var(--primary);
    padding: 4px 10px;
    border-radius: 4px;
    display: inline-block;
}

/* Affiliate Cards */
.aff-card {
    background: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: 0.3s;
}

.aff-card .product-img {
    margin: 0;
    border-radius: 0;
}

.aff-card .product-content {
    padding: 20px;
}

.aff-price {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.btn-aff {
    width: 100%;
    padding: 10px;
    border: 1px solid #E2E8F0;
    background: white;
    font-weight: 700;
    cursor: pointer;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-aff:hover {
    background: #F1F5F9;
}

/* Steps */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.step-card {
    text-align: center;
}

.step-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 auto 20px;
}

.step-card h3 {
    margin-bottom: 10px;
}

.step-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Footer */
.footer {
    background: var(--secondary);
    color: white;
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
    padding-bottom: 80px;
}

.footer-brand .logo.light {
    color: white;
    margin-bottom: 25px;
}

.footer-brand p {
    color: #94A3B8;
    margin-bottom: 25px;
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.social-links a:hover {
    background: var(--primary);
}

.footer-links h4,
.footer-newsletter h4 {
    font-size: 1.1rem;
    margin-bottom: 25px;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: #94A3B8;
    font-size: 0.9rem;
}

.footer-links ul li a:hover {
    color: white;
}

.footer-newsletter p {
    color: #94A3B8;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 15px;
    border-radius: var(--radius-sm);
    outline: none;
    color: white;
    flex: 1;
}

.newsletter-form button {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0 20px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    cursor: pointer;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 30px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: #475569;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .hero-visual {
        margin-top: 50px;
    }

    .auction-card-main {
        margin: 0 auto;
    }

    .category-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .steps-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* Auth Pages */
.auth-body {
    background-color: #F8FAFC;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.auth-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(30, 111, 217, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(30, 111, 217, 0.05) 0%, transparent 40%);
}

.auth-card {
    background: white;
    width: 100%;
    max-width: 500px;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-header h2 {
    font-size: 1.8rem;
    color: #0F172A;
    margin-bottom: 10px;
}

.auth-header p {
    color: #64748B;
    font-size: 0.95rem;
}

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

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #334155;
    font-size: 0.9rem;
}

.form-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    font-size: 0.95rem;
    outline: none;
    transition: 0.3s;
    background: #F8FAFC;
}

.form-input:focus {
    border-color: #1E6FD9;
    background: white;
    box-shadow: 0 0 0 4px rgba(30, 111, 217, 0.1);
}

.role-selection {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.role-option {
    flex: 1;
    position: relative;
}

.role-option input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.role-card {
    border: 2px solid #E2E8F0;
    padding: 15px;
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    transition: 0.3s;
    background: white;
}

.role-card i {
    font-size: 1.5rem;
    color: #64748B;
    margin-bottom: 5px;
    display: block;
}

.role-card span {
    font-weight: 600;
    color: #64748B;
    font-size: 0.9rem;
}

.role-option input:checked+.role-card {
    border-color: #1E6FD9;
    background: #EFF6FF;
}

.role-option input:checked+.role-card i,
.role-option input:checked+.role-card span {
    color: #1E6FD9;
}

.btn-block {
    width: 100%;
    justify-content: center;
    padding: 14px;
    font-size: 1rem;
}

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

.divider::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: #E2E8F0;
}

.divider span {
    background: white;
    padding: 0 15px;
    color: #94A3B8;
    font-size: 0.85rem;
    position: relative;
    font-weight: 600;
}

.btn-google {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    background: white;
    color: #334155;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    margin-bottom: 15px;
}

.btn-google:hover {
    background: #F8FAFC;
    border-color: #CBD5E1;
}

.auth-footer {
    text-align: center;
    margin-top: 25px;
    font-size: 0.9rem;
    color: #64748B;
}

.auth-footer a {
    color: #1E6FD9;
    font-weight: 700;
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* Checkbox specific */
.form-check {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.form-check input {
    width: 18px;
    height: 18px;
    accent-color: #1E6FD9;
}

/* New Auth Layout Styles based on Mockup */
.auth-body-new {
    background-color: #F8FAFC;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    font-family: 'Inter', sans-serif;
}

.auth-container {
    background: white;
    width: 100%;
    max-width: 1200px;
    min-height: 700px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    display: flex;
    overflow: hidden;
    border: 1px solid #E2E8F0;
}

/* Sidebar Styling */
.auth-sidebar {
    width: 40%;
    background: #F8F9FB;
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    border-right: 1px solid #f1f5f9;
}

.sidebar-header {
    margin-bottom: 40px;
}

.logo-text {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.25rem;
    font-weight: 800;
    color: #0F172A;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 0.5px;
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: #1E6FD9;
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.sidebar-content h1 {
    font-size: 2rem;
    color: #0F172A;
    margin-bottom: 15px;
    line-height: 1.3;
}

.sidebar-desc {
    color: #64748B;
    margin-bottom: 40px;
    line-height: 1.6;
}

.role-selector {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Role Card Styling */
.role-card-new {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    border: 2px solid #E2E8F0;
    border-radius: 12px;
    background: #F1F5F9;
    cursor: pointer;
    transition: 0.3s ease;
    position: relative;
    opacity: 0.7;
}

.role-card-new.active,
.role-card-new:hover {
    border-color: #1E6FD9;
    background: white;
    box-shadow: 0 4px 12px rgba(30, 111, 217, 0.08);
    opacity: 1;
}

/* Hide radio input */
.role-card-new input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.role-card-new input:checked+.role-icon-box+.role-info .role-title {
    color: #0F172A;
}

/* Add border color when input checked via CSS sibling selector */
.role-card-new:has(input:checked) {
    border-color: #1E6FD9;
    background: white;
    box-shadow: 0 4px 12px rgba(30, 111, 217, 0.08);
    opacity: 1;
}

.role-icon-box {
    width: 48px;
    height: 48px;
    background: #1E6FD9;
    color: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.role-card-new:nth-child(2) .role-icon-box {
    background: #E2E8F0;
    color: #64748B;
}

.role-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.role-title {
    font-weight: 700;
    color: #1E293B;
    font-size: 1rem;
}

.role-sub {
    font-size: 0.75rem;
    color: #64748B;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.sidebar-footer {
    margin-top: auto;
    font-size: 0.85rem;
    color: #94A3B8;
    line-height: 1.5;
}

/* Right Form Section Styling */
.auth-form-section {
    flex: 1;
    padding: 60px 80px;
    background: white;
    display: flex;
    flex-direction: column;
}

.form-wrapper {
    max-width: 480px;
    margin: 0 auto;
    width: 100%;
}

.form-header {
    margin-bottom: 30px;
}

.form-header h2 {
    font-size: 1.5rem;
    color: #0F172A;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-header p {
    color: #64748B;
    font-size: 0.95rem;
}

.new-auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group-new label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: #94A3B8;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.input-with-icon {
    position: relative;
}

.input-with-icon i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #94A3B8;
    font-size: 1.2rem;
    pointer-events: none;
    transition: 0.3s;
}

.input-with-icon input {
    width: 100%;
    padding: 14px 16px 14px 48px;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    font-size: 0.95rem;
    color: #334155;
    outline: none;
    transition: 0.3s;
}

.input-with-icon input:focus {
    background: white;
    border-color: #1E6FD9;
    box-shadow: 0 0 0 4px rgba(30, 111, 217, 0.1);
}

.input-with-icon:focus-within i {
    color: #1E6FD9;
}

.row-2-col {
    display: flex;
    gap: 20px;
}

.row-2-col .form-group-new {
    flex: 1;
}

.form-check-new {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 5px;
}

.form-check-new input {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    accent-color: #1E6FD9;
    border-radius: 4px;
    cursor: pointer;
    border: 1px solid #CBD5E1;
}

.form-check-new label {
    font-size: 0.9rem;
    color: #334155;
    line-height: 1.5;
    cursor: pointer;
}

.form-check-new label a {
    color: #1E6FD9;
    text-decoration: none;
    font-weight: 600;
}

.btn-submit-new {
    background: #107CC3;
    color: white;
    font-weight: 700;
    text-transform: uppercase;
    padding: 16px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 10px;
    letter-spacing: 0.5px;
}

.btn-submit-new:hover {
    background: #0D69A5;
    transform: translateY(-1px);
}

.divider-text {
    text-align: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: #94A3B8;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    margin: 10px 0;
}

.divider-text::before,
.divider-text::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 30%;
    height: 1px;
    background: #E2E8F0;
}

.divider-text::before {
    left: 0;
}

.divider-text::after {
    right: 0;
}

.btn-google-new {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: white;
    border: 1px solid #E2E8F0;
    padding: 14px;
    border-radius: 8px;
    font-weight: 700;
    color: #475569;
    text-transform: uppercase;
    font-size: 0.85rem;
    cursor: pointer;
    transition: 0.3s;
    letter-spacing: 0.5px;
}

.btn-google-new:hover {
    background: #F8FAFC;
    border-color: #CBD5E1;
}

.btn-google-new img {
    width: 20px;
    height: 20px;
}

.auth-redirect {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9rem;
    color: #64748B;
}

.auth-redirect a {
    color: #107CC3;
    font-weight: 700;
    text-decoration: underline;
}

/* Responsiveness for new auth */
@media (max-width: 900px) {
    .auth-container {
        flex-direction: column;
        max-width: 500px;
    }

    .auth-sidebar {
        width: 100%;
        padding: 40px;
        border-right: none;
        border-bottom: 1px solid #f1f5f9;
        height: auto;
    }

    .auth-form-section {
        padding: 40px;
    }
}

/* Category Cards */
.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    padding: 30px 20px;
    border-radius: var(--radius-md);
    text-align: center;
    transition: 0.3s;
    border: 1px solid transparent;
}

.category-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.category-card span {
    font-weight: 700;
    font-size: 0.9rem;
}

.category-card:hover {
    background: white;
    box-shadow: var(--shadow);
    border-color: var(--primary-light);
    transform: translateY(-5px);
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, var(--primary) 0%, #0D4A8A 100%);
    color: white;
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 30px;
}

.cta-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
}

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

.cta .btn-primary:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.cta .btn-secondary {
    background: transparent;
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
}

.cta .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.bg-light {
    background: var(--bg-light);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .category-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }

    .category-card {
        padding: 20px 15px;
    }

    .category-card i {
        font-size: 2rem;
    }

    .cta-content h2 {
        font-size: 1.8rem;
    }

    .cta-actions {
        flex-direction: column;
        align-items: center;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .auction-card-main {
        margin: 0 auto;
    }

    .filter-bar {
        flex-direction: column;
        gap: 15px;
    }

    .search-box {
        margin-right: 0;
        width: 100%;
    }

    .status-tabs {
        width: 100%;
        justify-content: center;
    }

    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }
}

/* ===========================================
   AUCTION SINGLE PAGE
   =========================================== */
.auction-single {
    padding: 40px 0 80px;
}

.auction-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

.auction-gallery .main-image {
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    padding: 40px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.auction-gallery .main-image img {
    max-height: 350px;
    object-fit: contain;
}

.auction-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
}

.auction-badge--live {
    background: #FEE2E2;
    color: #DC2626;
    animation: pulse 2s infinite;
}

.auction-badge--scheduled {
    background: #DBEAFE;
    color: #2563EB;
}

.auction-badge--ended,
.auction-badge--sold {
    background: #E5E7EB;
    color: #6B7280;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

.auction-category a {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.auction-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.3;
}

.auction-timer-box {
    background: var(--bg-light);
    padding: 20px;
    border-radius: var(--radius-md);
    margin-bottom: 25px;
}

.timer-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 10px;
    text-transform: uppercase;
}

.auction-countdown {
    display: flex;
    align-items: center;
    gap: 10px;
}

.countdown-item {
    text-align: center;
}

.countdown-value {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.countdown-unit {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 600;
}

.countdown-sep {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-muted);
}

.auction-ended-notice {
    background: #FEF3C7;
    color: #92400E;
    padding: 15px 20px;
    border-radius: var(--radius-md);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
}

.price-box {
    background: white;
    border: 1px solid #E5E7EB;
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 20px;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.price-row:not(:last-child) {
    border-bottom: 1px solid #F3F4F6;
}

.price-row .price-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
}

.price-row .price-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
}

.price-row--small .price-value {
    font-size: 1rem;
    color: var(--text);
}

.price-row--buynow {
    margin-top: 10px;
    padding-top: 15px;
    border-top: 2px dashed #E5E7EB;
}

.price-row--buynow .price-value {
    color: #10B981;
}

.auction-stats {
    display: flex;
    gap: 30px;
    margin-bottom: 25px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.stat-item i {
    font-size: 1.2rem;
    color: var(--primary);
}

/* Bid Form */
.bid-form-box {
    background: var(--bg-light);
    border-radius: var(--radius-md);
    padding: 25px;
}

.bid-form .bid-input-group {
    margin-bottom: 15px;
}

.bid-form .bid-input-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text);
}

.bid-input-wrapper {
    display: flex;
    align-items: center;
    background: white;
    border: 2px solid #E5E7EB;
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.bid-input-wrapper input {
    flex: 1;
    border: none;
    padding: 15px;
    font-size: 1.25rem;
    font-weight: 700;
    outline: none;
}

.bid-input-wrapper .currency {
    padding: 15px;
    background: var(--bg-light);
    font-weight: 700;
    color: var(--text-muted);
}

.bid-quick-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.quick-bid {
    flex: 1;
    padding: 10px;
    border: 1px solid #E5E7EB;
    background: white;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    transition: 0.2s;
}

.quick-bid:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-bid-submit {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, var(--primary), #0D5BB5);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: 0.3s;
}

.btn-bid-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(30, 111, 217, 0.3);
}

.btn-bid-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.buy-now-divider {
    text-align: center;
    margin: 15px 0;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.btn-buy-now {
    width: 100%;
    padding: 14px;
    background: white;
    border: 2px solid #10B981;
    color: #10B981;
    border-radius: var(--radius-sm);
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: 0.3s;
}

.btn-buy-now:hover {
    background: #10B981;
    color: white;
}

.login-required {
    text-align: center;
    padding: 30px;
}

.login-required i {
    font-size: 3rem;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.login-required p {
    margin-bottom: 20px;
    color: var(--text-muted);
}

.winner-box {
    background: linear-gradient(135deg, #FEF3C7, #FDE68A);
    padding: 30px;
    border-radius: var(--radius-md);
    text-align: center;
}

.winner-box i {
    font-size: 3rem;
    color: #F59E0B;
    margin-bottom: 10px;
}

.winner-box p {
    color: #92400E;
    margin-bottom: 5px;
}

.winner-box strong {
    font-size: 1.25rem;
    color: #78350F;
}

/* Bid History */
.bid-history-section {
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    padding: 30px;
    margin-bottom: 40px;
}

.bid-history-section h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 1.25rem;
}

.bid-history-section h3 i {
    color: var(--primary);
}

.bid-history-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: white;
    border-radius: var(--radius-sm);
    margin-bottom: 10px;
}

.bid-history-item.new {
    animation: slideIn 0.3s ease;
    border-left: 3px solid var(--primary);
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.bidder-avatar {
    width: 45px;
    height: 45px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.bidder-info {
    flex: 1;
}

.bidder-name {
    display: block;
    font-weight: 700;
    margin-bottom: 2px;
}

.bid-time {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.bid-history-item .bid-amount {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--primary);
}

.bid-history-empty {
    text-align: center;
    padding: 40px;
    color: var(--text-muted);
}

/* Auction Description */
.auction-description {
    background: white;
    border: 1px solid #E5E7EB;
    border-radius: var(--radius-lg);
    padding: 30px;
}

.auction-description h3 {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #E5E7EB;
}

.description-content {
    line-height: 1.8;
}

/* ===========================================
   AUCTION ARCHIVE PAGE
   =========================================== */
.archive-header {
    text-align: center;
    margin-bottom: 40px;
}

.archive-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.archive-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.category-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.category-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--bg-light);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: 0.2s;
    border: 1px solid transparent;
}

.category-chip:hover,
.category-chip.active {
    background: var(--primary-light);
    color: var(--primary);
    border-color: var(--primary);
}

.category-chip i {
    font-size: 1.1rem;
}

.no-auctions {
    text-align: center;
    padding: 80px 20px;
    background: var(--bg-light);
    border-radius: var(--radius-lg);
}

.no-auctions i {
    font-size: 4rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.no-auctions h3 {
    margin-bottom: 10px;
}

.no-auctions p {
    color: var(--text-muted);
    margin-bottom: 25px;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 50px;
}

.pagination a,
.pagination span {
    padding: 10px 15px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    transition: 0.2s;
}

.pagination a {
    background: var(--bg-light);
}

.pagination a:hover {
    background: var(--primary-light);
    color: var(--primary);
}

.pagination .current {
    background: var(--primary);
    color: white;
}

/* Product Card Enhancements */
.product-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.product-meta i {
    margin-right: 5px;
}

.product-timer.scheduled {
    background: #DBEAFE;
    color: #2563EB;
}

.product-timer.ended {
    background: #F3F4F6;
    color: #6B7280;
}

/* Responsive Auction */
@media (max-width: 992px) {
    .auction-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .auction-title {
        font-size: 1.5rem;
    }

    .countdown-value {
        font-size: 1.5rem;
    }

    .bid-quick-buttons {
        flex-wrap: wrap;
    }

    .quick-bid {
        flex: 1 1 45%;
    }

    .auction-stats {
        flex-direction: column;
        gap: 10px;
    }
}