*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins',sans-serif;
    background:#f5f7fa;
    color:#111;
    overflow-x:hidden;
    min-height: 125vh;
}

img{
    max-width:100%;
    display:block;
}

a{
    text-decoration:none;
    color:inherit;
}

html{
    scroll-padding-top:90px;
}

.hero{
    position:relative;
    height:125vh;
    overflow:hidden;
}

.slideshow{
    position:absolute;
    inset:0;
}

.slideshow picture,
.slideshow img{
    width:100%;
    height:100%;
    display:block;
}

.slideshow img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.hero-content{
    position:relative;
    z-index:5;
    height:100%;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    color:rgb(216,210,210);
    text-align:center;
}

.overlay{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,0.35);
}

@media (min-width: 769px){
    .overlay{
        background:rgba(0,0,0,0.5);
    }
}

.hero-content h1{
    font-size:4rem;
    font-weight:700;
    margin-bottom:20px;
}

.view-listings{
    display:inline-flex;
    align-items:center;
    justify-content:center;

    padding:18px 40px;

    background:rgba(255, 255, 255, 0.189);

    backdrop-filter:blur(25px);

    border:1px solid rgba(255,255,255,.18);

    border-radius:0;

    color:white;

    font-weight:600;
    letter-spacing:1px;

    box-shadow:
        0 12px 35px rgba(0,0,0,.18);

    transition:.3s;
}

.view-listings:hover{
    background:rgba(255,255,255,.95);
    color:#111;
    transform:translateY(-3px);
}

.cars,
.contact,
.offers{
    position:relative;
    width:92%;
    max-width:1700px;
    margin:auto;
    padding:30px 0;
}

.cars::before{
    content:"";
    position:absolute;
    inset:0;
    pointer-events:none;
    opacity:.18;

    background:
        url("assets/doodle.png") no-repeat 3% 10%,
        url("assets/doodle.png") no-repeat 90% 20%,
        url("assets/doodle.png") no-repeat 15% 60%;

    background-size:
        180px,
        150px,
        220px;
}

.cars::after{
    content:"";
    position:absolute;
    inset:0;
    pointer-events:none;
    opacity:.15;

    background:
        url("assets/doodle.png") no-repeat 25% 25%,
        url("assets/doodle.png") no-repeat 60% 15%,
        url("assets/doodle.png") no-repeat 5% 80%;

    background-size:
        160px,
        200px,
        140px;
}

.contact{
    overflow:hidden;
}

.contact::before{
    content:"";
    position:absolute;
    inset:0;
    pointer-events:none;
    opacity:.18;

    background:
        url("assets/doodle.png") no-repeat 5% 15%,
        url("assets/doodle.png") no-repeat 88% 10%,
        url("assets/doodle.png") no-repeat 60% 45%,
        url("assets/doodle.png") no-repeat 15% 75%;

    background-size:
        180px,
        150px,
        220px,
        170px;
}

.contact::after{
    content:"";
    position:absolute;
    inset:0;
    pointer-events:none;
    opacity:.14;

    background:
        url("assets/doodle.png") no-repeat 25% 25%,
        url("assets/doodle.png") no-repeat 72% 18%,
        url("assets/doodle.png") no-repeat 8% 88%,
        url("assets/doodle.png") no-repeat 90% 80%;

    background-size:
        160px,
        200px,
        140px,
        180px;
}

.car-grid,
.section-head,
.search-container,
.view-more-btn,
#noResults{
    position:relative;
    z-index:2;
}

.cars::before,
.cars::after{
    z-index:0;
}

.cars{
    position:relative;
}

.section-head{
    text-align:center;
    margin-bottom:5px;
}

.section-head h2{
    font-size:2.4rem;
    margin-bottom:5px;
}

.section-head p{
    color:#666;
}

.search-container{
    margin-bottom:25px;
}

.search-bar{
    display:flex;
    gap:15px;
    justify-content:center;
}

.search-bar input{
    width:700px;
    height:58px;
    border:none;
    outline:none;
    padding:0 20px;
    border-radius:14px;
    background:white;
    box-shadow:0 5px 20px rgba(0,0,0,.08);
    font-size:16px;
}

.filter-btn{
    width:48px;
    height:48px;
    border:none;
    border-radius:44px;
    background:white;
    cursor:pointer;
    box-shadow:0 5px 20px rgba(0,0,0,.08);
}

.filter-btn img{
    width:24px;
    margin:auto;
}

.search-container{
    position:relative;
}

.filter-panel{
    margin: 18px auto 0;
    width: 100%;
    max-width: 950px;

    display: none;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;

    padding: 22px;

    background: rgba(255,255,255,0.75);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 22px;

    box-shadow:
        0 15px 40px rgba(0,0,0,0.08);

    animation: filterFade .25s ease;
}

