@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Italianno&display=swap');

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "Inter", sans-serif;
}

html,
body {
    min-height: 100%;
    margin: 0;
    height: fit-content;
}

main {
    flex: 1;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1rem;
}

:root {
    /* Palette */
    --c-slate-50: #f8fafc;
    --c-slate-100: #f1f5f9;
    --c-slate-200: #e2e8f0;
    --c-slate-300: #cbd5e1;
    --c-slate-400: #94a3b8;
    --c-slate-500: #64748b;
    --c-slate-600: #475569;
    --c-slate-700: #334155;
    --c-slate-800: #1e293b;
    --c-slate-900: #0f172a;
    --c-white: #ffffff;
    --c-red: #ef4444;
    /* Brand Colors (Lime) */
    --c-accent: #84cc16;
    --c-accent-hover: #65a30d;
    --c-accent-light: #ecfccb;
    --c-accent-dim: #d9f99d;
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lift: 0 20px 50px -12px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 20px rgba(132, 204, 22, 0.25);
    /* Fonts */
    --font-sans: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

.pulse-dot {
    width: 0.5rem;
    height: 0.5rem;
    background-color: var(--c-accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

/* --- BUTTONS --- */
a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 700;
    font-size: 0.875rem;
    transition: all 0.2s;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--c-slate-900);
    color: var(--c-white);
    box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
    background-color: var(--c-slate-800);
    transform: translateY(-1px);
}

.btn-accent {
    background-color: var(--c-accent);
    color: var(--c-white);
    box-shadow: var(--shadow-glow);
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn-accent:hover {
    background-color: var(--c-accent-hover);
}

.btn-outline {
    background-color: var(--c-white);
    border: 1px solid var(--c-slate-200);
    color: var(--c-slate-700);
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn-outline:hover {
    border-color: var(--c-slate-300);
    background-color: var(--c-slate-50);
}

.btn-ghost {
    color: var(--c-slate-400);
    padding: 0.5rem;
    border-radius: 9999px;
}

.btn-ghost:hover {
    color: var(--c-slate-900);
    background-color: var(--c-slate-100);
}

/* Start of old layout */
:root {
    /* Core palette  */
    --bg: #f7faf7;
    /* page background with a hint of green */
    --panel: #ffffff;
    /* cards */
    --text: #101418;
    /* primary text */
    --muted: #546070;
    /* secondary text */
    --line: #e5ecf2;
    /* subtle lines */
    --icon-colour: #64c12e68;
    --brand: #65c12e;
    /* QuipVault green */
    --brand-700: #4aa01e;
    --brand-50: #f0f8e9;
    --secondary-50: #65c12e;
    --primary-color: #244e15;
}

h1,
h2,
h3 {
    font-family: 'Roboto Condensed', sans-serif;
}

h2 {
    font-size: 2rem;
}

p {
    font-size: 0.95rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.4s;
}

.light-green-btn {
    padding: 0.5rem 2rem;
    background: #59a600;
    color: white;
    border: none;
    border-radius: 24px;
    font-size: 1rem;
    cursor: pointer;
}

.green-btn {
    background-color: var(--primary-color);
    color: white;
    display: inline-block;
    padding: 0.75rem;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
}

.green-btn:hover {
    background-color: #2e621c;
}

.green-link {
    color: #244e15;
    text-decoration: underline;
}

.btn:hover {
    background-color: #2e621c;
}

.btn-secondary {
    background: transparent;
    border: 1px solid #244e15;
    color: #244e15;
    padding: 0.6rem 1rem;
    border-radius: 6px;
    font-weight: bold;
    text-decoration: none;
}

.btn-secondary:hover {
    background: #e9efe7;
}

.btn-white {
    background-color: #ffffff;
    color: #244e15;
    padding: 0.6rem 1rem;
    border-radius: 6px;
    font-weight: bold;
    text-decoration: none;
}

.hidden {
    visibility: hidden;
}

.main-box {
    max-width: 800px;
    margin: 0rem auto;
}

.text-danger {
    color: darkred;
}

/* Navigation */

.qv-logo {
    height: 90%;
    width: auto;
    margin-left: 8px;
    object-fit: contain;
}

.nav-logo-group {
    display: flex;
    align-items: center;
    font-weight: 800;
    font-size: 1.25rem;
    height: 100%;
}

.nav-logo-group a {
    height: 100%;
    display: flex;
    align-items: center;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.slogan {
    color: #555;
    margin-left: 20px;
    font-size: 1.6em;
    display: none;
    font-weight: 100;
    font-family: "Italianno";
}

@media (min-width: 640px) {

    .slogan {
        display: block;
    }
}

.navbar {
    position: static;
    top: 0;
    width: 100%;
    z-index: 50;
    background: rgba(255, 255, 255, 1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    height: 5rem;
    display: flex;
    align-items: center;
}

.navbar-sticky {
    position: sticky;
    animation: slideDown 0.3s ease-in-out;
    animation-fill-mode: forwards;
}

@media (min-width: 768px) {
    .navbar {
        height: 6rem;
    }
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 100%;
}



.text-accent {
    color: var(--c-accent);
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--c-slate-600);
}

.nav-links a:hover {
    color: var(--c-accent);
}

.nav-divider {
    height: 1.5rem;
    width: 1px;
    background-color: var(--c-slate-200);
}

.desktop-nav {
    display: none;
}

@media (min-width: 768px) {
    .desktop-nav {
        display: flex;
        align-items: center;
        gap: 2rem;
    }
}



* Mobile Nav Styles */ .mobile-toggle {
    display: block;
    padding: 0.5rem;
    color: var(--c-slate-600);
    border-radius: 0.5rem;
    transition: background-color 0.2s;
}

.mobile-toggle:hover {
    background-color: var(--c-slate-100);
}

@media (min-width: 768px) {
    .mobile-toggle {
        display: none;
    }
}

.mobile-menu {
    position: fixed;
    top: 5rem;
    left: 0;
    width: 100%;
    background: var(--c-white);
    border-bottom: 1px solid var(--c-slate-200);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    box-shadow: var(--shadow-md);
    z-index: 49;
    transform: translateY(-150%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-menu.is-open {
    transform: translateY(0);
}

.mobile-nav-link {
    padding: 0.75rem 1rem;
    font-weight: 600;
    color: var(--c-slate-600);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.mobile-nav-link:hover {
    background-color: var(--c-slate-50);
    color: var(--c-accent);
}

.mobile-divider {
    height: 1px;
    background-color: var(--c-slate-100);
    margin: 0.5rem 0;
}

/*****************
    Footer
****************/

footer {
    padding: 46px 0;
    border-top: 1px solid #e5ecf2;
    color: #546070;
    background: #fff;
}

.footer-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.legal a {
    color: #546070;
}

footer img {
    max-height: 80px;
}

/************************
    Index.html 
*************************/

.background-grid {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -10;
    background-image: linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px), radial-gradient(circle at top right, #e2e8f0 0%, #f0f2f5 60%, #ffffff 100%);
    background-size: 50px 50px, 50px 50px, 100% 100%;
    background-repeat: repeat, repeat, no-repeat;
}

/* --- AUCTIONS SECTION --- */
.section-auctions {
    padding: 3rem 0;
    border-top: 1px solid var(--c-slate-200);
    border-bottom: 1px solid var(--c-slate-200);
}

@media(min-width: 768px) {
    .section-auctions {
        padding: 5rem 0;
    }
}

.section-header {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

@media(min-width: 768px) {
    .section-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-end;
        margin-bottom: 2.5rem;
    }
}

.auction-title-padding {
    padding: 50px 0;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--c-slate-900);
}

@media(min-width: 768px) {
    .section-title {
        font-size: 1.875rem;
    }
}

.section-subtitle {
    color: var(--c-slate-500);
    margin-top: 0.5rem;
    font-size: 0.875rem;
}

@media(min-width: 768px) {
    .section-subtitle {
        font-size: 1rem;
    }
}

.link-arrow {
    color: var(--c-accent);
    font-weight: 700;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.link-arrow:hover {
    color: var(--c-accent-hover);
}

/* Responsive Grid: 1 col mobile, 2 col tablet, 3 col desktop */
.auction-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 1fr;
}

@media(min-width: 768px) {
    .auction-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media(min-width: 1024px) {
    .auction-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.auction-card {
    border: 1px solid var(--c-slate-200);
    border-radius: 0.75rem;
    overflow: hidden;
    background-color: #fff;
    transition: all 0.3s;
}

.auction-img-box {
    height: 12rem;
    background-color: var(--c-slate-200);
    position: relative;
    overflow: hidden;
}

@media(min-width: 768px) {
    .auction-img-box {
        height: 15rem;
    }
}

.auction-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.auction-card:hover .auction-img {
    transform: scale(1.05);
}

.status-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    box-shadow: var(--shadow-sm);
}

.status-live {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    color: var(--c-accent);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.status-upcoming {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(4px);
    color: white;
}

/* Updated Styles for Auction Card Content */
.auction-body {
    padding: 1.25rem;
}

@media(min-width: 768px) {
    .auction-body {
        padding: 1.5rem;
    }
}

.auction-title {
    font-weight: 500;
    font-size: 1.1rem;
    color: var(--c-slate-600);
    margin-bottom: 0.5rem;
    transition: color 0.2s;
}


/* New Description Style: 2 Lines */
.auction-desc {
    font-size: 0.875rem;
    color: var(--c-slate-500);
    line-height: 1.5;
    margin-bottom: 1.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Stats Row - Subtle Version */
.auction-stats-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--c-slate-200);
}

.stat-header {
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--c-slate-400);
    margin-bottom: 0.125rem;
}

.stat-number {
    font-size: 1rem;
    font-family: var(--font-mono);
    font-weight: 700;
    color: var(--c-slate-700);
}

.stat-timer {
    font-size: 0.875rem;
    font-family: var(--font-mono);
    font-weight: 700;
    color: var(--c-red);
}

.stat-date {
    font-size: 0.875rem;
    font-family: var(--font-mono);
    font-weight: 700;
    color: var(--c-slate-500);
}

.stat-placeholder {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--c-slate-400);
    font-family: var(--font-sans);
}

/* No Reserve Inline Badge */
.badge-no-reserve-inline {
    display: inline-block;
    background-color: var(--c-accent);
    color: var(--c-white);
    font-size: 0.625rem;
    font-weight: 800;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
}

.btn-bid {
    width: 100%;
    background-color: var(--c-slate-100);
    border: 1px solid var(--c-slate-200);
    color: var(--c-slate-700);
    padding: 0.625rem;
    border-radius: 0.5rem;
    font-weight: 700;
    font-size: 0.875rem;
    transition: all 0.2s;
}

.auction-card:hover .btn-bid {
    background-color: var(--c-slate-900);
    color: white;
    border-color: var(--c-slate-900);
}


.features-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(to left, rgba(236, 252, 203, 0.2), transparent);
    z-index: 0;
}

@media(min-width: 768px) {
    .features-bg {
        width: 33%;
    }
}

.center-text {
    text-align: center;
    max-width: 42rem;
    margin: 0 auto 3rem auto;
    position: relative;
    z-index: 10;
}

@media(min-width: 768px) {
    .center-text {
        margin-bottom: 4rem;
    }
}

/* 1 col mobile, 3 col tablet */
.feature-grid {
    display: grid;
    gap: 1.5rem;
    position: relative;
    z-index: 10;
    grid-template-columns: 1fr;
}

@media(min-width: 768px) {
    .feature-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

.feature-card {
    background: var(--c-white);
    padding: 1.5rem;
    border-radius: 1rem;
    border: 1px solid var(--c-slate-200);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
    position: relative;
}

@media(min-width: 768px) {
    .feature-card {
        padding: 2rem;
    }
}

.feature-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.icon-box {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

@media(min-width: 768px) {
    .icon-box {
        width: 3.5rem;
        height: 3.5rem;
        margin-bottom: 1.5rem;
    }
}

.ib-blue {
    background: #eff6ff;
    color: #2563eb;
}

.ib-lime {
    background: var(--c-accent-light);
    color: var(--c-accent-hover);
}

.ib-orange {
    background: #fff7ed;
    color: #ea580c;
}

.feature-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--c-slate-900);
    margin-bottom: 0.5rem;
}

@media(min-width: 768px) {
    .feature-title {
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
    }
}

.feature-text {
    color: var(--c-slate-500);
    line-height: 1.625;
    font-size: 0.875rem;
}

@media(min-width: 768px) {
    .feature-text {
        font-size: 1rem;
    }
}



/*Faq Section on Index Page */
#faq {
    padding: 100px 0;
    background: var(--bg);
    display: flex;
}

#faq h2 {
    margin: 0 0 14px;
}

details {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 16px 18px;
}

details+details {
    margin-top: 10px;
}

summary {
    cursor: pointer;
    font-weight: 700;
}

summary::-webkit-details-marker {
    display: none;
}

details p {
    margin: 10px 0 0;
    color: var(--muted);
}

.faq-container {
    width: 1200px;
    flex-direction: column;
    gap: 12px;
    margin: auto;
}

/* FAQ Contact Add-on - Inside FAQ Section */
.faq-contact {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 18px;
    margin-top: 10px;
    text-align: center;
}

.faq-contact h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 10px 0;
    color: var(--text);
}

.faq-contact p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
    font-size: 0.95rem;
}

