* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}
:root {
  /* Brand Primary Colors */
  --color-primary: #5B1F1F;       /* Deep Maroon */
  --color-accent: #D55B2B;        /* Terracotta */
  --color-secondary: #7A7745;     /* Olive Green */
  
  /* Neutrals */
  --color-background: #FAF3EB;    /* Soft Sand / Beige */
  --color-surface: #FDF1E3;       /* Lighter background alternative */
  --color-light-bg: #f9f3ef;      /* Light beige for cards */
  --color-text-dark: #2C1B1B;     /* Rich dark text */
  --color-text-light: #FFFFFF;    /* White for text on dark buttons */
  
  /* Utility Colors */
  --color-border: #E0D6CC;        /* Light beige for borders/separators */
  --color-hover: #B54821;         /* Darker shade of terracotta for hover */
  --color-disabled: #CFC6BB;      /* Muted neutral for disabled elements */
  
  /* Feedback (if needed later) */
  --color-success: #5A824D;
  --color-error: #B23A48;
  --color-warning: #D98E04;
}


body {
    background-color: var(--color-light-bg);
    overflow-x: hidden;
    color: var(--color-text-dark);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 400;
    line-height: 1.6;
}

a{
    text-decoration: none;
    text-emphasis: none;
    color: var(--color-accent);
}

.radio-group input{
    width: 10% !important;
}
/* Profile Page Styles */
.profile-container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
    font-family: 'Marcellus', serif;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.profile-header {
    background: var(--color-background);
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 20px;
}

.profile-avatar {
    font-size: 4rem;
    color: var(--color-text-light);
}

.profile-info h2 {
    color: var(--color-text-dark);
    margin-bottom: 5px;
}

.profile-info p {
    color: var(--color-text-dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

.orders-section {
    background: var(--color-background);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.orders-section h3 {
    color: var(--color-text-dark);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.orders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.order-card {
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 20px;
    transition: transform 0.2s;
}

.order-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--color-border);
}

.order-id {
    display: flex;
    flex-direction: column;
}

.order-id small {
    color: #888;
    font-size: 0.8em;
}

.order-status {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 600;
}

.order-status.processing {
    background: #e3f2fd;
    color: #1976d2;
}

.order-status.delivered-to-admin {
    background: var(--color-success);
    color: var(--color-text-dark);
}

.order-status.failed {
    background: var(--color-error);
    color: var(--color-text-dark);
}

.order-items {
    margin: 15px 0;
}

.order-item {
    padding: 10px 0;
    border-bottom: 1px solid var(--color-border);
}

.item-name {
    color: var(--color-primary);
    margin-bottom: 5px;
}

.item-details {
    display: flex;
    justify-content: space-between;
    color: var(--color-secondary);
    font-size: 0.9em;
}

.order-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
}

.order-total {
    color: var(--color-primary);
    font-size: 1.1em;
}

.order-date {
    color: var(--color-secondary);
    font-size: 0.9em;
}

.order-address {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--color-border);
    color: var(--color-text-dark);
    font-size: 0.9em;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.no-orders {
    text-align: center;
    padding: 40px 20px;
    color: #666;
}

.no-orders i, .no-orders img {
    display: block;
    margin: 0 auto 20px auto;
}
.no-orders h2 {
    color: var(--color-text-dark);
    font-family: 'Marcellus', serif;
    font-weight: 400;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}
.no-orders p {
    color: #555;
    font-size: 1.1rem;
}

.shop-now-btn {
    background: var(--color-accent);
    color: #fff;
    padding: 10px 28px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.2s;
}
.shop-now-btn:hover {
    background: var(--color-hover);
}

@media (max-width: 768px) {
    .profile-container {
        padding: 10px;
    }

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



.profile-header {
    background: var(--color-background);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.orders-section {
    background: var(--color-background);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow-x: auto;
}

.order-card {
    border: 1px solid #eee;
    border-radius: 8px;
    margin-bottom: 15px;
    padding: 15px;
}

.order-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--color-border);
}

.order-status {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.9em;
    background: #e3f2fd;
    color: #1976d2;
}

.order-total {
    margin-top: 10px;
    text-align: right;
    color: var(--color-text-dark);
}

.order-address {
    margin-top: 10px;
    color: var(--color-secondary);
}

.profile-container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
}

.order-status.pending {
    background: #fff3cd;
    color: #856404;
}

.order-status.processing {
    background: #cce5ff;
    color: #004085;
}

.order-status.shipped {
    background: #d4edda;
    color: #155724;
}

.order-status.delivered {
    background: #c3e6cb;
    color: #155724;
}

.order-items {
    margin: 10px 0;
}

.order-item {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
    border-bottom: 1px solid var(--color-border);
    flex-direction: column;
}

.order-item-title{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.order-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--color-border);
}

.no-orders {
    text-align: center;
    color: #666;
    padding: 20px;
}