.filter-panel.active{
    display: grid;
}

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

.filter-panel select{
    width:100%;
    height:56px;

    padding:0 16px;

    border:none;
    outline:none;

    border-radius:14px;

    background:#fff;

    font-size:15px;
    font-family:'Poppins',sans-serif;
    color:#222;

    box-shadow:
        0 5px 18px rgba(0,0,0,0.06);

    cursor:pointer;

    transition:.25s;
}

.filter-panel select:hover{
    box-shadow:
        0 8px 22px rgba(0,0,0,0.10);
}

.filter-panel select:focus{
    border:1px solid rgba(212,160,23,.45);
    box-shadow:
        0 0 0 4px rgba(212,160,23,.12);
}

.filter-actions{
    grid-column: span 5;

    display:flex;
    justify-content:flex-end;
    gap:12px;

    margin-top:5px;
}

.filter-actions button{
    border:none;
    cursor:pointer;

    height:44px;
    padding:0 26px;

    border-radius:44px;

    font-size:15px;
    font-weight:600;
    font-family:'Poppins',sans-serif;

    transition:.3s ease;
}

#carSearchBtn{
    background:
    linear-gradient(
        135deg,
        #d4a017,
        #f7d774
    );

    color:#111;

    box-shadow:
        0 10px 25px rgba(212,160,23,.25);
}

#carSearchBtn:hover{
    transform:translateY(-2px);
    box-shadow:
        0 15px 30px rgba(212,160,23,.35);
}

#carClearBtn{
    background:#111;
    color:white;
}

#carClearBtn:hover{
    transform:translateY(-2px);
    background:#222;
}

.car-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:18px;
}

.vehicle-card{
    background:white;
    border-radius:0;
    overflow:hidden;
    transition:.35s ease;
    box-shadow:0 10px 35px rgba(0,0,0,.08);
    position:relative;
}

.vehicle-card:hover{
    transform:translateY(-10px);
    box-shadow:0 25px 50px rgba(0,0,0,.15);
}

.vehicle-card img{
    width:100%;
    height:250px;
    object-fit:cover;
}

.vehicle-info{
    padding:15px;
    display:flex;
    flex-direction:column;
}

.vehicle-info h3{
    font-size:1rem;
    font-weight:600;
    margin-bottom:4px;

    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}

.vehicle-info p{
    color:#777;
    margin-bottom:4px;
}

.vehicle-bottom{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-top:auto;
}

.vehicle-bottom small{
    color:#999;
    margin:0;
}

.vehicle-price{
    font-size:1.2rem;
    font-weight:700;
    background:linear-gradient(90deg,#3c2b7f,#230a76);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
}

.currency{
    font-size:.65em;
    color:#888;
    -webkit-text-fill-color:#888; /* overrides parent's transparent text */
    background:none;
    font-weight:600;
    letter-spacing:1px;
    margin-right:4px;
}

.hidden{
    display:none !important;
}

.view-more-btn{
    display:block;
    margin:30px auto 0;
    padding:16px 45px;
    border:none;
    background:#111;
    color:white;
    border-radius:50px;
    cursor:pointer;
    font-weight:600;
    transition:.3s;
}

.view-more-btn:hover{
    transform:translateY(-4px);
}

#noResults{
    text-align:center;
    margin-top:60px;
}

#noResults h3{
    font-size:2rem;
    margin-bottom:10px;
}

#accountMsg{

    color:#ff8b8b;

    text-align:center;

    margin-top:14px;
}

@keyframes popup{

    from{
        opacity:0;
        transform:
        translateY(25px)
        scale(.94);
    }

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

.contact{
    text-align:center;
}

.contact h2{
    font-size:2.8rem;
    margin-bottom:20px;
}

.contact-items{
    display:flex;
    justify-content:center;
    align-items:center;
}

.location-block{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;

    text-align:center;

    text-decoration:none;

    color:#111;

    position:relative;
    z-index:2;
}

.location-block h3{
    color:#111;
}

.location-block p{
    color:#555;
    font-size:1rem;
    font-weight:500;
    margin-top:5px;
}

.maintenance-popup {
    position: fixed;
    top: 100px;
    right: 30px;

    max-width: 360px;
    width: calc(100% - 60px);

    padding: 14px 18px;

    background: rgba(17, 17, 17, 0.393);
    color: #fff;

    border-radius: 0;

    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.06);

    font-size: 14px;
    line-height: 1.4;

    opacity: 0;
    visibility: hidden;

    transform: translateY(-15px) scale(0.98);
    transition: all 0.25s ease;

    z-index: 5000;

    backdrop-filter: blur(10px);
}