.faq-contact a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.faq-contact a:hover {
    text-decoration: underline;
}

@media (max-width: 600px) {
    .faq-contact {
        padding: 16px;
    }

    .faq-contact h3 {
        font-size: 1rem;
    }

    .faq-contact p {
        font-size: 0.9rem;
    }

    .faq-container {
        padding: 0 16px;
    }
}




/**********************
    Auctions > Index.cshtml
*****************/
.banner-flare {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 80%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.4) 0%, transparent 70%);
    filter: blur(50px);
    z-index: 0;
    opacity: 0.6;
}

.page-banner {
    background-color: #050505;
    /* True Black */
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.page-banner .section-title {
    color: var(--c-white);
    font-size: 2rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.page-banner .section-title-lg {
    font-size: 3rem;
}


.page-banner .section-subtitle {
    color: var(--c-slate-300);
    font-size: 1rem;
    max-width: 48rem;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}


/* mobile responsive banner */
@media (max-width: 768px) {
    #how-it-works .page-banner {
        padding: 1rem 10px;
    }

    #how-it-works .page-banner .section-title {
        font-size: 2.5rem;
    }

    .page-banner .section-title-lg {
        font-size: 2rem;
        padding: 0 1rem;
    }

    .page-banner .section-subtitle {
        font-size: 1.125rem;
    }
}