/* Carousel Container */
.banner-carousel {
    position: relative;
    width: 100%;
    height: 50vh;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.banner {
    position: relative;
    width: 100%;
    height: 50vh;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 1s ease;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 1s ease;
}

.mobile{
    display: none;
}

.pc{
    display: block;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 1;
}

/* Overlay for darkening the entire image */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

/* Text Styling */
.carousel-slide h2 {
    font-size: 2rem;
    font-family: 'Marcellus', serif;
    font-weight: 400;
    letter-spacing: 0.5px;
    color: var(--color-text-light);
    text-align: center;
    position: relative;
    z-index: 2;
    /* Ensure text appears above the overlay */
}

/* Carousel Controls */
/* .carousel-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 20px;
    z-index: 3;
} */

.carousel-prev,
.carousel-next {
    font-size: 2rem;
    color: white;
    cursor: pointer;
    transition: color 0.3s ease;
}

.carousel-prev:hover,
.carousel-next:hover {
    color: #ff9a9e;
}


/* Header Section */
.header {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    padding: 10px 50px;
    width: 100%;
    box-sizing: border-box;
    background: var(--color-background);
    border-bottom: var(--color-border) solid 1px;
    position: sticky;
    top: 0;
    left: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    gap: 0;
}

.header a {
    text-decoration: none;
}

.header h1 {
    font-size: 2rem;
    font-family: 'Marcellus', serif;
    font-weight: 400;
    letter-spacing: 0.5px;
    color: var(--color-primary);
}

h1{
    font-size: 2rem;
    font-family: 'Marcellus', serif;
    font-weight: 400;
    letter-spacing: 0.5px;
    color: var(--color-primary);
}

.header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 24px;
}

.header-logo {
    flex: 1 1 0;
    text-align: left;
}

.header-logo img {
    height: 50px;
    width: auto;
    display: block;
    object-fit: contain;
    margin: 0;
    padding: 0;
}

.header-icons {
    flex: 1 1 0;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
}

.header-icons i:hover {
    color: var(--color-hover);
    transition: 0.3s ease;
}

.header-icons a {
    text-decoration: none;
    color: var(--color-primary);
}

.navbar-search-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    margin-top: 0;
    margin-bottom: 0;
}

.navbar-search-form {
    display: flex;
    width: 100%;
    max-width: 600px;
    overflow: hidden;
    background: var(--color-surface);
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
    border: 1px solid var(--color-border);
}

.navbar-search-form input[type="text"] {
    flex: 1;
    border: none;
    outline: none;
    padding: 10px 10px;
    font-size: 0.8rem;
    color: #444;
    background: var(--color-surface);
}

.navbar-search-form input[type="text"]::placeholder {
    color: var(--color-text-dark);
    opacity: 0.8;
}

.navbar-search-form button {
    background: var(--color-accent);
    border: none;
    color: var(--color-text-light);
    width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s;
    /* border-radius: 0 4px 4px 0; */
}

.navbar-search-form button:hover {
    background: var(--color-hover);
}

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

/* Hide mobile search by default, show desktop search */
.navbar-search-mobile {
    display: none !important;
}
.navbar-search-desktop {
    display: flex !important;
    min-width: 510px;
}

/* On mobile, swap visibility */
@media (max-width: 768px) {
    .navbar-search-desktop {
        display: none !important;
    }
    .navbar-search-mobile {
        display: flex !important;
        width: 100%;
        justify-content: center;
        margin-top: 10px;
    }
    
    .header {
        flex-direction: column;
        align-items: stretch;
        padding: 10px 8px;
        gap: 0;
    }
    .header-row {
        width: 100%;
    }
    .navbar-search-wrapper {
        width: 100%;
        margin-top: 10px;
    }
    .header-icons {
    flex: 2 1 0;
    }

    .pc{
        display: none;
    }
    .mobile{
        display: block;
    }
  
}