.maintenance-popup.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.location-block p{
    font-size:1rem;
    color:#666;
}

.location-icon{
    position:relative;
    width:90px;
    height:90px;
    margin:0 auto;
    display:flex;
    justify-content:center;
    align-items:center;
}

.location-icon img{
    width:55px;
    position:relative;
    z-index:10;
    animation:bounce 2s ease-in-out infinite;
}

.location-icon::before,
.location-icon::after{
    content:"";
    position:absolute;
    border-radius:50%;
    border:2px solid rgba(212,160,23,.5);
    width:60px;
    height:60px;
    animation:ripple 2.5s infinite;
}

.location-icon::after{
    animation-delay:1.2s;
}

@keyframes ripple{

    0%{
        transform:scale(1);
        opacity:1;
    }

    100%{
        transform:scale(2.5);
        opacity:0;
    }

}

@keyframes bounce{

    0%,100%{
        transform:translateY(0);
    }

    50%{
        transform:translateY(-8px);
    }

}

.social{
    display:flex;
    justify-content:center;
    gap:35px;
}

.social img{
    width:55px;
    cursor:pointer;
    transition:.3s;
}

.social img:hover{
    transform:translateY(-4px);
}

.footer{
    background:#f4f1f1;
    color:rgb(0, 0, 0);
    text-align:center;
    padding:10px;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 78px;
    padding: 0 6%;

    display: flex;
    justify-content: space-between;
    align-items: center;

    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);

    z-index: 1000;
}

.navbar::before {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 1px;

    background: linear-gradient(
        90deg,
        transparent,
        rgba(212, 160, 23, 0.6),
        transparent
    );
}


.logo {
    position: relative;

    padding: 6px 14px;

    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;

    color: #111;

    z-index: 1;
}

.logo::before {
    content: "";

    position: absolute;
    inset: -6px -10px;

    z-index: -1;

    background: linear-gradient(
        135deg,
        rgba(212, 160, 23, 0.35),
        rgba(247, 215, 116, 0.25),
        rgba(0, 0, 0, 0.05)
    );

    border-radius: 12px 30px 18px 40px;
    transform: rotate(-2deg);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

.menu-wrapper {
    position: relative;
}

nav {
    display: flex;
    align-items: center;
    gap: 34px;
}

nav a {
    position: relative;

    padding: 6px 0;

    color: #242323;
    font-size: 1.2rem;
    font-weight: 500;

    transition: 0.3s;
}

nav a::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: -4px;

    width: 0;
    height: 2px;

    background: linear-gradient(90deg, #d4a017, #f7d774);
    border-radius: 10px;

    transition: 0.3s;
}

nav a:hover {
    color: #d4a017;
}

nav a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
}

.account-btn {
    width: 42px;
    height: 42px;

    display: flex;
    justify-content: center;
    align-items: center;

    margin-left: 10px;

    border-radius: 50%;
    cursor: pointer;

    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(0, 0, 0, 0.08);

    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);

    transition: 0.3s;
}

.account-btn:hover {
    transform: translateY(-2px) scale(1.05);
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(212, 160, 23, 0.4);
}

.account-btn img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
    object-position: center;

    border-radius: 50%;
}

@media screen and (max-width:768px){

html{
    scroll-padding-top:70px;
}

body{
    font-size:15px;
    overflow-x:hidden;
    min-height:auto;
}

.navbar{
    height:50px;
    padding:0 18px;
}

.logo{
    font-size:1rem;
    letter-spacing:2px;
    padding:4px 10px;
}

.logo::before{
    inset:-4px -6px;
}

.header-actions{
    gap:10px;
}

.menu-toggle{
    display:block;
    font-size:1.6rem;
}

nav{
    position:absolute;
    top:50px;
    right:10px;

    width:180px;

    display:none;
    flex-direction:column;
    gap:0;

    background:#fff;

    border:1px solid rgba(0,0,0,.06);
    box-shadow:0 20px 50px rgba(0,0,0,.15);

    border-radius:0;
    overflow:hidden;
}

nav.active{
    display:flex;
}

nav a{
    width:100%;
    padding:10px 12px;

    font-size:13px;
    font-weight:500;

    color:#222;

    border-bottom:1px solid #f1f1f1;

    transition:.2s ease;
}

nav a:hover{
    background:#f7f7f7;
    color:#d4a017;
}

nav a:last-child{
    border-bottom:none;
}

.account-btn{
    width:30px;
    height:30px;
}

.account-btn img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:.25s;
}