/***************************************
        Auctions > Details.cshtml 
        **************************************/

@media(max-width:1024px) {
    .hide-on-mobile {
        display: none;
    }
}

@media(min-width:1024px) {
    .hide-on-desktop {
        display: none;
    }
}

/* New details.cshtml*/
.content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

@media (min-width: 1024px) {
    .content-grid {
        grid-template-columns: 2fr 1fr;
    }
}


.glass-panel {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border-radius: 0.75rem;
    margin-bottom: 2rem;
    padding: 2rem;
}

.panel-header {
    font-size: 0.75rem;
    font-weight: 700;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.details-content p {
    color: #6b7280;
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.details-content p:last-child {
    margin-bottom: 0;
}


.specs-list {
    display: flex;
    flex-direction: column;
}


.spec-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* Changed from flex-start to center */
    padding: 0.875rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.spec-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.spec-row:first-child {
    padding-top: 0;
}


.spec-label-new {
    font-size: 0.8rem;
    color: #6b7280;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.spec-value-new {
    font-size: 0.9rem;
    font-weight: 600;
    color: #111827;
    text-align: right;
    /* Removed extra flex styling */
}

/* Bid Panel */
.flex-column {
    display: flex;
    flex-direction: column;
}

.bid-meta-row {
    padding: 1.5rem 1.5rem 0.5rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}


.bid-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #6b7280;
    letter-spacing: 0.05em;
}

.bid-timer-pill {
    background: #fef2f2;
    color: var(--c-red);
    border: 1px solid #fecaca;
    padding: 0.25rem 0.75rem;
    border-radius: 99px;
    font-size: 0.75rem;
    font-weight: 700;
    font-family: var(--font-mono);
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.timer-status {
    font-family: var(--font-sans);
    text-transform: uppercase;
    font-size: 0.65rem;
}

/* Row 2: Price Centerpiece */
.bid-price-section {
    padding: 0.5rem 1.5rem 1.5rem 1.5rem;
    text-align: center;
}

.price-large {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 0.25rem;
}

.price-large .currency {
    font-size: 1.5rem;
    color: #6b7280;
    font-weight: 300;
}

.price-large .amount {
    font-family: var(--font-mono);
    font-size: 4rem;
    font-weight: 800;
    color: var(--c-text-main);
    line-height: 1;
    letter-spacing: -0.03em;
}

.price-large .currency-code {
    font-size: 1rem;
    font-weight: 500;
    color: #6b7280;
}

.high-bidder {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: #6b7280;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.high-bidder i {
    color: var(--c-accent);
    width: 16px;
    height: 16px;
}

.high-bidder strong {
    color: var(--c-text-main);
}

/* Row 3: Action Area */
.bid-action-section {
    background: #f9fafb;
    padding: 1.5rem;
    border-top: 1px solid var(--c-border);
}

.input-action-row {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.bid-input-wrap {
    position: relative;
    flex-grow: 1;
}

.bid-symbol {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--c-text-muted);
    font-family: var(--font-mono);
    font-size: 1.25rem;
}

.main-bid-input {
    width: 100%;
    padding: 1rem 1rem 1rem 2.5rem;
    font-family: var(--font-mono);
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 0.5rem;
    background: white;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.main-bid-input:focus {
    outline: none;
    border-color: #84cc16;
    box-shadow: 0 0 0 3px rgba(132, 204, 22, 0.1);
}

.place-bid-large {
    background: #84cc16;
    color: white;
    border: none;
    padding: 0 2rem;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    box-shadow: var(--shadow-md);
}

.place-bid-large:hover {
    background: #65a30d;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.bid-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    color: #6b7280;
}

.help-link {
    text-decoration: underline;
    cursor: pointer;
    transition: color 0.2s;
}

.help-link:hover {
    color: #111827;
}



.comment-textarea {
    width: 100%;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 0.5rem;
    padding: 0.75rem;
    font-size: 0.875rem;
    resize: vertical;
    min-height: 80px;
    transition: border-color 0.2s;
}

.comment-textarea:focus {
    outline: none;
    border-color: #8a8a8a;
}

.comments-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.comment-item {
    display: flex;
    gap: 1rem;
}

.comment-meta {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
}

.comment-author {
    font-weight: 700;
    font-size: 0.875rem;
    color: #111827;
}

.comment-time {
    font-size: 0.75rem;
    color: #6b7280;
}

.comment-text {
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.5;
}

.comments-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #6b7280;
    padding: 1rem 0;
}


.glass-panel .btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    border-radius: 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.2s;
    white-space: nowrap;
}

.glass-panel .btn-comment {
    margin-top: 0.5rem;
    background: #111827;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 700;
}

/**************** Old details.html ****************/
/* Inspection Images */
#listing-images,
#listing-description {
    max-width: 1400px;
    margin: auto;
    padding: 0 20px;
}