.auth-link {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 1.2em;
    padding: 5px 10px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.auth-link:hover {
    background: var(--color-surface);
}

.user-greeting {
    font-family: 'Marcellus', serif;
    font-weight: 200;
    /* letter-spacing: 0.5px; */
    color: var(--color-primary);
    font-size: 1.2em;
}

/* Horizontal Tabs */
.tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    overflow-x: auto;
    padding: 7px 15px;
    background-color: var(--color-surface);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.tab {
    cursor: pointer;
    padding: 0px 15px;
    position: relative;
    color: var(--color-text-dark);
    background: none;
    transition: color 0.2s;
}

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

.tab.active::after {
    content: "";
    display: block;
    margin: 0 auto;
    width: 60%;
    height: 3px;
    background: var(--color-accent);
    border-radius: 2px;
    transition: width 0.3s cubic-bezier(.4,0,.2,1);
    animation: tab-underline-in 0.3s cubic-bezier(.4,0,.2,1);
}

@keyframes tab-underline-in {
    from { width: 0; }
    to   { width: 60%; }
}



/* Product Section */
.products {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 8px;
    background-color: var(--color-text-light);
}

.product-card {
    background: #f9f3ef;
    border: 1px solid var(--color-border);
    /* border-radius: 8px; */
    padding: 5px;
    width: calc(20% - 8px);
    /* Default: three cards per row */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.product-card .price {
    font-size: 1rem;
}

.product-card a {
    text-decoration: none;
}

.product-card h4,
p {
    color: var(--color-primary);
    /* font-weight: normal; */
}

.product-card-image-wrapper {
    position: relative; 
    width: 100%;
    aspect-ratio: 1/1;
    overflow: hidden;
    border-radius: 8px;
    background: var(--color-text-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.discount-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background-color: #e53935;
    color: white;
    padding: 4px 6px;
    font-size: 12px;
    font-weight: bold;
    border-radius: 3px;
    z-index: 10;
}

.show-more-btn {
    background: var(--color-accent, #e75480);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 12px 36px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}
.show-more-btn:hover { background: #c13b67; }

.product-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

.product-card:hover {
    transform: scale(1.01);
    transition: 0.3s ease;
}

/* Responsive styling for smaller screens */
@media (max-width: 768px) {
    .products {
        gap: 5px;
    }

    .product-card {
        width: calc(50% - 3px);
        /* Two cards per row for screens 768px and below */
    }

    .product-card h4,
    p {
        color: var(--color-primary);
        font-size: 0.8rem;
    }

    .product-card .price {
        font-size: 0.9rem;
    }

    /* .product-card img {
        height: 100px;
    } */
}

/* Footer */
/* Modern Footer */
.footer {
  background: var(--color-background);
  border-top: 1px solid var(--color-border);
  margin-top: 40px;
  font-size: 1rem;
  color: var(--color-text-dark);
  padding: 0;
}
.footer-main {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px 20px 20px;
  flex-wrap: wrap;
}
.footer-about {
  flex: 2;
  min-width: 260px;
  max-width: 350px;
}
.footer-logo {
  height: 38px;
  margin-bottom: 18px;
}
.footer-about p {
  color: var(--color-text-dark);
  font-size: 1em;
  margin-bottom: 18px;
}
.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}
.footer-social a {
  background: var(--color-primary);
  color: var(--color-text-light);
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1.1em;
  transition: background 0.2s, color 0.2s;
}
.footer-social a:hover {
  background: var(--color-accent);
  color: var(--color-text-light);
}
.footer-links {
  flex: 1.2;
  min-width: 180px;
}
.footer-links h3 {
  font-size: 1.15em;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--color-primary);
}
.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  margin-bottom: 10px;
}
.footer-links a {
  color: var(--color-text-dark);
  text-decoration: none;
  transition: color 0.2s;
  font-size: 1em;
  display: flex;
  align-items: center;
  gap: 7px;
}
.footer-links a i {
  color: var(--color-accent);
  font-size: 0.9em;
}
.footer-links a:hover {
  color: var(--color-hover);
}
.footer-bottom {
  background: var(--color-primary);
  color: var(--color-text-light);
  font-size: 0.97em;
  padding: 14px 0 10px 0;
  text-align: center;
}
.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}
.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  align-items: center;
  margin-top: 4px;
}
.footer-bottom-links a {
  color: var(--color-text-light);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-bottom-links a:hover {
  color: var(--color-accent);
}
.footer-brand {
  color: var(--color-accent);
  font-weight: 600;
}
@media (max-width: 900px) {
  .footer-main {
    flex-direction: column;
    gap: 32px;
    padding: 32px 10px 10px 10px;
  }
  .footer-links, .footer-about {
    max-width: 100%;
  }
}
/* Carousel */
.carousel {
    position: relative;
    width: 100vw;
    overflow: hidden;
    margin-top: 20px;
}

.carousel img {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    animation: slide-animation 10s infinite;
}

@keyframes slide-animation {

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

    50% {
        transform: translateX(-100%);
    }
}

.cart-icon {
    position: fixed;
    bottom: 15px;
    right: 15px;
    background: var(--color-accent);
    color: var(--color-text-light);
    padding: 15px 17px;
    border-radius: 50%;
    z-index: 2;
}

.cart-icon:hover {
    background: var(--color-hover);
    transition: 0.3s ease;
    /* transform: translate(-10%, -10%); */
    /* padding: 20px 23px; */
}

/* Product page */
.container {
    /* background: var(--color-surface); */
    /* margin: 1rem; */
    padding: 0;
    color: var(--color-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    /* height: 100vh; */
}

.product-container {
    display: flex;
    flex-direction: column;
    gap: 36px;
    width: 90%;
    background: var(--color-text-light);
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.08);
    padding: 30px 20px;
}

.product-main-row {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.carousel-container {
    flex: 1.2;
    min-width: 320px;
}

.product-details {
    flex: 2;
    min-width: 280px;
}

.custom-input{
    margin-top: 1rem;
}

.custom-input input{
    width: 95%;
    margin-top: 2rem !important;
  padding: 12px 14px;
  border: 1.5px solid var(--color-border);
  border-radius: 10px;
  font-size: 1em;
  background: #fff;
  margin-top: 4px;
  transition: border 0.2s;
}

.product-side-column {
    display: flex;
    flex-direction: column;
    gap: 28px;
    align-items: center;
    width: 100%;
}

.product-specs-table{
    justify-content: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 92%;
}

.product-videos-full video {
    width: 100%;
    max-width: 900px;
    margin-bottom: 18px;
    border-radius: 10px;
    background: #eee;
    box-shadow: 0 2px 16px rgba(0,0,0,0.07);
}

.seller-product-logo{
    width: 85px;
    height: 85px;
    object-fit: contain;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.seller-header-row{
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: center;
    justify-content: center;
    margin: 15px 0;
}

.seller-slider-section{
    margin: 40px 15px;
}

.seller-product-slider{
    display: flex;
    overflow-x: auto;
    gap: 18px;
    padding-bottom: 10px;
    padding: 10px;
}

.seller-product-slider::-webkit-scrollbar {
    height: 8px;
    background: #f3f3f3;
}
.seller-product-slider::-webkit-scrollbar-thumb {
    background: var(--color-accent);
    border-radius: 8px;
}
@media (max-width: 700px) {
    .seller-product-slider .product-card,
    .seller-product-slider .wildcard-card {
        min-width: 70vw;
        flex: 0 0 70vw;
    }
}

@media (max-width: 900px) {
    .product-main-row {
        flex-direction: column;
        gap: 24px;
    }
    .carousel-container, .product-details {
        min-width: 0;
        width: 100%;
    }
    .seller-header-row {
        flex-direction: column;
        align-items: center;
    }
}

/* Carousel Section */
.carousel-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.carousel-image-wrapper {
    width: 100%;
    aspect-ratio: 1 / 1;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background: #fafafa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    opacity: 0;
    z-index: 0;
    transition: opacity 0.7s cubic-bezier(.4,0,.2,1);
    position: absolute;
    top: 0; left: 0;
}

.carousel-image.active {
    opacity: 1;
    z-index: 1;
}

.carousel-controls {
    position: static;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    margin-top: 18px;
    z-index: 2;
}

.carousel-controls i {
    font-size: 0.8rem;
    border-radius: 10%;
    padding: 7px 10px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.18);
    cursor: pointer;
    transition: background 0.3s, color 0.3s, transform 0.2s;
    opacity: 0.95;
    border: 1px solid var(--color-border);
}

.carousel-controls i:hover {
    background: var(--color-accent);
    color: var(--color-text-light);
    transform: scale(1.12);
    border: 1px solid var(--color-border);
    opacity: 1;
}

.carousel-thumbnails {
    display: flex;
    align-items: center;
    gap: 10px;
}

.carousel-thumb {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 6px;
    opacity: 0.5;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border: 2px solid transparent;
    cursor: pointer;
}

.carousel-thumb.thumb-center {
    width: 60px;
    height: 60px;
    opacity: 1;
    border: 2px solid var(--color-accent);
    box-shadow: 0 4px 16px rgba(231,84,128,0.15);
    z-index: 2;
}

.carousel-thumb.thumb-left,
.carousel-thumb.thumb-right {
    filter: grayscale(60%);
    opacity: 0.6;
    z-index: 1;
}

/* Product Details Section */
.product-details {
    flex: 1;
    padding: 20px;
}

.product-details h1 {
    font-family: 'Marcellus', serif;
    font-weight: 400;
    letter-spacing: 0.5px;
    font-size: 2em;
}

.review-stars {
    color: #f4c150;
    font-size: 1.2em;
}

.price,
.discounted-price {
    font-size: 1.6em;
}

.price text {
    text-decoration: line-through;
}

.discounted-price {
    /* color: #ff9a9e; */
    color: var(--color-success);
    margin-right: 10px;
    text-decoration: none !important;
}

.description {
    font-size: 1em;
    color: var(--color-secondary);
    line-height: 1.6;
    margin: 20px 0;
}

.add-to-cart {
    padding: 12px 30px;
    font-size: 1em;
    color: var(--color-text-light);
    background-color: var(--color-accent);
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.add-to-cart:hover {
    background-color: var(--color-hover);
}

.product-specs {
    font-size: 0.9em;
    color: var(--color-text-dark);
    margin-top: 20px;
}

.product-specs h2 {
    font-size: 1.4em;
    margin-bottom: 10px;
}

.product-specs ul {
    list-style: disc inside;
    margin: 0 0 0 12px;
    padding: 0;
    color: var(--color-secondary);
}

.product-videos video {
    border: 1px solid var(--color-border);
    background: #fafafa;
}

.play-icon {
    pointer-events: none;
    transition: transform 0.1s;
}
.video-lazy-wrapper:hover .play-icon {
    transform: translate(-50%,-50%) scale(1.08);
}

.product-videos-full video {
    min-width: 100%;
    margin-bottom: 18px;
    border-radius: 10px;
    background: #eee;
    box-shadow: 0 2px 16px rgba(0,0,0,0.07);
}

.product-specs-table table {
    border-radius: 8px;
    overflow: hidden;
    font-size: 1em;
}

.product-specs-table tr:nth-child(even) {
    background: #f3f3f3;
}

.product-specs-table td {
    border-bottom: 1px solid #eee;
}

.product-specs-table tr:last-child td {
    border-bottom: none;
}

@media (max-width: 768px) {
    .product-container {
        flex-direction: column;
    }
}

/* Popup Container */
.popup-container {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

/* Popup Content */
.popup-content {
    position: relative;
    width: 90%;
    max-width: 600px;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    animation: fadeIn 0.3s ease;
}

/* Close Button */
.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 1.5rem;
    cursor: pointer;
    color: #ff9a9e;
    transition: color 0.3s ease;
}

.close-btn:hover {
    color: #333;
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

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


/* Cart */
.cart-container {
    width: 90%;
    max-width: 1000px;
    margin: 30px auto;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    padding: 20px;
}


/* h1.page-title {
    font-size: 2rem;
    color: #333;
    text-align: center;
    margin: 40px 0 20px;
} */

/* Cart Item */
.cart-item {
    display: flex;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid #e0e0e0;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 20px;
}

.old-price { 
    text-decoration: line-through;
    color: gray;
}
.new-price { 
    font-weight: bold;
    color: green;
}


/* Product Details */
.cart-item-details {
    flex: 1;
    color: #555;
}

.cart-item-details h3 {
    font-size: 1.2rem;
    color: #333;
}

.cart-item-details p {
    font-size: 0.9rem;
    color: #666;
    margin: 5px 0;
}

.cart-submit{
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.quantity-btn i {
    color: #e75480; /* or #333 for dark gray */
    font-size: 1.2rem;
    transition: color 0.2s;
}

.quantity-btn:hover i {
    color: #d13b6b;
}

/* Update Form */
.update-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.update-form input[type="number"] {
    width: 60px;
    padding: 5px;
    font-size: 1rem;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #f5f5f5;
}



@media (max-width: 600px) {
    .cart-item {
        align-items: normal;
    }

    .cart-item img {
        width: 80px;
        height: 80px;
        margin-bottom: 10px;
    }

    /* .cart-item-details,
    .update-form {
        width: 100%;
    } */

    .update-form {
        justify-content: space-between;
        display: flex;
        flex-direction: column;
    }
}

/* Total Section */
.total-section {
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    margin: 20px auto;
}

.total-section h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 15px;
    text-align: center;
    font-family: 'Marcellus', serif;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.total-section .total-breakdown {
    display: flex;
    justify-content: space-between;
    font-size: 1rem;
    color: #555;
    padding: 8px 0;
    border-bottom: 1px solid #e0e0e0;
}

.total-section .total-breakdown:last-child {
    border-bottom: none;
    font-weight: bold;
    color: #333;
}

.total-section .total-price {
    font-size: 1.2rem;
    color: #ff6f61;
    font-weight: bold;
    text-align: center;
    margin-top: 15px;
}

.total-section .checkout-btn {
    display: block;
    width: 100%;
    padding: 12px;
    background-color: #ff6f61;
    color: white;
    font-weight: bold;
    font-size: 1.1rem;
    text-align: center;
    text-transform: uppercase;
    border-radius: 5px;
    margin-top: 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.total-section .checkout-btn:hover {
    background-color: #e65a50;
}

/* Responsive Design */
@media (max-width: 600px) {
    .total-section {
        padding: 15px;
        max-width: 90%;
    }

    .total-section h2 {
        font-size: 1.3rem;
    }

    .total-section .total-breakdown {
        font-size: 0.9rem;
    }

    .total-section .total-price {
        font-size: 1.1rem;
    }
}

.total-breakdown {
    display: flex;
    justify-content: space-between;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.checkout-form {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
}

.checkout-form h2 {
    margin-top: 0;
}

/* .form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
} */

.pay-now-btn {
    background-color: #3a2e2e;
    /* Dark button */
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
}

.pay-now-btn:hover {
    background-color: #5c4f4f;
    /* Lighter on hover */
}

/* .auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #fce4ec 0%, #f8bbd0 100%);
    
}

.auth-container {
    width: 100%;
    max-width: 420px;
    margin: 20px;
    padding: 40px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(231, 84, 128, 0.1);
}

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

.auth-header h2 {
    color: #e75480;
    font-size: 3em;
    margin-bottom: 8px;
    font-weight: 600;
    font-family: 'Marcellus', serif;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.auth-subtitle {
    color: #666;
    font-size: 0.95em;
    margin-bottom: 25px;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    color: #333;
    font-size: 0.9em;
    font-weight: 500;
} */

/* .form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #f0f0f0;
    border-radius: 12px;
    font-size: 0.95em;
    transition: all 0.3s ease;
    background: #fafafa;
}

.form-group input:focus {
    border-color: #e75480;
    background: white;
    outline: none;
} */

.auth-button {
    background: #e75480;
    color: white;
    padding: 14px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-size: 1em;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.auth-button:hover {
    background: #d64d77;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(231, 84, 128, 0.2);
}

.auth-redirect {
    text-align: center;
    margin-top: 25px;
    color: #666;
    font-size: 0.9em;
}

.auth-redirect a {
    color: #e75480;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.auth-redirect a:hover {
    color: #d64d77;
    text-decoration: underline;
}

.error {
    color: #721c24;
    background-color: #fff3f3;
    border: 1px solid #ffa4a4;
    padding: 12px;
    border-radius: 12px;
    margin-bottom: 20px;
    font-size: 0.9em;
    text-align: center;
}

.success-container {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.success-message {
    background: white;
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.success-message i {
    font-size: 4rem;
    color: #4CAF50;
    margin-bottom: 20px;
}

.success-message h2 {
    color: #333;
    margin-bottom: 10px;
}

.view-order-btn {
    display: inline-block;
    background: #3a2e2e;
    color: white;
    padding: 12px 24px;
    border-radius: 5px;
    text-decoration: none;
    margin-top: 20px;
    transition: background 0.3s;
}

.view-order-btn:hover {
    background: #5c4f4f;
}

.continue-shopping-btn {
    display: inline-block;
    background: #4CAF50;
    color: white;
    padding: 12px 24px;
    border-radius: 5px;
    text-decoration: none;
    margin-top: 20px;
    margin-left: 10px;
    transition: background 0.3s;
}

.continue-shopping-btn:hover {
    background: #45a049;
}

/* Admin Pages Styles */
.settings-section {
    padding: 20px;
}

.settings-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 0 auto;
}

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

/* .form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 500;
    color: #333;
}

.form-group input {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
} */

.btn-primary {
    background: #e75480;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s;
}

.btn-primary:hover {
    background: #d64d73;
}

/* Table Styles */
.table-container {
    margin: 20px;
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.data-table th {
    background: #f8f9fa;
    padding: 12px 15px;
    text-align: left;
    font-weight: 600;
    color: #333;
    border-bottom: 2px solid #dee2e6;
}

.data-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #dee2e6;
    color: #444;
}

.data-table tr:hover {
    background: #f8f9fa;
}

.data-table .status {
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.85em;
    font-weight: 500;
}

.data-table .status.pending { background: #fff3cd; color: #856404; }
.data-table .status.processing { background: #cce5ff; color: #004085; }
.data-table .status.shipped { background: #d4edda; color: #155724; }
.data-table .status.delivered { background: #c3e6cb; color: #1e7e34; }
.data-table .status.delayed { background: #f8d7da; color: #721c24; }

.date-cell {
    font-size: 0.9em;
    color: #666;
    white-space: nowrap;
}

.amount-cell {
    font-weight: 500;
    color: #28a745;
}

.action-cell {
    display: flex;
    gap: 8px;
}

.table-button {
    padding: 6px 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9em;
    transition: all 0.3s ease;
}

.table-button.view {
    background: #e3f2fd;
    color: #0d47a1;
}

.table-button.edit {
    background: #fff3e0;
    color: #e65100;
}

.table-button.delete {
    background: #ffebee;
    color: #c62828;
}

.table-button:hover {
    filter: brightness(0.95);
}

.admin-table img {
    border-radius: 5px;
    object-fit: cover;
}

.delayed {
    background-color: #ffebee;
}

/* Seller Dashboard Styles */
.seller-dashboard {
    padding: 20px;
    background: #f8f9fa;
    min-height: calc(100vh - 70px);
    margin-top: 70px;
}

.dashboard-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    align-items: center;
}

.dashboard-stats a{
    text-decoration: none;
}
.stat-card {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    flex: 1;
    text-align: center;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-card i {
    font-size: 2em;
    color: #e75480;
    margin-bottom: 10px;
}

.stat-card h3 {
    color: #666;
    font-size: 0.9em;
    margin: 5px 0;
}

.stat-card p {
    color: #333;
    font-size: 1.8em;
    font-weight: 600;
    margin: 0;
}

.add-product-btn {
    background: #e75480;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1em;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.3s ease;
    margin: 1.2rem 0;
}

.add-product-btn:hover {
    background: #d64d73;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.seller-product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    width: auto;
}

.seller-product-card:hover {
    transform: translateY(-5px);
}

.product-image {
    position: relative;
    padding-top: 100%;
}

.product-info{
    padding: 16px;
}

.verified-badge{
    margin: 0 2px;
}

#verified{
    color: var(--color-success);
}

#notVerified{
    color: var(--color-warning);
}

#failed{
    color: var(--color-error);
}

.product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-actions {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    gap: 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.seller-product-card:hover .product-actions {
    opacity: 1;
}

.product-actions button {
    background: white;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.product-actions button:hover {
    background: #f8f9fa;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.modal-separator {
    border: none;
    border-top: 2px solid #eee;
    margin: 12px 0;
}

.modal-content {
    background: white;
    margin: 50px auto;
    padding: 30px;
    width: 90%;
    max-width: 600px;
    border-radius: 12px;
    position: relative;
    max-height: 80vh;      /* Limit height to 80% of viewport */
    overflow-y: auto;      /* Enable vertical scroll if needed */
}
.close-btn {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 24px;
    cursor: pointer;
    color: #666;
}

.add-image-btn {
    background: #e75480;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 6px 16px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.2s;
}
.add-image-btn:hover {
    background: #d13b6b;
}
.delete-image-btn i {
    pointer-events: none;
}

.delete-video-btn i {
    pointer-events: none;
}

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

/* .form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1em;
}

.form-group textarea {
    height: 100px;
    resize: vertical;
} */

.submit-btn {
    background: #e75480;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1em;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 auto;
}

.submit-btn:hover {
    background: #d64d73;
}

.submit-btn[disabled] {
    background: #ccc !important;
    cursor: not-allowed;
    opacity: 0.7;
}

/* Order Status Colors */
.status-select {
    padding: 5px 10px;
    border-radius: 4px;
    border: 1px solid #ddd;
}

.add-to-cart.out-of-stock {
    background: #ddd;
    cursor: not-allowed;
}

.add-to-cart.out-of-stock:hover {
    transform: none;
    background: #cccccc;
}

.inventory-status {
    font-size: 0.9em;
    color: #666;
    margin-top: 10px;
}

.bag-shake {
    display: block;
    margin: 0 auto 20px auto;
    transition: transform 1.5s cubic-bezier(.68,-0.55,.27,1.55);
    will-change: transform;
}

.bag-shake:hover {
    animation: shake-bag 3s cubic-bezier(.68,-0.55,.27,1.55);
}

@keyframes shake-bag {
    0%   { transform: rotate(0deg) translateY(0); }
    20%  { transform: rotate(180deg) translateY(-20px); }
    40%  { transform: rotate(180deg) translateY(20px); }
    60%  { transform: rotate(180deg) translateY(-15px); }
    80%  { transform: rotate(180deg) translateY(10px); }
    100% { transform: rotate(0deg) translateY(0); }
}

.success-page {
    text-align: center;
    margin-top: 50px;
}
.success-page h1 {
    font-size: 2em;
    margin-bottom: 20px;
}
.success-page button {
    padding: 10px 20px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

/* Seller Auth Layout */
.seller-auth-wrapper {
  display: flex;
  /* min-height: 90vh; */
  background: var(--color-background);
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.07);
  overflow: hidden;
  margin: 100px auto;
  max-width: 950px;
}

.seller-auth-form-section {
  flex: 1 1 0;
  padding: 30px 36px;
  background: var(--color-surface);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 340px;
}

.seller-auth-banner {
  flex: 1 1 0;
  background: var(--color-background);
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 320px;
  border-left: 1px solid var(--color-border);
  object-fit: cover;
}

.banner-img {
  width: 100%;
  /* max-width: 350px; */
  border-radius: 18px;
  box-shadow: 0 4px 32px rgba(213,91,43,0.08);
  object-fit: cover;
  animation: fadeIn 1.2s;
}

#registerForm{
    min-width: 90%;
}

/* Hide banner on mobile */
@media (max-width: 800px) {
  .seller-auth-wrapper {
    flex-direction: column;
    max-width: 98vw;
    margin: 100px auto;
  }
  .seller-auth-banner {
    display: none;
  }
  .seller-auth-form-section {
    padding: 28px 10px;
    min-width: 0;
  }
}

/* Auth Heading Animations */
.auth-heading {
  font-family: 'Marcellus', serif;
  color: var(--color-accent);
  font-size: 2.1em;
  margin-bottom: 8px;
  animation: fadeInDown 1s;
}
.auth-subtitle {
  color: var(--color-secondary);
  font-size: 1.1em;
  margin-bottom: 18px;
  animation: fadeInUp 1.2s;
}
.required-note {
  display: block;
  font-size: 0.95em;
  color: var(--color-error);
  margin-top: 4px;
}
.red-star {
  color: var(--color-error);
  font-weight: bold;
  margin-right: 2px;
}

/* Animations */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-30px);}
  to { opacity: 1; transform: translateY(0);}
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px);}
  to { opacity: 1; transform: translateY(0);}
}
@keyframes fadeIn {
  from { opacity: 0;}
  to { opacity: 1;}
}
.animate-fadein { animation: fadeIn 1.2s; }
.animate-slidein { animation: fadeInUp 1.2s; }

/* Form Styles */
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.form-group label {
  font-size: 1em;
  color: var(--color-primary);
  font-weight: 500;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--color-border);
  border-radius: 10px;
  font-size: 1em;
  background: #fff;
  margin-top: 4px;
  transition: border 0.2s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--color-accent);
  outline: none;
}
.form-group textarea {
  min-height: 80px;
  resize: vertical;
}

/* Checkbox Group */
.check-group {
  display: flex;
  align-items: center;
  gap: 8px;
}
.check-group label {
  font-weight: 400;
  color: var(--color-secondary);
  font-size: 0.98em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.check-group input[type="checkbox"] {
  accent-color: var(--color-accent);
  width: 18px;
  height: 18px;
  margin-right: 6px;
}

/* Auth Button */
.auth-button {
  background: var(--color-accent);
  color: #fff;
  padding: 14px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  font-size: 1.1em;
  font-weight: 600;
  transition: background 0.3s, box-shadow 0.3s;
  margin-top: 10px;
  box-shadow: 0 2px 8px rgba(213,91,43,0.08);
}
.auth-button:hover {
  background: var(--color-hover);
  box-shadow: 0 4px 16px rgba(213,91,43,0.13);
  transform: translateY(-2px) scale(1.01);
}

/* Add to your style.css or in a <style> block */
.auth-button.small {
    background: #f3f3f3;
    color: #444;
    border: 1px solid #ddd;
    font-size: 0.98em;
    padding: 7px 18px;
    border-radius: 7px;
    margin-top: 2px;
    margin-bottom: 0;
    box-shadow: none;
    transition: background 0.2s, color 0.2s;
}
.auth-button.small:disabled {
    background: #eee;
    color: #aaa;
    cursor: not-allowed;
}
.otp-status {
    font-size: 0.97em;
    margin-top: 6px;
    min-height: 22px;
}
.otp-status.error { color: #e75480; }
.otp-status.success { color: #2eaf5c; }
.otp-status.loading { color: #888; }
.otp-timer {
    font-size: 0.97em;
    color: #888;
    margin-left: 8px;
}
.spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2px solid #ccc;
    border-top: 2px solid #e75480;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
    vertical-align: middle;
    margin-right: 6px;
}
@keyframes spin {
    100% { transform: rotate(360deg); }
}

.auth-logo{
    width: 10rem;
    height: auto;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Error */
.error {
  color: var(--color-error);
  background: #fff3f3;
  border: 1px solid #ffa4a4;
  padding: 12px;
  border-radius: 12px;
  margin-bottom: 20px;
  font-size: 0.98em;
  text-align: center;
}

/* HELP PAGE */
.faq-section {
            width: 98%;
            margin: 40px auto 0 auto;
            padding: 2rem;
            background: var(--color-surface);
            border-radius: 18px;
            box-shadow: 0 4px 24px rgba(91,31,31,0.07);
        }
        .faq-list {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 28px 36px;
        }
        @media (max-width: 800px) {
            .faq-list {
                grid-template-columns: 1fr;
                gap: 18px;
            }
            .faq-section {
                padding: 1rem;
            }
        }
        .faq {
            background: var(--color-light-bg);
            border: 1.5px solid var(--color-border);
            box-shadow: 0 2px 8px rgba(213,91,43,0.04);
            transition: box-shadow 0.2s;
            overflow: hidden;
        }
        .faq-question {
            cursor: pointer;
            width: 100%;
            padding: 18px 22px;
            font-size: 1.13em;
            color: var(--color-primary);
            font-family: 'Marcellus', serif;
            font-weight: 500;
            background: var(--color-background);
            border: none;
            outline: none;
            display: flex;
            align-items: center;
            justify-content: space-between;
            transition: background 0.2s;
        }
        .faq-question:hover {
            background: var(--color-surface);
        }
        .faq-answer {
            padding: 0 22px 18px 22px;
            color: var(--color-secondary);
            font-size: 1em;
            display: none;
            animation: fadeIn 0.3s;
        }
        .faq.open .faq-answer {
            display: block;
        }
        .faq-toggle-icon {
            font-size: 1.2em;
            color: var(--color-accent);
            margin-left: 10px;
            transition: transform 0.2s;
        }
        .faq.open .faq-toggle-icon {
            transform: rotate(98deg);
        }
        .help-header {
            text-align: center;
            padding: 2rem 1rem 1rem 1rem;
            background: var(--color-background);
        }
        .help-header h1 {
            color: var(--color-primary);
            font-family: 'Marcellus', serif;
            font-size: 2.2em;
            margin-bottom: 10px;
        }
        .help-header p {
            color: var(--color-secondary);
            font-size: 1.1em;
        }
        .contact-section {
            width: 98%;
            margin: 40px auto 0 auto;
            background: var(--color-surface);
            border-radius: 18px;
            box-shadow: 0 4px 24px rgba(91,31,31,0.07);
            padding: 2rem;
        }
        .contact-section h2 {
            color: var(--color-primary);
            font-family: 'Marcellus', serif;
            font-size: 1.3em;
            margin-bottom: 18px;
        }
        .contact-form {
            display: flex;
            flex-direction: column;
            gap: 18px;
        }
        .contact-form label {
            color: var(--color-primary);
            font-weight: 500;
            margin-bottom: 4px;
        }
        .contact-form input,
        .contact-form textarea {
            width: 40%;
            padding: 12px 14px;
            border: 1.5px solid var(--color-border);
            border-radius: 10px;
            font-size: 1em;
            background: #fff;
            margin-top: 4px;
            transition: border 0.2s;
        }
        .contact-form input:focus,
        .contact-form textarea:focus {
            border-color: var(--color-accent);
            outline: none;
        }
        .contact-form textarea {
            min-height: 80px;
            resize: vertical;
        }
        .submit-btn-help {
            background: var(--color-accent);
            color: #fff;
            border: none;
            border-radius: 8px;
            padding: 12px 36px;
            font-size: 1.1em;
            font-weight: 600;
            cursor: pointer;
            transition: background 0.2s;
        }
        .submit-btn-help:hover {
            background: var(--color-hover);
        }
        .support-info, .policy-links {
            width: 98%;
            margin: 40px auto 0 auto;
            padding: 1.5rem 2rem;
            background: var(--color-surface);
            border-radius: 18px;
            box-shadow: 0 4px 24px rgba(91,31,31,0.07);
            color: var(--color-secondary);
        }
        .policy-links a {
            color: var(--color-accent);
            text-decoration: underline;
            margin-right: 18px;
        }
        .policy-links a:hover {
            color: var(--color-hover);
        }
        @keyframes fadeIn {
            from { opacity: 0;}
            to { opacity: 1;}
        }