.hero{
    height:100vh;
    min-height:100vh;
}

.hero-content{
    padding:0 20px;
}

.hero-content h1{
    font-size:2.2rem;
    margin-bottom:12px;
}

.view-listings{
    padding:14px 28px;
    font-size:.9rem;
    border-radius:0;
}

.cars,
.contact{
    width:94%;
    padding:20px 0;
}

.section-head{
    margin-bottom:10px;
}

.section-head h2{
    font-size:1.5rem;
}

.section-head p{
    font-size:.9rem;
}

.search-container{
    margin-bottom:10px;
}

.search-bar{
    gap:10px;
}

.search-bar input{

    width:100%;
    height:36px;

    font-size:16px;

    padding:0 14px;

    border-radius:30px;
}

.filter-btn{
    width:46px;
    height:36px;
}

.filter-btn img{
    width:20px;
}

.filter-panel select{

    height:30px;

    font-size:15px;
}

.filter-panel{

    display:none;

    grid-template-columns:repeat(2,1fr);

    gap:5px;

    padding:10px;

    border-radius:0;
}

.filter-panel.active{
    display:grid;
}

.filter-panel select{

    height:46px;

    font-size:15px;
}

.filter-actions{

    grid-column:span 2;

    display:flex;

    gap:10px;
}

.filter-actions button{

    flex:1;

    height:36px;
    border-radius:44px;

    font-size:15px;
}

.car-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:12px;
}

.vehicle-card{
    display:flex;
    flex-direction:column;

    height:auto;

    border-radius:0;

    overflow:hidden;
}

.vehicle-card:hover{
    transform:none;
}

.vehicle-card img{
    width:100%;
    height:110px;
    object-fit:cover;
}

.vehicle-info{
    width:100%;
    padding:5px;
}

.vehicle-info h3{
    font-size:.92rem;
    line-height:1.25;
    margin-bottom:2px;

    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}

.vehicle-info p{
    font-size:.68rem;
    margin-bottom:2px;
}

.vehicle-bottom{
    margin-top:2px;
}

.vehicle-bottom small{
    font-size:.60rem;
}

.vehicle-bottom {
    gap: 6px;
    justify-content: space-between;
}

.vehicle-price {
    font-size: .75rem;
    display: flex;
    align-items: center;
    gap: 3px;
    white-space: nowrap;
}

.currency {
    font-size: .45rem;
    margin-right: 0;
}

.vehicle-card{
    box-shadow:0 8px 22px rgba(0,0,0,.08);
}

.vehicle-card img{
    border-bottom:1px solid rgba(0,0,0,.05);
}

.view-more-btn{

    margin:22px auto 0;

    padding:8px 34px;

    font-size:.9rem;
}

#noResults{

    margin-top:35px;
}

#noResults h3{

    font-size:1.5rem;
}

#noResults p{

    font-size:.9rem;
}

.contact h2{

    font-size:1.5rem;
}

.contact-items{

    flex-direction:column;

    gap:35px;
}

.social{

    gap:18px;

    flex-wrap:wrap;
}

.social img{

    width:42px;
}

.location-icon{

    width:70px;
    height:70px;
}

.location-icon img{

    width:42px;
}

.location-icon::before,
.location-icon::after{

    width:48px;
    height:48px;
}

.location-block h3{

    font-size:1.05rem;
}

.location-block p{

    font-size:.9rem;
}

.footer{

    padding:10px;

    font-size:.62rem;
}

.maintenance-popup {
        left: 50%;
        right: auto;

        transform: translate(-50%, -15px);
        width: calc(100% - 24px);
        max-width: 420px;
    }

    .maintenance-popup.show {
        transform: translate(-50%, 0);
    }

.cars::before,
.cars::after,
.contact::before,
.contact::after{

    opacity:.03;

    background-size:
        70px,
        70px,
        70px;
}

}

.saved-page {
    background: #f5f7fa;
}

.saved-page .navbar {
    height: 55px;
}

.saved-home-btn {
    padding: 5px 18px;
    border-radius: 40px;

    background: rgba(255,255,255,0.6);
    backdrop-filter: blur(18px);

    border: 1px solid rgba(0,0,0,0.08);

    font-weight: 600;
    font-size: 14px;

    transition: 0.3s ease;
}

.saved-home-btn:hover {
    transform: translateY(-2px);
    background: rgba(255,255,255,0.95);
}

.saved-hero {
    margin-top: 10px;
    text-align: center;
    padding: 50px 20px 2px;
}

.saved-hero p {
    color: #666;
    margin-top: 2px;
    font-size: 0.8rem;
}