#listing-images h1 {
    margin: 0.2em 0 0 0;
    font-size: 2.2em;
    font-weight: 600;
}

#listing-images .image-layout {
    display: grid;
    grid-template-columns: 3fr 2fr;
    /* Big image takes 3/5, grid takes 2/5 */
    gap: 20px;
}

#listing-images .big-image {
    width: 100%;
    height: 100%;
    max-height: 60vh;
    object-fit: cover;
}

#listing-images .image-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.4vh;
    max-height: 60vh;
}

#listing-images .image-grid img {
    width: 100%;
    height: 100%;
    max-height: 19vh;
    object-fit: cover;
    border-radius: 5px;
}

#listing-images .view-all-images {
    position: relative;
    display: inline-block;
}

#listing-images .view-all-images img {
    display: block;
    width: 100%;
    height: auto;
}

#listing-images .view-all-images .overlay img {
    height: 25px;
    width: 25px;
}

#listing-images .view-all-images .overlay {
    cursor: pointer;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-weight: bold;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.lightbox img {
    max-width: 90%;
    max-height: 80%;
    border-radius: 5px;
}

/* Navigation buttons */
.lightbox .prev,
.lightbox .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    color: white;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    user-select: none;
}

.lightbox .prev {
    left: 20px;
}

.lightbox .next {
    right: 20px;
}

.lightbox .close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 2rem;
    color: white;
    cursor: pointer;
    background: none;
    border: none;
}

@media (max-width: 768px) {
    #listing-images .image-layout {
        grid-template-columns: 1fr;
        /* Stack images on smaller screens */
    }

    #listing-images .image-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2x3 layout on smaller screens */
    }

    #listing-images h1 {
        font-size: 1.4em;
    }
}

#listing-images img {
    cursor: pointer;
}

.sticky-banner {
    max-width: 1250px;
    margin: 0 auto;
    padding: 20px;
    position: sticky;
    top: 0;
    background: transparent;
    z-index: 1;
}

.sticky-banner.sticky {
    background: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}



.sticky-banner h1 {
    font-size: 1.5em;
}



.truck-description {
    max-width: 1000px;
    margin: auto;
    line-height: 1.6;
    color: #333;
}

.truck-description h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #111;
}

.truck-description p {
    margin-bottom: 1.2rem;
}

/* Bid Section */
.bid-section {
    max-width: 700px;
    margin: 2rem auto;
    padding: 1.5rem;
    border: 1px solid #ddd;
    border-radius: 10px;
    background: #fafafa;
}

.bid-section h2,
.bid-section h3 {
    margin-bottom: 1rem;
}

.bid-section textarea {
    height: 100px;
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    resize: vertical;
}

.bid-section button {
    margin: 10px 0 20px 0;
}


.bid-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.bid-form input,
.bid-form textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    width: 100%;
}

.bid-form button {
    background-color: #244e15;
    color: white;
    padding: 0.75rem;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
}

.bid-form button:hover {
    background-color: #1a3a0d;
}

/* Auction comments and bids section */
.timeline-feed {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.timeline-item {
    flex: 1;
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.timeline-header p {
    font-weight: 600;
    color: #1f2937;
    margin: 0;
}

.timeline-header span {
    font-size: 0.75rem;
    color: #6b7280;
}

.bid-item {
    display: flex;
    align-items: center;
    margin-top: 0.25rem;
    color: #166534;
}

.bid-item i {
    margin-right: 0.5rem;
}

.bid-item p {
    font-weight: 700;
    margin: 0;
}

.comment-item {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: #374151;
}

/* Sidebar */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.grid-container {
    display: grid;
    max-width: 1400px;
    margin: 2rem auto;
    grid-template-columns: 3fr 1fr;
    gap: 2rem;
}

/* Key Specs Card */
.specs-card {
    background-color: white;
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    padding: 1.5rem;
}

.specs-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 1rem;
}

.specs-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.specs-card li {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f3f4f6;
    font-size: 0.875rem;
}

.specs-card li:last-child {
    border-bottom: none;
}

.specs-card .spec-label {
    color: #6b7280;
}

.specs-card .spec-value {
    font-weight: 500;
    color: #1f2937;
}

/* Other Auctions Card */
.other-auctions-card {
    background-color: white;
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    padding: 1.5rem;
}

.other-auctions-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 1rem;
}

.other-auctions-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.auction-item {
    position: relative;
}

.auction-item a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.auction-item img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    /* Square aspect ratio */
    object-fit: cover;
    border-radius: 0.5rem;
    margin-bottom: 0.75rem;
    transition: opacity 0.2s;
}

.auction-item a:hover img {
    opacity: 0.9;
}

.auction-item-info p {
    margin: 0;
    font-size: 0.875rem;
    font-weight: 600;
}

.auction-item-info span {
    font-size: 0.875rem;
    color: #4b5563;
}

.no-reserve-badge {
    background: linear-gradient(135deg, #8fc740, #8fc740);
    color: white;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.65rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    display: inline-block;
    margin-top: 0.25rem;
    box-shadow: 0 1px 3px rgba(36, 78, 21, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.8);
}

/* Auction Info Row Under Header */

.auction-row {
    display: flex;
    justify-content: space-between;
    padding: 0 0 0.5rem 0;
}



.auction-row .meta-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    margin-top: 0.5rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: #6b7280;
    transition: opacity 0.3s, max-height 0.3s;
    max-height: 2rem;
    overflow: hidden;
}

.auction-row .meta-badges .meta-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    padding: 0;
    border: none;
    box-shadow: none;
}


.auction-row .meta-badges .coming-soon {
    color: white;
    background: #6b7280;
    border-color: transparent;
    padding: 2px 8px;
    border-radius: 4px;
}




.auction-row .right-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.auction-row .right-actions .btn-white-auction {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    border-radius: 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.2s;
    white-space: nowrap;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.08);
    color: #6b7280;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.auction-row .link {
    text-decoration: underline;
    color: #244e15;
    font-size: 0.9rem;
    cursor: pointer;
}

.auction-row .bid-btn {
    background-color: #244e15;
    color: white;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
}

@media (max-width: 600px) {
    .auction-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .auction-row .left-info {
        gap: 1rem;
    }

    .auction-row .right-actions {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 0.5rem;
        margin-top: 0.75rem;
    }
}

.auction-cta {
    max-width: 700px;
    margin: auto;
    border: 1px solid #ddd;
    padding: 2rem;
    border-radius: 12px;
}

.auction-cta .currency {
    font-size: 1.6rem;
}

.auction-cta .current-bid {
    margin-bottom: 2em;
}

.auction-cta .current-bid .label {
    font-size: 1.5em;
}

.auction-cta .current-bid .value {
    font-size: 3.8rem;
}

.auction-cta .auction-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.auction-cta .value {
    margin-top: 4px;
    font-weight: bold;
}

.auction-cta .cta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.auction-cta .faq-link {
    color: #244e15;
    font-size: 0.95rem;
    cursor: pointer;
}

.auction-cta .place-bid-btn:hover {
    background-color: #1a370f;
}

@media (max-width: 600px) {
    .auction-cta .current-bid .value {
        font-size: 2.2rem;
    }

    .auction-cta .label {
        font-size: 0.8rem;
    }

    .auction-cta .value {
        font-size: 0.9rem;
    }

    .auction-cta .cta-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .auction-cta .green-btn {
        display: block;
        margin: 10px 0;
        text-align: center;
    }
}

/************************

Home Page - Home/index.html

************************/


.section {
    padding: 4rem 1rem;
    min-height: 40vh;
    display: flex;
}

.section-container {
    max-width: 64rem;
    margin: auto;
}

/* Hero Section */

.tech-grid-bg {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 0;
    /* Radial mask to fade edges */
    mask-image: radial-gradient(circle at left, black 90%, transparent 100%);
    -webkit-mask-image: radial-gradient(circle at left, black 90%, black 100%);
}

/*****************************
        Home Page Features Section
    ********************************/
.section-features {
    padding: 4rem 10px;
    background-color: var(--c-slate-50);
    position: relative;
    overflow: hidden;
}

@media(min-width: 768px) {
    .section-features {
        padding: 6rem 0;
    }
}

.features-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(132, 204, 22, 0.1), transparent 70%);
    z-index: 0;
}

.center-text {
    text-align: center;
    max-width: 42rem;
    margin: 0 auto 3rem auto;
    position: relative;
    z-index: 10;
}

.feature-grid {
    display: grid;
    gap: 1.5rem;
    position: relative;
    z-index: 10;
    grid-template-columns: 1fr;
}

@media(min-width: 768px) {
    .feature-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

.feature-card {
    background: var(--c-white);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid var(--c-slate-200);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
    position: relative;
}

.feature-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--c-accent);
    transform: translateY(-4px);
}

/* Uniform Green Icons Style */
.icon-box {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    background: rgba(132, 204, 22, 0.1);
    color: var(--c-accent-hover);
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--c-slate-900);
    margin-bottom: 0.75rem;
}

.feature-text {
    color: var(--c-slate-500);
    line-height: 1.625;
    font-size: 0.9rem;
}

/*************
 listequipment.html 
 ******************/
/* List equipment hero section */

#list-equipment-hero {
    text-align: center;
    display: flex;
    align-items: center;
    margin: auto;
    background-color: #000000;
}

.list-equipment-flex {
    display: flex;
    height: 100%;
    flex-basis: 100%;
    max-width: 1200px;
    margin: auto;
}

#list-equipment-hero-img {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

#list-equipment-hero-img img {
    max-width: 100%;
    max-height: 55vh;
}


#list-equipment-hero-text {
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Added this line */
    justify-content: center;
    color: white;
    flex: 1;
}

#list-equipment-hero-text p {
    padding: 20px;
    font-size: 1.1rem;
    color: var(--c-slate-300);
}

#list-equipment-hero h1 {
    font-size: 3.2rem;
}


@media (max-width: 600px) {
    #list-equipment-hero {
        margin: auto;
    }

    #list-equipment-hero h1 {
        font-size: 2.2rem;
    }

    .list-equipment-flex {
        flex-direction: column-reverse;
    }

    #list-equipment-hero div {
        width: 100%;
    }
}

/* Features Section */
/* Features main css taken from homepage */


/* How It Works */
.section-how {
    padding: 5rem 0;
    background-color: #050505;
    /* True Black Background */
    color: var(--c-white);
    position: relative;
    overflow: hidden;
}

.steps-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
    margin-top: 3rem;
}

@media(min-width: 1024px) {
    .steps-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }
}

.step-card {
    background: #111;
    /* Dark Card */
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid #333;
    position: relative;
    z-index: 2;
}

.step-number {
    font-family: var(--font-mono);
    font-size: 3rem;
    font-weight: 700;
    color: #333;
    /* Subtle number color */
    line-height: 1;
    margin-bottom: 1rem;
}

.step-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--c-white);
    margin-bottom: 0.5rem;
}

.step-text {
    font-size: 0.9rem;
    color: var(--c-slate-400);
    line-height: 1.5;
}

/* Dark Mode Section Headers */
.section-how .section-title {
    color: var(--c-white);
}

.section-how .section-desc {
    color: var(--c-slate-400);
}

/* List equipment bottom CTA section */
#list-equipment-bottom-cta {
    text-align: center;
    padding: 3em 0;
    color: white;
    background-color: #000;
}