.saved-container {
    width: 92%;
    max-width: 1400px;
    margin: auto;
    padding: 20px 0 60px;
}

.saved-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.saved-grid .vehicle-card img{
    height:155px;
    object-fit:cover;
}

.saved-grid .vehicle-info{
    padding:9px;
}

.saved-grid .vehicle-info h3{
    font-size:.9rem;
}

.saved-grid .vehicle-info p{
    font-size:.76rem;
}

.saved-grid .vehicle-bottom small{
    font-size:.7rem;
}

.saved-grid .vehicle-price{
    font-size:.95rem;
}

.saved-grid{
    gap:13px;
}

.empty-saved {
    text-align: center;
    margin-top: 60px;
    display: none;
}

.empty-saved h3 {
    font-size: 1rem;
    margin-bottom: 8px;
    color: #777;
}

.empty-saved p {
    color: #777;
}

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

.auth-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(10px);

    display: flex;
    justify-content: center;
    align-items: center;

    z-index: 9999;
}

.auth-box {
    width: 340px;
    padding: 25px;

    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(20px);

    border-radius: 0;
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);

    display: flex;
    flex-direction: column;
    gap: 12px;

    text-align: center;
}

.auth-box input {
    height: 35px;
    font-size: 16px;
    border-radius: 0;
    border: 1px solid rgba(0,0,0,0.1);
    padding: 0 12px;
    outline: none;
}

.auth-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.auth-box button {
    height: 35px;
    width: 150px;
    border: none;
    align-self: center;
    border-radius: 30px;
    background: linear-gradient(135deg,#d4a017,#f7d774);
    font-weight: 600;
    cursor: pointer;
}

.auth-box button#closeAuth {
    background: #111;
    color: white;
}

.hidden {
    display: none;
}

@media (max-width:768px){

    .saved-container{
        width:96%;
        padding:10px 0 30px;
    }

    .saved-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:10px;
    }

    .saved-grid .vehicle-card{
        border-radius:0;
        box-shadow:0 6px 18px rgba(0,0,0,.08);
    }

    .saved-grid .vehicle-card img{
        width:100%;
        height:105px;
        object-fit:cover;
    }

    .saved-grid .vehicle-info{
        padding:6px;
    }

    .saved-grid .vehicle-info h3{
        font-size:.82rem;
        margin-bottom:2px;

        white-space:nowrap;
        overflow:hidden;
        text-overflow:ellipsis;
    }

    .saved-grid .vehicle-info p{
        font-size:.66rem;
        margin-bottom:2px;
    }

    .saved-grid .vehicle-bottom{
        margin-top:2px;
        gap:4px;
    }

    .saved-grid .vehicle-bottom small{
        font-size:.58rem;
    }

    .saved-grid .vehicle-price{
        font-size:.78rem;
    }

    .saved-grid .currency{
        font-size:.45rem;
    }

}


:root{
    --bg:#f4f6f9;
    --card:#ffffff;
    --text:#111827;
    --muted:#6b7280;
    --border:#e5e7eb;

    --primary:#d40000;
    --primary-dark:#a80000;

    --success:#16a34a;
    --warning:#d18d00;
    --danger:#dc2626;

    --radius:16px;
    --shadow:0 12px 30px rgba(0,0,0,.08);
}

.bids-page{
    background:linear-gradient(180deg,#fafbfc,#eef2f7);
    min-height:100vh;
    font-family:'Poppins',sans-serif;
    color:var(--text);
}

.bids-page .navbar {
    height: 55px;
}

.bids-hero{
    padding:85px 20px 20px;
    text-align:center;
}

.bids-content{
    max-width:650px;
    margin:auto;
}

.bids-content h1{
    font-size:1.5rem;
    font-weight:600;
    margin-bottom:6px;
    letter-spacing:-0.3px;
    color:#16a34a;
}

.bids-content p{
    color:var(--muted);
    font-size:0.95rem;
}

.bid-form-section{
    max-width:1000px;
    margin:auto;
    padding:0 16px 60px;
}

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

.add-bid-btn{
    border:none;
    cursor:pointer;
    padding:9px 16px;
    border-radius:999px;
    background:#35581b;
    color:#ffffff;
    font-size:13px;
    font-weight:600;
    transition:.25s ease;
}

.form-wrapper{
    overflow:hidden;
    max-height:2000px;
    opacity:1;
    transition:.3s ease;
}

.form-wrapper.collapsed{
    max-height:0;
    opacity:0;
}

.bid-form{
    background:var(--card);
    border-radius:var(--radius);
    padding:16px;
    border:1px solid var(green);
    box-shadow:var(--shadow);
    margin-bottom:25px;
}

.form-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:10px;
}

.form-grid input,
.form-grid select,
.bid-form textarea{
    width:100%;
    height:42px;
    padding:10px 12px;
    font-size:16px;
    border-radius:10px;
    border:1px solid var(--success);
    background:#fafafa;
    outline:none;
    transition:.2s;
    font-family:inherit;
}

.bid-form textarea{
    min-height:100px;
    height:auto;
    margin-top:10px;
    resize:vertical;
}

.form-grid input:focus,
.form-grid select:focus,
.bid-form textarea:focus{
    border-color:var(--primary);
    background:#fff;
    box-shadow:0 0 0 3px rgba(186, 160, 28, 0.08);
}

#photos{
    width:100%;
    margin:12px 0;
    padding:10px;
    border-radius:10px;
    border:2px dashed #d6d6d6;
    background:#fafafa;
    cursor:pointer;
}

.submit-bid-btn{
    width:104px;
    height:35px;
    border:none;
    border-radius:42px;
    background:linear-gradient(135deg,#111,#2a2a2a);
    color:#0ff807;
    font-size:14px;
    font-weight:700;
    cursor:pointer;
    transition:.25s;

    margin-left: auto;
    display: block;
}

.submit-bid-btn:hover{
    background:linear-gradient(135deg,var(--primary),var(--primary-dark));
    transform:translateY(-2px);
}

.bids-list{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:12px;
}

.bid-card{
    background:#fff;
    border-radius:0;
    padding:12px;
    border:1px solid var(--border);
    box-shadow:0 10px 20px rgba(0,0,0,.06);
    position:relative;
    transition:.25s;
}

.bid-card:hover{
    transform:translateY(-4px);
    box-shadow:0 18px 40px rgba(0,0,0,.12);
}

.bid-card h3{
    font-size:13px;
    font-weight:700;
    margin-bottom:5px;

    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
}

.bid-meta{
    display:inline-flex;
    font-size:10.5px;
    padding:4px 8px;
    margin:0 4px 6px 0;
    border-radius:0;
    background:#f3f4f6;
    color:#555;
    font-weight:600;
}

.bid-card p{
    font-size:11px;
    margin-top:4px;
    color:var(--muted);

    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
}

.bid-status{
    margin-top:10px;
    font-size:11px;
    font-weight:700;
    display:flex;
    gap:6px;
    align-items:center;
}

.bid-status span{
    padding:4px 8px;
    border-radius:0;
    font-size:10px;
    text-transform:uppercase;
}

.awaiting-review{
    background:#fff5d6;
    color:var(--warning);
}

.accepted{
    background:#dcfce7;
    color:var(--success);
}

.rejected{
    background:#fee2e2;
    color:var(--danger);
}

@media (max-width:768px){

    .bids-hero{
        padding:60px 14px 15px;
        text-align:left;
    }

    .bids-content h1{
        font-size:1.4rem;
    }

    .bid-form-section{
        padding:0 12px 40px;
    }

    .bid-header h2{
        font-size:1rem;
    }

    .form-grid{
        grid-template-columns:1fr;
        gap:8px;
    }

    .bid-form{
        padding:12px;
    }

    .form-grid input,
    .form-grid select,
    .bid-form textarea{
        height:40px;
        font-size:16px;
    }

    .bid-form textarea{
        min-height:85px;
    }

    .bids-list{
        grid-template-columns:1fr;
        gap:10px;
    }

    .bid-card{
        padding:10px;
    }

    .bid-card h3{
        font-size:12.5px;
    }

    .bid-meta{
        font-size:10px;
        padding:3px 7px;
    }

    .bid-card p{
        font-size:10.5px;
    }

    .submit-bid-btn{
        height:35px;
        font-size:13px;
    }
}

.add-bid-btn{
    transition: .25s ease;
}

.add-bid-btn.active{
    background: #d30000;
    color: #fff;
}

.modal{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.55);
    backdrop-filter:blur(8px);
    display:flex;
    align-items:center;
    justify-content:center;
    z-index:9999;
}

.hidden{
    display:none;
}

.modal-box{
    width:320px;
    background:#fff;
    padding:18px;
    border-radius:0;
    box-shadow:0 25px 60px rgba(0,0,0,.25);
    text-align:center;
    animation:popup .2s ease;
}

.modal-box p{
    font-size:13px;
    color:#555;
    line-height:1.5;
}

.modal-actions{
    display:flex;
    gap:10px;
    margin-top:15px;
}

.btn-cancel,
.btn-confirm{
    flex:1;
    border:none;
    padding:10px;
    border-radius:30px;
    cursor:pointer;
    font-weight:600;
    font-size:13px;
}