#list-equipment-bottom-cta h2 {
    font-size: 1.8em;
}

#list-equipment-bottom-cta p {
    margin: 1em auto 2em auto;
    color: var(--c-slate-300);
}

/***********
Listequipmentform.html
**************/
.sell-equipment-form {
    margin: auto;
}

.sell-equipment-form fieldset {
    background-color: white;
    border: 1px solid #eeeeee;
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.form-submit {
    text-align: center;
    display: block;
}

.sell-equipment-form .login-section {
    max-width: 800px;
}

.sell-equipment-form h2 {
    text-align: center;
    padding: 2em 0 0 0;
}

.sell-equipment-form h3 {
    font-weight: 400;
    font-size: 1em;
    text-align: center;
}

.sell-equipment-form #header-desc {
    text-align: center;
}

.sell-equipment-form .two-column {
    display: flex;
    gap: 4rem;
}

.sell-equipment-form .two-column div {
    width: 50%;
}

.sell-equipment-form .drop-area {
    border: 2px dashed #4aa01e;
    padding: 1rem;
    text-align: center;
    cursor: pointer;
    border-radius: 6px;
    background: #f3f9f4;
    position: relative;
}

.sell-equipment-form .drop-area input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.sell-equipment-form #gallery {
    display: flex;
    flex-wrap: wrap;
    margin-top: 1rem;
    gap: 0.5rem;
}

.sell-equipment-form #gallery img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid #ccc;
}

.sell-equipment-form .photo-assist-box {
    background: #f3f9f4;
    border: 1px solid #ccc;
    padding: 1rem;
    border-radius: 6px;
}

.sell-equipment-form .custom-file-upload {
    position: relative;
    display: flex;
    align-items: center;
    background: #f3f9f4;
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 0.75rem;
    cursor: pointer;
}

.sell-equipment-form .custom-file-upload input[type="file"] {
    opacity: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.sell-equipment-form .custom-file-upload span {
    pointer-events: none;
}

.sell-equipment-form .remove-button {
    position: absolute;
    top: 5px;
    right: 5px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    font-size: 16px;
    line-height: 24px;
    text-align: center;
    cursor: pointer;
    padding: 0;
}


@media (max-width: 600px) {
    .sell-equipment-form .two-column {
        display: block;
    }

    .sell-equipment-form .two-column div {
        width: 100%;
    }
}

/* Login Page */
.login-section {
    background-color: white;
    max-width: 500px;
    margin: 4rem auto;
    padding: 2rem;
    border: 1px solid #eeeeee;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.login-section h2 {
    text-align: center;
    margin-bottom: 1.5rem;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 0em;
}

.login-form button {
    background-color: #59a600;
    color: white;
    border: none;
    padding: 0.75rem;
    margin-top: 1em;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
}

.login-form button:hover {
    background-color: #4f9400;
}

.login-footer {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.9rem;
}

.login-footer a{
    color: #244e15;
    text-decoration: underline;
}

.login-section .instructions {
    padding: 0 0 10px 0;
}

.login-form legend {
    font-weight: bold;
    font-size: 1.2rem;
}

.login-form label {
    display: block;
    font-weight: bold;
    margin: 1.5rem 0 0.5rem 0;
    color: #333;
}

.login-form input,
.login-form textarea,
.login-form select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
}

.login-form input::placeholder {
    font-size: 0.8em;
}

.login-form input[type="checkbox"] {
    height: 25px;
    accent-color: #244e15;
}

.login-section .confirmation-box p {
    padding: 0.5em;
}

.account-wrapper {
    display: flex;
    gap: 2rem;
    max-width: 1200px;
    margin: 3rem auto;
    padding: 1rem;
}

.account-sidebar {
    flex: 0 0 200px;
    border-right: 1px solid #ddd;
    padding-right: 1rem;
}

.account-sidebar h2 {
    color: #244e15;
    margin-bottom: 1rem;
}

.account-sidebar ul {
    list-style: none;
    flex-direction: column;
}

.account-sidebar li {
    margin-bottom: 0.75rem;
}

.account-sidebar a {
    display: block;
    color: #244e15;
    font-weight: 500;
}

.account-sidebar a:hover {
    text-decoration: underline;
}

.account-content {
    flex: 1;
}

@media (max-width: 768px) {
    .account-wrapper {
        flex-direction: column;
    }

    .account-sidebar {
        border-right: none;
        border-bottom: 1px solid #ddd;
        padding-bottom: 1rem;
        margin-bottom: 1rem;
    }
}

.userbid-section {
    margin: 1em auto;
}

.userbid-section h3 {
    margin-bottom: 10px;
}

.userbid-section h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.userbid-group {
    margin-bottom: 3rem;
}

.userbid-group h4 {
    padding-bottom: 0.5rem;
}

.userbid-item {
    display: flex;
    gap: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 1rem 1rem;
    margin-bottom: 1.5rem;
    max-width: 600px;
}

.userbid-image {
    height: 170px;
    flex: 1;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.userbid-image img {
    max-width: 100%;
    object-fit: cover;
    display: block;
}

.userbid-info {
    flex: 1;
    display: flex;
    justify-content: space-between;
}

.userbid-info div {
    margin: auto;
}

.userbid-info h4 {
    font-size: 18px;
    margin: 0px;
}

.userbid-info p {
    margin: 0.3rem 0;
}

.userbid-actions {
    margin: auto;
}

.userbid-actions .btn {
    background-color: #244e15;
    color: white;
    padding: 0.6em;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
}

.userbid-actions .btn:hover {
    background-color: #2e621c;
}

.userbid-item.outbid {
    border-left: 4px solid #c62828;
}

/* Messages */
.messages-page h2 {
    text-align: center;
}

.message-item {
    margin: 30px 0;
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 1.25rem;
    align-items: center;
}

.message-left .preview {
    margin-top: 0.5rem;
}

.message-item a {
    white-space: nowrap;
}

/* account/account.html */
.account-info-section h2 {
    text-align: center;
}

.account-info-section .manage-account {
    text-align: center;
    margin: 50px auto;
}

.account-alerts {
    background: #f9fbe9;
    border-left: 4px solid #f0c000;
    padding: 1rem;
    border-radius: 6px;
    margin: 2rem 0;
}

.account-border {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 1.5rem;
}

.info-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid #eee;
}

.status-verified {
    color: #2e7d32;
}

.account-summary h3 {
    text-align: center;
    margin: 1.5rem 0;
}

.summary-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    justify-content: center;
    color: #1a370f;
}

.summary-card {
    flex: 0 1 160px;
    text-align: center;
    position: relative;
    text-decoration: none;
}

.summary-card:hover {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.card-label {
    font-size: 1.1rem;
    font-weight: bold;
    color: #1a370f;
}

.summary-grid .badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #244e15;
    color: #fff;
    font-size: 0.7rem;
    padding: 0.3rem 0.6rem;
    border-radius: 12px;
    font-weight: bold;
}

.badge.green {
    background-color: #2e7d32;
}

.badge.red {
    background-color: #c62828;
}

@media (max-width: 600px) {
    .summary-card {
        flex: 1 1 100%;
    }
}

/* post-auction/win.html page */
.win-confirmation-section .you-won {
    text-align: center;
}

.win-confirmation-section .you-won img {
    height: 300px;
    width: 500px;
    object-fit: cover;
    margin-bottom: 30px;
}


.win-confirmation-section .you-won p {
    margin: 0.5rem 0 2rem 0;
}

.win-summary h3 {
    margin-bottom: 0.5rem;
}

.win-summary p {
    margin: 0.3rem 0;
}

.financing-and-shipping {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin: 2rem 0;
}

.border-box {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 1.5rem;
}

.win-summary {
    text-align: center;
    margin-bottom: 2rem;
}

.next-step-box {
    flex: 1;
    border-left: 4px solid #244e15;
}

.next-step-box p {
    margin: 0.5em 0 1.5em 0;
}

.win-footer {
    text-align: center;
}

/* Listing Modal */
.bid-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.65);
    z-index: 2;
    display: none;
    justify-content: center;
    align-items: center;
}

.bidSuccessModal {
    display: none;
}

/* Modal Box */
.bid-modal {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    width: 100%;
    max-width: 400px;
    position: relative;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.2);
}

.bid-modal #bid-error {
    color: darkred;
    font-weight: bold;
    margin: 0;
    padding: 10px 0 20px 0;
    visibility: hidden;
}


.bid-modal h3 {
    margin-bottom: 1rem;
}

.bid-modal label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.bid-modal input {
    width: 100%;
    padding: 0.75rem;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 6px;
}

.bid-modal-actions {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 1.5rem;
    cursor: pointer;
}

footer {
    text-align: center
}

/* Admin Table */

#admin-details-page {
    width: 95%;
    margin: auto;
}

.admin-table {
    width: 100%;
}

.admin-table thead tr {
    background-color: #535353;
    color: #ffffff;
    text-align: left;
}

.admin-table th,
.admin-table td {
    padding: 12px 15px;
}

.admin-table tbody tr {
    border-bottom: 1px solid #dddddd;
}

.admin-table tbody tr:nth-of-type(even) {
    background-color: #f3f3f3;
}

/* Admin Edit Page */
.deny-auction {
    margin: 0 auto 100px auto;
    width: 100%;
    max-width: 800px;
}

.deny-btn {
    color: white;
    background-color: #44070e;
}


.deny-btn:hover {
    background-color: #8e0e1d;
}

.schedule-btn {
    background-color: #110469;
    color: white;
}

.schedule-btn:hover {
    background-color: #190692;
}

.active-btn {
    width: 100%;
    display: inline-block;
    padding: 0.75rem;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
}

/******************************

    How It Works Page 

******************************/
#how-it-works .container {
    padding: 60px 20px;
}

/*** Hero Section ***/
#how-it-works .hero-text {
    flex: 1;
    text-align: center;
}

#how-it-works .hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

#how-it-works .hero-text p {
    text-align: center;
    color: #555555;
    margin: auto;
    max-width: 500px;
}


/* Features Section */

.overview-head {
    text-align: center;
    max-width: 48rem;
    margin: 0 auto 3rem auto;
}

.overview-head h2 {
    margin-bottom: 1rem;
}

.overview-head p {
    font-size: 1.125rem;
    color: var(--c-slate-500);
}

.features-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 18rem;
}

.f-icon {
    margin-bottom: 1rem;
    color: var(--c-slate-400);
}

.f-title {
    font-weight: 700;
    color: var(--c-slate-900);
    margin-bottom: 0.5rem;
}

.f-text {
    color: var(--c-slate-500);
    font-size: 0.9rem;
}

/* The Split */
.section-split {
    background-color: var(--c-slate-50);
}

.split-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
    max-width: 64rem;
    margin: 0 auto;
    padding: 0 10px;
}


@media(min-width: 768px) {
    .split-grid {
        grid-template-columns: 1fr 1fr;
    }

    .section-split {
        padding: 2rem 0;
    }

}


/* --- Buying vs Selling  --- */
.section-overview {
    padding: 1rem;
    border-bottom: 1px solid var(--c-slate-200);
}

.overview-head {
    text-align: center;
    max-width: 48rem;
    margin: 0 auto 3rem auto;
}

.overview-head h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--c-slate-900);
    margin-bottom: 1rem;
}

.overview-head p {
    font-size: 1.125rem;
    color: var(--c-slate-500);
}


@media(min-width: 768px) {
    .section-overview {
        padding: 5rem 0;
    }
}



/* Choice Cards */
.choice-card {
    background-color: #0a0a0a;
    border-radius: 1.5rem;
    overflow: hidden;
    border: 1px solid #333;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    text-align: left;
    padding: 3rem 2rem;
    box-shadow: var(--shadow-sm);
}

.choice-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lift);
    border-color: var(--c-accent);
}

.choice-icon {
    width: 4rem;
    height: 4rem;
    background-color: #222;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    color: var(--c-white);
}


.choice-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--c-white);
    margin-bottom: 1rem;
}

.choice-card p {
    color: #fff;
}


.choice-list {
    list-style: none;
    margin-bottom: 2.5rem;
    flex: 1;
}

.choice-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--c-slate-300);
    font-size: 1rem;
}

.choice-list li i {
    color: var(--c-accent);
    min-width: 20px;
}