.btn-cancel{
    background:#dd2424;
    color:#fff;
}

.btn-confirm{
    background:#156920;
    color:#fff;
}

.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.85);
    color: white;
    padding: 12px 18px;
    border-radius: 8px;
    font-size: 14px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 9999;
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(-5px);
}

#navMenu.active,
#accountMenu.active {
    z-index: 9999;
}

.auth-box {
    position: relative;
}

.auth-close {
    position: absolute;
    top: 10px;
    right: 12px;

    font-size: 20px;
    font-weight: bold;
    cursor: pointer;

    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    transition: 0.2s;
}

.auth-close:hover {
    background: rgba(0,0,0,0.08);
}

.cookie-banner{
    position:fixed;
    left:50%;
    bottom:24px;
    transform:translateX(-50%);
    width:min(92%, 920px);

    background:rgba(18,18,18,.95);
    backdrop-filter:blur(12px);
    -webkit-backdrop-filter:blur(12px);

    color:#fff;
    border:1px solid rgba(255,255,255,.08);
    border-radius:0;
    box-shadow:
        0 20px 60px rgba(0,0,0,.35),
        0 8px 20px rgba(0,0,0,.2);

    padding:22px 26px;
    z-index:99999;

    animation:cookieSlide .4s ease;
}

@keyframes cookieSlide{
    from{
        opacity:0;
        transform:translate(-50%,40px);
    }
    to{
        opacity:1;
        transform:translate(-50%,0);
    }
}

.cookie-content{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
}

.cookie-content p{
    margin:0;
    font-size:15px;
    line-height:1.7;
    color:#f3f3f3;
    flex:1;
}

.cookie-content p a{
    color:#ffd54f;
    text-decoration:none;
    font-weight:600;
}

.cookie-content p a:hover{
    text-decoration:underline;
}

.cookie-buttons{
    display:flex;
    align-items:center;
    gap:12px;
    flex-shrink:0;
}

.cookie-buttons button{
    border:none;
    border-radius:32px;
    padding:10px 20px;
    font-size:14px;
    font-weight:700;
    cursor:pointer;
    transition:
        transform .2s ease,
        background .2s ease,
        box-shadow .2s ease;
}

.cookie-buttons button:hover{
    transform:translateY(-2px);
}

.cookie-buttons button:active{
    transform:translateY(0);
}

#acceptCookies{
    background:#ffb300;
    color:#111;
    box-shadow:0 6px 18px rgba(255,179,0,.35);
}

#acceptCookies:hover{
    background:#ffc107;
}

#rejectCookies{
    background:transparent;
    color:#fff;
    border:1px solid rgba(255,255,255,.2);
}

#rejectCookies:hover{
    background:rgba(255,255,255,.08);
}

.hidden{
    display:none !important;
}

@media (max-width:768px){

    .cookie-banner{
        bottom:15px;
        width:calc(100% - 24px);
        padding:18px;
        border-radius:0;
    }

    .cookie-content{
        flex-direction:column;
        align-items:center;
        gap:15px;
    }

    .cookie-content p{
        font-size:14px;
        text-align:center;
    }

    .cookie-buttons{
        width:250px;
        height:30px;
    }

    .cookie-buttons button{
        flex:1;
        padding:10px 0;
    }

}

.account-menu {
    position: absolute;
    top: 55px;
    right: 0;

    width: 240px;

    display: flex;
    flex-direction: column;

    background: #ffffff;
    border-radius: 0;

    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.06);

    overflow: hidden;

    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);

    transition: all 0.25s ease;

    z-index: 2000;
}

.account-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.account-links {
    display: flex;
    flex-direction: column;
}

.account-menu a {
    padding: 12px 14px;

    font-size: 14px;
    font-weight: 500;

    color: #222;

    border-bottom: 1px solid #f1f1f1;

    transition: 0.2s ease;
}

.account-menu a:hover {
    background: #f7f7f7;
    color: #d4a017;
}

.account-menu a:last-child {
    border-bottom: none;
}

.account-menu a.logout-btn {
    color: #e53935;
    font-weight: 600;
}

@media (max-width: 768px) {

    .account-menu {
        width: 180px;
        top: 50px;
        right: 10px;

        border-radius: 0;
    }

    .user-email-display {
        font-size: 11px;
        padding: 10px 12px;
    }

    .account-menu a {
        font-size: 13px;
        padding: 10px 12px;
    }
}

.user-email-display {
    padding: 10px 12px;
    font-size: 8px;
    color: #6b7280;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    pointer-events: none;
    user-select: none;
    font-weight: 600;
}

.saved-link {
    display: flex;
    align-items: center;
    gap: 4px;
}