/* Card Variations */
.choice-card-buy:hover .choice-icon {
    background-color: var(--c-accent);
    color: white;
}

.choice-card-sell:hover .choice-icon {
    background-color: var(--c-white);
    color: var(--c-slate-900);
}

/** Call to Action **/
.cta-section {
    background-color: #000;
    color: white;
    text-align: center;
    border-radius: 16px;
}

.cta-section p {
    margin: 15px 0 25px 0;
    color: var(--c-slate-300);
}

/*** Confirm Email Page ***/
#confirm-email {
    background-color: #ffffff;
    padding: 50px;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    width: 90%;
    max-width: 400px;
    margin: 50px auto;
    padding: 40px;
    text-align: center;
    align-content: center;
}

#confirm-email .email-icon {
    color: #244e15;
    margin-bottom: 25px;
}


#confirm-email .footer-links {
    margin-top: 30px;
}

#confirm-email .footer-links p {
    font-size: 0.9rem;
    color: #717171;
    margin-bottom: 10px;
}

/* Register to Bid Page */
.content-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

/* Payment Setup Modal */
.payment-setup-modal {
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
}

.payment-setup-modal .payment-info {
    background: #f9f9f9;
    padding: 1rem;
    border-radius: 6px;
    margin: 1rem 0;
}

.payment-setup-modal .payment-info h4 {
    margin-bottom: 0.5rem;
    color: #244e15;
}

.payment-setup-modal .payment-info ul {
    margin: 0;
    padding-left: 1.2rem;
    font-size: 0.9rem;
    color: #555;
}

.payment-setup-modal .payment-info li {
    margin-bottom: 0.3rem;
}

.payment-setup-modal .error-message {
    color: #c62828;
    font-size: 0.9rem;
    margin: 0.5rem 0;
    padding: 0.5rem;
    background: #ffebee;
    border-radius: 4px;
    border-left: 4px solid #c62828;
}

.payment-setup-modal .success-message {
    color: #2e7d32;
    font-size: 0.9rem;
    margin: 0.5rem 0;
    padding: 0.5rem;
    background: #e8f5e8;
    border-radius: 4px;
    border-left: 4px solid #2e7d32;
}

.payment-setup-modal .spinner {
    display: inline-block;
    animation: spin 1s linear infinite;
}

.payment-setup-modal .spinner.hidden {
    display: none;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.payment-setup-modal #payment-element {
    margin: 1rem 0;
    padding: 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    background: #fafafa;
}

.payment-modal-actions {
    text-align: center;
    margin-top: 1rem;
}

.login-modal-actions {
    text-align: center;
    margin-top: 1rem;
}

/* Login Modal */
.login-modal {
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
}

.login-modal h2 {
    text-align: center;
    margin-bottom: 1rem;
    color: #244e15;
}

.login-modal p {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #555;
}

.login-modal .login-form {
    display: flex;
    flex-direction: column;
    gap: 0em;
}

.login-modal .login-form label {
    display: block;
    font-weight: bold;
    margin: 1.5rem 0 0.5rem 0;
    color: #333;
}

.login-modal .login-form input[type="email"],
.login-modal .login-form input[type="password"] {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
}

.login-modal .login-form input::placeholder {
    font-size: 0.8em;
}

.login-modal .remember-me-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 1rem 0;
}

.login-modal .remember-me-container input[type="checkbox"] {
    width: auto;
    height: 20px;
    accent-color: #244e15;
}

.login-modal .remember-me-container label {
    margin: 0;
    font-weight: normal;
}

.login-modal .green-btn {
    margin-top: 1em;
    width: 100%;
}

.login-modal .login-footer {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.9rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.login-modal .login-footer a {
    color: #244e15;
    text-decoration: underline;
}

.login-modal .error-message {
    color: #c62828;
    font-size: 0.9rem;
    margin: 0.5rem 0;
    padding: 0.5rem;
    background: #ffebee;
    border-radius: 4px;
    border-left: 4px solid #c62828;
}

.login-modal .success-message {
    color: #2e7d32;
    font-size: 0.9rem;
    margin: 0.5rem 0;
    padding: 0.5rem;
    background: #e8f5e8;
    border-radius: 4px;
    border-left: 4px solid #2e7d32;
}

.login-modal .text-danger {
    color: #c62828;
    font-size: 0.8rem;
    margin-top: 0.25rem;
}

.login-modal .spinner {
    display: inline-block;
    animation: spin 1s linear infinite;
}

.login-modal .spinner.hidden {
    display: none;
}

.login-modal-actions {
    text-align: center;
    margin-top: 1rem;
}

/* Subtle Time Progress Bar */
.time-progress-container {
    max-width: 1200px;
    margin: 0 auto 1rem auto;
    padding: 0 20px;
    opacity: 0;
    transition: opacity 0.5s ease-in;
}

.time-progress-container.visible {
    opacity: 1;
}

.time-progress-bar {
    width: 100%;
    height: 6px;
    background-color: #f0f0f0;
    border-radius: 3px;
    overflow: hidden;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.time-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #c62828, #d32f2f);
    border-radius: 3px;
    transition: width 1s ease-out;
    position: relative;
}

.time-progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: progress-shine 2s ease-in-out infinite;
}

.time-progress-text {
    text-align: center;
    font-size: 0.85rem;
    color: #666;
    margin-top: 0.5rem;
    font-weight: 500;
}

@keyframes progress-shine {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .time-progress-container {
        padding: 0 15px;
    }

    .time-progress-bar {
        height: 8px;
    }

    .time-progress-text {
        font-size: 0.9rem;
    }
}

/* Auction Actions - Smooth hiding when auction ends */
#auction-actions,
#auction-cta-actions {
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

#auction-actions.hidden,
#auction-cta-actions.hidden {
    opacity: 0;
    visibility: hidden;
}

/*  Confirm Email Page */
.icon-circle {
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem auto;
    box-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.1);
}

.icon-circle-error {
    background: #fee2e2;
    color: #ef4444;
    border: 1px solid #ef4444;
}

.icon-circle-confirm {
    background: #ecfccb;
    color: #065f46;
    border: 1px solid #84cc16;
}


.card-top-accent {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
}

.green-accent {
    background: #84cc16;
}

.red-accent {
    background: #ef4444;
}