.saved-icon {
    width: 15px !important;
    height: 15px !important;
    max-width: 18px !important;
    max-height: 18px !important;
    object-fit: contain;
    display: inline-block;
    flex-shrink: 0;
}

.loading-overlay{
    position:fixed;
    inset:0;
    background:rgba(255, 255, 255, 0.147);
    backdrop-filter:blur(6px);
    display:flex;
    justify-content:center;
    align-items:center;
    z-index:99999;
    opacity:1;
    transition:.25s ease;
}

.loading-overlay.hidden{
    opacity:0;
    visibility:hidden;
    pointer-events:none;
}

.loading-box{
    width:340px;
    background:#ffffff28;
    border-radius:20px;
    padding:35px;
    text-align:center;
    box-shadow:0 25px 60px rgba(41, 60, 41, 0.18);
    border:1px solid #ececec20;
}

.loading-box h3{
    margin:18px 0 8px;
    font-size:1.2rem;
    color:#111827;
    font-weight:600;
}

.loading-box p{
    color:#6b7280;
    font-size:.95rem;
    line-height:1.5;
}

.loading-spinner{
    width:58px;
    height:58px;
    margin:auto;
    border:5px solid #ececec30;
    border-top:5px solid #2a4820;
    border-radius:50%;
    animation:spin .8s linear infinite;
}

@keyframes spin{
    to{
        transform:rotate(360deg);
    }
}

.profile-box{
    position:relative;
    width:400px;
    max-width:92vw;
    padding:26px;
    background:#fff;
    border-radius:0;
    display:flex;
    flex-direction:column;
    gap:14px;
    box-shadow:0 20px 50px rgba(0,0,0,.14);
    animation:profilePopup .2s ease;
}

@keyframes profilePopup{
    from{
        opacity:0;
        transform:translateY(12px) scale(.98);
    }
    to{
        opacity:1;
        transform:translateY(0) scale(1);
    }
}

.profile-avatar{
    width:92px;
    height:92px;
    margin:0 auto;
    border-radius:50%;
    overflow:hidden;
    border:3px solid #22c55e;
    background:#f4f4f4;
    box-shadow:0 8px 18px rgba(34,197,94,.2);
}

.profile-avatar img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:.25s;
}

.profile-avatar:hover img{
    transform:scale(1.05);
}

#changePhoto{
    width:150px;
    height:38px;
    margin:0 auto 4px;
    border:none;
    border-radius:20px;
    background:#f3f4f6;
    color:#333;
    font-size:13px;
    font-weight:600;
    cursor:pointer;
    transition:.2s;
}

#changePhoto:hover{
    background:#22c55e;
    color:#fff;
}

.profile-box input{
    width:100%;
    height:46px;
    padding:0 15px;
    border:1px solid #d9d9d9;
    border-radius:10px;
    background:#fff;
    font-size:16px;
    outline:none;
    transition:.2s;
}

.profile-box input:focus{
    border-color:#22c55e;
    box-shadow:0 0 0 3px rgba(34,197,94,.15);
}

#profileEmail{
    background:#f7f7f7;
    color:#777;
    cursor:not-allowed;
}

#saveProfile{
    width:120px;
    height:42px;
    margin-top:6px;
    margin-left:auto;
    border:none;
    border-radius:10px;
    background:#22c55e;
    color:#fff;
    font-size:14px;
    font-weight:600;
    cursor:pointer;
    transition:.2s;
}

#saveProfile:hover{
    background:#16a34a;
}

.auth-close{
    position:absolute;
    top:14px;
    right:14px;
    width:34px;
    height:34px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:#f4f4f4;
    color:#555;
    font-size:17px;
    cursor:pointer;
    transition:.2s;
}

.auth-close:hover{
    background:#ef4444;
    color:#fff;
}

@media (max-width:768px){

    .profile-box{
        width:69%;
        max-width:270px;
        padding:17px;
        gap:9px;
        border-radius:0;
    }

    .profile-avatar{
        width:62px;
        height:62px;
    }

    #changePhoto{
        width:75%;
        height:32px;
        margin-bottom:2px;
    }

    .profile-box input{
        height:33px;
        font-size:16px;
    }

    #saveProfile{
        width:90px;
        height:32px;
        margin-left:auto;
    }

    .auth-close{
        top:9px;
        right:9px;
        width:24px;
        height:24px;
    }
}

.footer-credit{
    display:block;
    margin-top:4px;
    font-size:inherit; /* Same size as copyright */
    color:inherit;
    text-decoration:none;
    transition:.3s;
}

.footer-credit:hover{
    color:#d4af37;
}