/* ========================================
   Ben's Road Baits - Main Stylesheet
   ======================================== */

/* ========================================
   CSS VARIABLES - Brand Colors
   ======================================== */
:root {
    /* Brand Colors */
    --brand-blue: #2c5282;
    --brand-dark-blue: #1e3a5f;
    --brand-orange: #f39c12;
    --brand-red: #e74c3c;
    
    /* Neutrals */
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --medium-gray: #ecf0f1;
    --dark-gray: #2c3e50;
    
    /* Functional Colors */
    --success: #27ae60;
    --info: #3498db;
    --warning: #f39c12;
    --danger: #e74c3c;
    
    /* Grays */
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --gray-600: #6c757d;
    --gray-700: #495057;
    --gray-800: #343a40;
    --gray-900: #212529;
    
    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 2rem;
    --spacing-xl: 4rem;
    
    /* Layout */
    --max-width: 1200px;
    --border-radius: 5px;
    --border-radius-lg: 8px;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.2);
    --shadow-lg: 0 8px 16px rgba(0,0,0,0.3);
}

/* ========================================
   BASE STYLES
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    color: var(--dark-gray);
    line-height: 1.6;
}

/* ========================================
   HOMEPAGE - HERO SECTION
   ======================================== */
.hero {
    text-align: center;
    padding: var(--spacing-xl) var(--spacing-lg);
    background: linear-gradient(135deg, var(--brand-dark-blue) 0%, var(--brand-blue) 100%);
    color: var(--white);
}

.logo-container {
    display: inline-block;
    background: var(--white);
    background-image: url('/assets/AdobeStock_274849679.webp');
    background-size: cover;
    background-position: center;
    border-radius: 50%;
    padding: 1rem 4.5rem;
    margin-bottom: var(--spacing-lg);
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--brand-red);
    outline: 2px dashed var(--brand-blue);
    outline-offset: -12px;
}
.hero-logo {
    max-width: 600px;
    display: block;
    margin-top: -1rem;
    filter: drop-shadow(0 6px 6px rgba(0, 0, 0, 0.3));
}

.tagline {
    font-size: 2rem;
    margin-bottom: var(--spacing-sm);
    color: var(--brand-orange);
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.subtitle {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-lg);
    color: var(--medium-gray);
}

.shop-button {
    display: inline-block;
    padding: var(--spacing-md) 3rem;
    background-color: var(--brand-red);
    color: var(--white);
    text-decoration: none;
    border-radius: var(--border-radius);
    font-size: 1.2rem;
    font-weight: bold;
    transition: all 0.3s;
    box-shadow: var(--shadow-md);
}

.shop-button:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0,0,0,0.3);
}

/* ========================================
   HOMEPAGE - FEATURED PRODUCTS
   ======================================== */
.featured-section {
    max-width: var(--max-width);
    margin: var(--spacing-xl) auto;
    padding: 0 var(--spacing-lg);
    text-align: center;
}

.featured-section h2 {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-lg);
    color: var(--dark-gray);
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.featured-product {
    background: var(--white);
    border: 1px solid var(--gray-300);
    border-radius: var(--border-radius-lg);
    padding: 1.5rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.featured-product:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.featured-product img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--border-radius);
    margin-bottom: var(--spacing-md);
}

.no-image {
    width: 100%;
    height: 200px;
    background-color: var(--medium-gray);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-500);
    margin-bottom: var(--spacing-md);
}

.featured-product h3 {
    font-size: 1.3rem;
    margin-bottom: var(--spacing-sm);
    color: var(--dark-gray);
}

.featured-product .price {
    font-size: 1.5rem;
    color: var(--success);
    font-weight: bold;
    margin-bottom: var(--spacing-md);
}

.view-button {
    display: inline-block;
    padding: var(--spacing-sm) 1.5rem;
    background-color: var(--brand-blue);
    color: var(--white);
    text-decoration: none;
    border-radius: var(--border-radius);
    transition: background-color 0.3s;
}

.view-button:hover {
    background-color: var(--brand-dark-blue);
}

/* ========================================
   HOMEPAGE - ABOUT SECTION
   ======================================== */
.about-section {
    background-color: var(--light-gray);
    padding: var(--spacing-xl) var(--spacing-lg);
    text-align: center;
}

.about-section h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--dark-gray);
}

.features {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
}

.feature {
    padding: var(--spacing-lg);
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
}

.feature h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-md);
    color: var(--brand-blue);
}

.feature p {
    color: var(--gray-600);
    line-height: 1.6;
}

/* ========================================
   RESPONSIVE - MOBILE
   ======================================== */
@media (max-width: 768px) {
    .hero {
        padding: 3rem var(--spacing-md);
    }
    
    .tagline {
        font-size: 1.5rem;
    }
    
    .logo-container {
        padding: 2rem;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: var(--spacing-lg);
        max-width: 90vw;
    }
    
    .hero-logo {
        width: 100%;
        max-width: 400px;
        height: auto;
        display: block;
        margin: 0 auto;
    }
}

/* ========================================
   PRODUCTS PAGE
   ======================================== */
.content-wrapper {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--spacing-lg);
}

.content-wrapper h1 {
    font-size: 2.5rem;
    color: var(--dark-gray);
    margin-bottom: var(--spacing-lg);
    text-align: center;
}

/* Product Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.product-card {
    background: var(--white);
    border: 1px solid var(--gray-300);
    border-radius: var(--border-radius-lg);
    padding: 1.5rem;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.product-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: var(--border-radius);
    margin-bottom: var(--spacing-md);
    background-color: var(--gray-200);
}

.product-no-image {
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, var(--gray-200) 0%, var(--gray-300) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius);
    margin-bottom: var(--spacing-md);
    color: var(--gray-500);
    font-size: 1.2rem;
    font-weight: 600;
}

.product-card h3 {
    font-size: 1.4rem;
    color: var(--dark-gray);
    margin-bottom: var(--spacing-sm);
}

.product-description {
    color: var(--gray-600);
    margin-bottom: var(--spacing-md);
    flex-grow: 1;
    line-height: 1.5;
}

.product-price {
    font-size: 1.6rem;
    color: var(--success);
    font-weight: bold;
    margin-bottom: var(--spacing-sm);
}

.product-stock {
    font-size: 0.9rem;
    margin-bottom: var(--spacing-md);
    color: var(--gray-600);
}

.product-stock.low-stock {
    color: var(--warning);
    font-weight: bold;
}

.product-stock.out-of-stock {
    color: var(--danger);
    font-weight: bold;
}

/* Add to Cart Form */
.add-to-cart-form {
    display: flex;
    gap: var(--spacing-sm);
    align-items: center;
}

.quantity-input {
    width: 80px;
    padding: var(--spacing-sm);
    border: 2px solid var(--gray-300);
    border-radius: var(--border-radius);
    font-size: 1rem;
    text-align: center;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.5rem center;
    padding-right: 2rem;
    background-color: var(--white);

}

.quantity-input:focus {
    outline: 2px solid var(--brand-blue);
    outline-offset: 2px;
}

.btn {
    padding: var(--spacing-sm) var(--spacing-md);
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    flex: 1;
}

.btn-primary {
    background-color: var(--brand-blue);
    color: var(--white);
    text-decoration: none;
    text-align: center;
    display: inline-block;
}

.btn-primary:hover {
    background-color: var(--brand-dark-blue);
}

.btn-primary:disabled {
    background-color: var(--gray-400);
    cursor: not-allowed;
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }
}

/* ========================================
   CART PAGE
   ======================================== */

/* Cart Table */
.cart-table {
    width: 100%;
    background: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    margin-bottom: var(--spacing-lg);
}

.cart-table table {
    width: 100%;
    border-collapse: collapse;
}

.cart-table thead {
    background: linear-gradient(135deg, var(--brand-dark-blue) 0%, var(--brand-blue) 100%);
    color: var(--white);
}

.cart-table th {
    padding: var(--spacing-md);
    text-align: left;
    font-weight: bold;
    font-size: 1rem;
}

.cart-table td {
    padding: var(--spacing-md);
    border-bottom: 1px solid var(--gray-200);
    vertical-align: middle;
}

.cart-table tbody tr:last-child td {
    border-bottom: none;
}

.cart-table tbody tr:hover {
    background-color: var(--gray-100);
}

/* Cart Item Cells */
.cart-item-name {
    font-weight: 600;
    color: var(--dark-gray);
    font-size: 1.1rem;
}

.cart-item-price {
    color: var(--success);
    font-weight: 600;
    font-size: 1.1rem;
}

/* Quantity Dropdown */
.quantity-controls {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.quantity-controls select {
    width: auto;
    min-width: 80px;
    padding: var(--spacing-sm) var(--spacing-md);
    border: 1px solid var(--gray-300);
    border-radius: var(--border-radius);
    font-size: 1rem;
    background-color: var(--white);
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.5rem center;
    padding-right: 2rem;
}

.quantity-controls select:focus {
    outline: 2px solid var(--brand-blue);
    outline-offset: 2px;
}

/* Remove Button */
.remove-btn {
    padding: var(--spacing-sm) var(--spacing-md);
    background-color: var(--danger);
    color: var(--white);
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: background-color 0.3s;
}

.remove-btn:hover {
    background-color: #c0392b;
}

/* Cart Summary */
.cart-summary {
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    margin-bottom: var(--spacing-lg);
    position: relative;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cart-total {
    position: absolute;
    right: var(--spacing-lg);
    font-size: 1.8rem;
    color: var(--dark-gray);
    font-weight: bold;
}

.cart-total span {
    color: var(--success);
}

/* Toast Message */
.toast-message {
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 0.95rem;
    white-space: nowrap;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.toast-message.success {
    background-color: #d4edda;
    color: var(--success);
    border: 2px solid #c3e6cb;
}

.toast-message.error {
    background-color: #f8d7da;
    color: var(--danger);
    border: 2px solid #f5c6cb;
}

/* Cart Actions */
.cart-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-md);
}

.btn-continue {
    padding: var(--spacing-md) var(--spacing-lg);
    background-color: var(--gray-500);
    color: var(--white);
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: background-color 0.3s;
    display: inline-block;
}

.btn-continue:hover {
    background-color: var(--gray-600);
}

.btn-checkout {
    padding: var(--spacing-md) 3rem;
    background-color: var(--brand-red);
    color: var(--white);
    text-decoration: none;
    border-radius: var(--border-radius);
    font-size: 1.2rem;
    font-weight: bold;
    transition: all 0.3s;
    display: inline-block;
    box-shadow: var(--shadow-md);
}

.btn-checkout:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}

/* Empty Cart State */
.empty-cart {
    text-align: center;
    padding: var(--spacing-xl) var(--spacing-lg);
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
}

.empty-cart-icon {
    font-size: 4rem;
    margin-bottom: var(--spacing-md);
    opacity: 0.3;
}

.empty-cart h2 {
    color: var(--dark-gray);
    margin-bottom: var(--spacing-md);
}

.empty-cart p {
    color: var(--gray-600);
    margin-bottom: var(--spacing-lg);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    /* Convert table to cards */
    .cart-table table thead {
        display: none;
    }
    
    .cart-table table,
    .cart-table tbody,
    .cart-table tr,
    .cart-table td {
        display: block;
        width: 100%;
    }
    
    .cart-table tr {
        margin-bottom: var(--spacing-lg);
        border: 1px solid var(--gray-300);
        border-radius: var(--border-radius-lg);
        padding: var(--spacing-md);
        background: var(--white);
    }

    .cart-table tr:last-child {
        margin-bottom: 0;
    }
    
    .cart-table td {
        border: none;
        padding: var(--spacing-sm) 0;
        text-align: left;
    }
    
    .cart-table td:before {
        content: attr(data-label);
        font-weight: bold;
        display: inline-block;
        width: 100px;
        color: var(--brand-blue);
    }
    
    .cart-table td:first-child {
        font-size: 1.2rem;
        font-weight: bold;
        margin-bottom: var(--spacing-sm);
        padding-bottom: var(--spacing-sm);
        border-bottom: 2px solid var(--gray-200);
    }
    
    .cart-table td:first-child:before {
        display: none;
    }
    
    /* Mobile cart actions */
    .cart-actions {
        flex-direction: column;
    }
    
    .btn-continue,
    .btn-checkout {
        width: 100%;
        text-align: center;
    }
    
    /* Mobile cart summary */
    .cart-summary {
        height: auto;
        flex-direction: column;
        gap: var(--spacing-md);
    }

    .cart-total {
        position: static;
    }
    
    /* Mobile toast - fixed at top */
    .toast-message {
        position: fixed;
        top: 70px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 1000;
        width: calc(100% - 2rem);
        max-width: 300px;
        text-align: center;
    }
}

/* ========================================
   CHECKOUT CHOICE PAGE
   ======================================== */

.checkout-choice-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.checkout-choice-container h1 {
    font-size: 2.5rem;
    color: var(--dark-gray);
    margin-bottom: var(--spacing-md);
}

.checkout-choice-container .subtitle {
    font-size: 1.2rem;
    color: var(--gray-600);
    margin-bottom: var(--spacing-xl);
}

/* Choice Cards Grid */
.choice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.choice-card {
    background: var(--white);
    border: 2px solid var(--gray-300);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-xl) var(--spacing-lg);
    transition: all 0.3s;
    position: relative;
}

.choice-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    border-color: var(--brand-blue);
}

/* Featured Card (Register) */
.choice-card.featured {
    border-color: var(--brand-orange);
    background: linear-gradient(135deg, #fff9e6 0%, #ffffff 100%);
}

.choice-card.featured:hover {
    border-color: var(--brand-orange);
    box-shadow: 0 8px 20px rgba(243, 156, 18, 0.3);
}

.featured-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--brand-orange);
    color: var(--white);
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--border-radius);
    font-size: 0.85rem;
    font-weight: bold;
}

/* Choice Icons */
.choice-icon {
    font-size: 3.5rem;
    margin-bottom: var(--spacing-md);
}

.choice-card h3 {
    font-size: 1.5rem;
    color: var(--dark-gray);
    margin-bottom: var(--spacing-sm);
}

.choice-card p {
    color: var(--gray-600);
    margin-bottom: var(--spacing-lg);
    line-height: 1.6;
}

/* Choice Buttons */
.choice-btn {
    display: inline-block;
    padding: var(--spacing-md) var(--spacing-xl);
    border-radius: var(--border-radius);
    font-weight: bold;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s;
    width: 100%;
}

.btn-guest {
    background-color: var(--gray-500);
    color: var(--white);
}

.btn-guest:hover {
    background-color: var(--gray-600);
}

.btn-login {
    background-color: var(--brand-blue);
    color: var(--white);
}

.btn-login:hover {
    background-color: var(--brand-dark-blue);
}

.btn-register {
    background-color: var(--brand-orange);
    color: var(--white);
}

.btn-register:hover {
    background-color: #e67e22;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .checkout-choice-container h1 {
        font-size: 2rem;
    }
    
    .choice-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .choice-card {
        padding: var(--spacing-lg);
    }
}

/* Benefits List */
.benefits-list {
    list-style: none;
    padding: 0;
    margin: var(--spacing-xs) 0 var(--spacing-lg) 0;
    text-align: left;
}

.benefits-list li {
    color: var(--gray-700);
    padding: var(--spacing-xs) 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* ========================================
   CHECKOUT PAGE
   ======================================== */

/* Alert Messages */
.alert {
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: var(--border-radius);
    margin-bottom: var(--spacing-lg);
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 2px solid #f5c6cb;
}

.alert strong {
    display: block;
    margin-bottom: var(--spacing-sm);
}

.alert ul {
    margin: var(--spacing-sm) 0 0 var(--spacing-md);
}

.alert li {
    margin-bottom: var(--spacing-xs);
}

/* Order Summary */
.checkout-summary {
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    margin-bottom: var(--spacing-xl);
}

.checkout-summary h2 {
    color: var(--dark-gray);
    margin-bottom: var(--spacing-md);
}

.summary-table-wrapper {
    overflow-x: auto;
    margin-bottom: var(--spacing-md);
}

.summary-table {
    width: 100%;
    border-collapse: collapse;
}

.summary-table thead {
    background: linear-gradient(135deg, var(--brand-dark-blue) 0%, var(--brand-blue) 100%);
    color: var(--white);
}

.summary-table th {
    padding: var(--spacing-md);
    text-align: left;
    font-weight: bold;
}

.summary-table td {
    padding: var(--spacing-md);
    border-bottom: 1px solid var(--gray-200);
}

.summary-table tbody tr:hover {
    background-color: var(--gray-100);
}

.summary-table .total-row {
    background-color: var(--gray-100);
    font-weight: bold;
    font-size: 1.1rem;
}

.summary-table .total-row td {
    border-bottom: none;
}

.summary-table .total-row td:last-child {
    color: var(--success);
    font-size: 1.3rem;
}

.summary-actions {
    display: flex;
    gap: var(--spacing-lg);
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--gray-200);
}

.link-secondary {
    color: var(--brand-blue);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.link-secondary:hover {
    color: var(--brand-dark-blue);
    text-decoration: underline;
}

/* Checkout Form */
.checkout-form-container {
    background: var(--white);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    max-width: 800px;
    margin: 0 auto;
}

.checkout-form-container h2 {
    color: var(--dark-gray);
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-md);
    border-bottom: 2px solid var(--brand-blue);
}

.checkout-form .form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
}

.form-group {
    position: relative;
    margin-bottom: var(--spacing-lg);
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: var(--spacing-sm);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: var(--spacing-md);
    border: 2px solid var(--gray-300);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 3px rgba(44, 82, 130, 0.1);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.btn-place-order {
    width: 100%;
    padding: var(--spacing-lg);
    background-color: var(--brand-red);
    color: var(--white);
    border: none;
    border-radius: var(--border-radius);
    font-size: 1.3rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: var(--shadow-md);
    margin-top: var(--spacing-md);
}

.btn-place-order:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .checkout-form-container {
        padding: var(--spacing-lg);
    }

    .summary-table {
        font-size: 0.9rem;
    }

    .summary-table th,
    .summary-table td {
        padding: var(--spacing-sm);
    }

    .summary-actions {
        flex-direction: column;
        gap: var(--spacing-sm);
    }

    /* Stack form fields on mobile */
    .checkout-form .form-row {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   AUTH PAGES (LOGIN & REGISTER)
   ======================================== */

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

.auth-card {
    background: var(--white);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    max-width: 450px;
    width: 100%;
}

.auth-card h1 {
    text-align: center;
    color: var(--dark-gray);
    margin-bottom: var(--spacing-sm);
    font-size: 2rem;
}

.auth-subtitle {
    text-align: center;
    color: var(--gray-600);
    margin-bottom: var(--spacing-xl);
    font-size: 1.1rem;
}

/* Auth Form */
.auth-form .form-group {
    margin-bottom: var(--spacing-lg);
}

.auth-form label {
    display: block;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: var(--spacing-sm);
}

.auth-form input {
    width: 100%;
    padding: var(--spacing-md);
    border: 2px solid var(--gray-300);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: border-color 0.3s;
}

.auth-form input:focus {
    outline: none;
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 3px rgba(44, 82, 130, 0.1);
}

.auth-form input::placeholder {
    color: var(--gray-400);
}

.btn-auth {
    width: 100%;
    padding: var(--spacing-md);
    background-color: var(--brand-blue);
    color: var(--white);
    border: none;
    border-radius: var(--border-radius);
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: var(--spacing-md);
}

.btn-auth:hover {
    background-color: var(--brand-dark-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(44, 82, 130, 0.3);
}

/* Auth Footer */
.auth-footer {
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--gray-200);
    text-align: center;
}

.auth-footer p {
    color: var(--gray-600);
    margin: 0;
}

.auth-footer a {
    color: var(--brand-blue);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.auth-footer a:hover {
    color: var(--brand-dark-blue);
    text-decoration: underline;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .auth-container {
        padding: var(--spacing-lg) var(--spacing-md);
    }

    .auth-card {
        padding: var(--spacing-lg);
    }

    .auth-card h1 {
        font-size: 1.75rem;
    }
}

/* Register Page Specific Styles */
.register-card {
    max-width: 700px;
}

.register-form .form-section {
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-md);
    border-bottom: 2px solid var(--gray-200);
}

.register-form .form-section:last-of-type {
    border-bottom: none;
    margin-bottom: var(--spacing-md);
}

.register-form .form-section h3 {
    color: var(--brand-blue);
    font-size: 1.3rem;
    margin-bottom: var(--spacing-md);
}

.register-form .form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
}

/* Mobile adjustments for register */
@media (max-width: 768px) {
    .register-form .form-row {
        grid-template-columns: 1fr;
    }
}

/* Reduce spacing after subtitle */
.register-card .auth-subtitle {
    margin-bottom: var(--spacing-md);
}

/* Reduce spacing before submit button */
.register-form .btn-auth {
    margin-top: var(--spacing-xs);
}

/* ========================================
   PASSWORD STRENGTH INDICATOR
   ======================================== */

.password-strength {
    margin-top: var(--spacing-sm);
    padding: var(--spacing-sm);
    background-color: var(--gray-50);
    border-radius: var(--border-radius);
    border: 1px solid var(--gray-200);
    width: 100%;
    display: block;
    clear: both;
}

.strength-bar {
    width: 100%;
    height: 6px;
    background-color: var(--gray-200);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: var(--spacing-xs);
}

.strength-fill {
    height: 100%;
    width: 0%;
    background-color: var(--gray-400);
    transition: width 0.3s ease, background-color 0.3s ease;
    border-radius: 3px;
}

.strength-text {
    font-size: 0.875rem;
    color: var(--gray-700);
    margin-bottom: var(--spacing-xs);
}

.strength-label {
    font-weight: 600;
}

.strength-requirements {
    list-style: none;
    padding: 0;
    margin: var(--spacing-xs) 0 0 0;
    font-size: 0.813rem;
}

.strength-requirements li {
    padding: 2px 0;
    transition: color 0.2s;
}

/* ========================================
   PASSWORD TOGGLE (EYE ICON)
   ======================================== */

.password-field-wrapper {
    position: relative;
    display: flex;
    align-items: center; 
}

.password-strength {
    margin-top: var(--spacing-sm);
    padding: var(--spacing-sm);
    background-color: var(--gray-50);
    border-radius: var(--border-radius);
    border: 1px solid var(--gray-200);
}

.password-field-wrapper input {
    padding-right: 3rem;
}

.toggle-password {
    position: absolute;
    right: var(--spacing-sm);
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-xs);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    opacity: 0.6;
    transition: opacity 0.2s;
     min-width: 80px;
}

.toggle-password:hover {
    opacity: 1;
}

.toggle-password img {
    width: 40px;
    height: 40px;
    display: block;
    font-size: 16px;
    line-height: 1.2;
    padding: 2px;
    color: var(--brand-blue);
}

.icon-fallback {
    font-size: 16px;
    line-height: 1.3;
    color: var(--brand-blue);
    text-align: left;
    max-width: 70px;
    margin-right: 4px;
}

/* ========================================
   ORDER CONFIRMATION PAGE
   ======================================== */

.confirmation-container {
    max-width: 900px;
    margin: 0 auto;
}

/* Success Banner */
.success-banner {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border: 2px solid #28a745;
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-xl);
    text-align: center;
    margin-bottom: var(--spacing-xl);
    box-shadow: var(--shadow-md);
}

.success-icon {
    font-size: 4rem;
    color: #28a745;
    margin-bottom: var(--spacing-sm);
}

.success-banner h1 {
    color: #155724;
    margin-bottom: var(--spacing-sm);
    font-size: 2rem;
}

.order-number {
    font-size: 1.5rem;
    font-weight: bold;
    color: #155724;
    margin: var(--spacing-md) 0;
}

.success-banner > p {
    color: #155724;
    font-size: 1.1rem;
}

.guest-prompt {
    background: var(--white);
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    margin-top: var(--spacing-lg);
}

.guest-prompt p {
    margin: 0;
    color: var(--dark-gray);
}

.guest-prompt a {
    color: var(--brand-blue);
    font-weight: bold;
    text-decoration: none;
}

.guest-prompt a:hover {
    text-decoration: underline;
}

/* Confirmation Grid */
.confirmation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.confirmation-card {
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
}

.confirmation-card h2 {
    color: var(--brand-blue);
    font-size: 1.3rem;
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-sm);
    border-bottom: 2px solid var(--gray-200);
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: var(--spacing-sm) 0;
    border-bottom: 1px solid var(--gray-200);
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    color: var(--gray-600);
    font-weight: 600;
}

.detail-value {
    color: var(--dark-gray);
    font-weight: bold;
}

.status-pending {
    color: var(--brand-orange);
    background: #fff3cd;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--border-radius);
}

.shipping-info p {
    margin-bottom: var(--spacing-sm);
    color: var(--dark-gray);
}

.shipping-info .address {
    margin-top: var(--spacing-md);
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--gray-200);
    line-height: 1.6;
}

/* Order Items Section */
.order-items-section {
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    margin-bottom: var(--spacing-xl);
}

.order-items-section h2 {
    color: var(--brand-blue);
    font-size: 1.3rem;
    margin-bottom: var(--spacing-md);
}

.items-table-wrapper {
    overflow-x: auto;
}

.confirmation-table {
    width: 100%;
    border-collapse: collapse;
}

.confirmation-table thead {
    background: linear-gradient(135deg, var(--brand-dark-blue) 0%, var(--brand-blue) 100%);
    color: var(--white);
}

.confirmation-table th {
    padding: var(--spacing-md);
    text-align: left;
    font-weight: bold;
}

.confirmation-table td {
    padding: var(--spacing-md);
    border-bottom: 1px solid var(--gray-200);
}

.confirmation-table tbody tr:hover {
    background-color: var(--gray-100);
}

.confirmation-table .total-row {
    background-color: var(--gray-100);
    font-weight: bold;
    font-size: 1.2rem;
}

.confirmation-table .total-row td {
    border-bottom: none;
    padding: var(--spacing-lg) var(--spacing-md);
}

.confirmation-table .total-row td:last-child {
    color: var(--success);
    font-size: 1.4rem;
}

/* Confirmation Actions */
.confirmation-actions {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
}

.btn-continue-shopping,
.btn-view-orders {
    padding: var(--spacing-md) var(--spacing-xl);
    border-radius: var(--border-radius);
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-continue-shopping {
    background-color: var(--gray-500);
    color: var(--white);
}

.btn-continue-shopping:hover {
    background-color: var(--gray-600);
}

.btn-view-orders {
    background-color: var(--brand-blue);
    color: var(--white);
}

.btn-view-orders:hover {
    background-color: var(--brand-dark-blue);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .confirmation-grid {
        grid-template-columns: 1fr;
    }

    .confirmation-actions {
        flex-direction: column;
    }

    .btn-continue-shopping,
    .btn-view-orders {
        width: 100%;
        text-align: center;
    }
}

/* ========================================
   ADMIN PANEL
   ======================================== */

.admin-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Admin Header */
.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-xl);
    padding-bottom: var(--spacing-lg);
    border-bottom: 3px solid var(--brand-blue);
}

.admin-header h1 {
    color: var(--dark-gray);
    font-size: 2rem;
}

.btn-add-product {
    padding: var(--spacing-md) var(--spacing-lg);
    background-color: var(--success);
    color: var(--white);
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: bold;
    transition: all 0.3s;
}

.btn-add-product:hover {
    background-color: #27ae60;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Admin Table */
.admin-table-wrapper {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table thead {
    background: linear-gradient(135deg, var(--brand-dark-blue) 0%, var(--brand-blue) 100%);
    color: var(--white);
}

.admin-table th {
    padding: var(--spacing-md);
    text-align: left;
    font-weight: bold;
    font-size: 0.95rem;
}

.admin-table td {
    padding: var(--spacing-md);
    border-bottom: 1px solid var(--gray-200);
}

.admin-table tbody tr:hover {
    background-color: var(--gray-100);
}

.admin-table tbody tr:last-child td {
    border-bottom: none;
}

.product-name {
    font-weight: 600;
    color: var(--dark-gray);
}

.product-description {
    color: var(--gray-600);
    font-size: 0.9rem;
}

.product-price {
    color: var(--success);
    font-weight: 600;
}

/* Stock Badge */
.stock-badge {
    display: inline-block;
    padding: var(--spacing-xs) var(--spacing-sm);
    background-color: var(--gray-200);
    border-radius: var(--border-radius);
    font-weight: bold;
}

.stock-badge.low-stock {
    background-color: #fff3cd;
    color: #856404;
}

/* Admin Actions */
.admin-actions {
     white-space: nowrap;
}

.btn-edit,
.btn-delete {
    padding: var(--spacing-xs) var(--spacing-md);
    border: none;
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
}

.btn-edit {
    background-color: var(--brand-blue);
    color: var(--white);
}

.btn-edit:hover {
    background-color: var(--brand-dark-blue);
}

.btn-delete {
    background-color: var(--danger);
    color: var(--white);
}

.btn-delete:hover {
    background-color: #c0392b;
}

.btn-featured {
    padding: var(--spacing-xs) var(--spacing-sm);
    border: 2px solid var(--gray-400);
    background-color: var(--white);
    color: var(--gray-600);
    border-radius: var(--border-radius);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-featured:hover {
    border-color: var(--brand-orange);
    color: var(--brand-orange);
}

.btn-featured.featured-active {
    background-color: var(--brand-orange);
    color: var(--white);
    border-color: var(--brand-orange);
}

.btn-featured.featured-active:hover {
    background-color: #e67e22;
}

/* Admin Form Container */
.admin-form-container {
    max-width: 700px;
    margin: 0 auto;
    background: var(--white);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
}

.admin-form-container h1 {
    color: var(--dark-gray);
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-md);
    border-bottom: 2px solid var(--brand-blue);
}

.admin-form .form-group {
    margin-bottom: var(--spacing-lg);
}

.admin-form label {
    display: block;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: var(--spacing-sm);
}

.admin-form input,
.admin-form textarea {
    width: 100%;
    padding: var(--spacing-md);
    border: 2px solid var(--gray-300);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: border-color 0.3s;
}

.admin-form input:focus,
.admin-form textarea:focus {
    outline: none;
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 3px rgba(44, 82, 130, 0.1);
}

.admin-form textarea {
    resize: vertical;
}

.admin-form .form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
}

/* Form Actions */
.form-actions {
    display: flex;
    gap: var(--spacing-md);
    justify-content: flex-end;
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--gray-200);
}

.btn-cancel,
.btn-submit {
    padding: var(--spacing-md) var(--spacing-xl);
    border: none;
    border-radius: var(--border-radius);
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-cancel {
    background-color: var(--gray-400);
    color: var(--white);
}

.btn-cancel:hover {
    background-color: var(--gray-500);
}

.btn-submit {
    background-color: var(--success);
    color: var(--white);
}

.btn-submit:hover {
    background-color: #27ae60;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .admin-header {
        flex-direction: column;
        gap: var(--spacing-md);
        align-items: flex-start;
    }

    .btn-add-product {
        width: 100%;
        text-align: center;
    }

    /* Convert table to cards on mobile */
    .admin-table thead {
        display: none;
    }

    .admin-table,
    .admin-table tbody,
    .admin-table tr,
    .admin-table td {
        display: block;
        width: 100%;
    }

    .admin-table tr {
        margin-bottom: var(--spacing-lg);
        border: 1px solid var(--gray-300);
        border-radius: var(--border-radius-lg);
        padding: var(--spacing-md);
        background: var(--white);
    }

    .admin-table tr:last-child {
        margin-bottom: 0;
    }

    .admin-table td {
        padding: var(--spacing-sm) 0;
        border: none;
        text-align: left;
    }

    .admin-table td:before {
        content: attr(data-label);
        font-weight: bold;
        display: inline-block;
        width: 120px;
        color: var(--brand-blue);
    }

    .admin-table td:first-child {
        font-size: 1.1rem;
        font-weight: bold;
        margin-bottom: var(--spacing-sm);
        padding-bottom: var(--spacing-sm);
        border-bottom: 2px solid var(--gray-200);
    }

    .admin-table td:first-child:before {
        display: none;
    }

    .admin-actions {
        flex-direction: column;
        margin-top: var(--spacing-sm);
    }

    .btn-edit,
    .btn-delete {
        width: 100%;
        text-align: center;
    }

    .form-actions {
        flex-direction: column;
    }

    .btn-cancel,
    .btn-submit {
        width: 100%;
        text-align: center;
    }
}

/* Admin Tabs */
.admin-tabs {
    display: flex;
    gap: 0;
    margin-bottom: var(--spacing-xl);
    border-bottom: 3px solid var(--gray-300);
}

.admin-tabs a {
    padding: var(--spacing-md) var(--spacing-xl);
    text-decoration: none;
    color: var(--gray-600);
    font-weight: 600;
    border-bottom: 3px solid transparent;
    margin-bottom: -3px;
    transition: all 0.3s;
}

.admin-tabs a:hover {
    color: var(--brand-blue);
    background-color: var(--gray-100);
}

.admin-tabs a.active {
    color: var(--brand-blue);
    border-bottom: 3px solid var(--brand-blue);
}

/* Status Badges */
.status-badge {
    display: inline-block;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--border-radius);
    font-size: 0.85rem;
    font-weight: bold;
}

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

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

.status-shipped {
    background-color: #d1ecf1;
    color: #0c5460;
}

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

.status-cancelled {
    background-color: #f8d7da;
    color: #721c24;
}

/* View Button */
.btn-view {
    padding: var(--spacing-xs) var(--spacing-md);
    background-color: var(--brand-blue);
    color: var(--white);
    text-decoration: none;
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-view:hover {
    background-color: var(--brand-dark-blue);
}

/* Order Detail Page */
.order-detail-container {
    max-width: 1000px;
    margin: 0 auto;
}

.order-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-xl);
    padding-bottom: var(--spacing-lg);
    border-bottom: 3px solid var(--brand-blue);
}

.order-detail-header h1 {
    color: var(--dark-gray);
}

.btn-back {
    padding: var(--spacing-sm) var(--spacing-lg);
    background-color: var(--gray-500);
    color: var(--white);
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: all 0.3s;
}

.btn-back:hover {
    background-color: var(--gray-600);
}

.order-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.order-card {
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
}

.order-card h2 {
    color: var(--brand-blue);
    font-size: 1.2rem;
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-sm);
    border-bottom: 2px solid var(--gray-200);
}

.order-card p {
    margin-bottom: var(--spacing-xs);
    color: var(--dark-gray);
}

/* Status Update Form */
.status-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.status-select {
    padding: var(--spacing-sm);
    border: 2px solid var(--gray-300);
    border-radius: var(--border-radius);
    font-size: 1rem;
}

.btn-update-status {
    padding: var(--spacing-sm);
    background-color: var(--success);
    color: var(--white);
    border: none;
    border-radius: var(--border-radius);
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-update-status:hover {
    background-color: #27ae60;
}

/* Order Items Section */
.order-items-section {
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
}

.order-items-section h2 {
    color: var(--brand-blue);
    font-size: 1.3rem;
    margin-bottom: var(--spacing-md);
}

.order-items-section .total-row {
    background-color: var(--gray-100);
    font-weight: bold;
    font-size: 1.1rem;
}

.order-items-section .total-row td:last-child {
    color: var(--success);
    font-size: 1.3rem;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 2px solid #c3e6cb;
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
}

/* Mobile Responsive for Orders */
@media (max-width: 768px) {
    .admin-tabs {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .admin-tabs a {
        white-space: nowrap;
    }

    .order-detail-header {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-md);
    }

    .btn-back {
        width: 100%;
        text-align: center;
    }

    .order-detail-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   PRODUCT IMAGE GALLERY (ADMIN)
   ======================================== */

.product-images-gallery {
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    margin-bottom: var(--spacing-xl);
}

.product-images-gallery h3 {
    color: var(--brand-blue);
    margin-bottom: var(--spacing-md);
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: var(--spacing-md);
}

.image-item {
    position: relative;
    border: 2px solid var(--gray-300);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.image-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.image-actions {
    padding: var(--spacing-sm);
    background: var(--gray-100);
    display: flex;
    gap: var(--spacing-xs);
    flex-wrap: wrap;
}

.main-badge {
    background-color: var(--success);
    color: var(--white);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--border-radius);
    font-size: 0.8rem;
    font-weight: bold;
}

.btn-set-main {
    padding: var(--spacing-xs) var(--spacing-sm);
    background-color: var(--brand-blue);
    color: var(--white);
    border: none;
    border-radius: var(--border-radius);
    font-size: 0.8rem;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s;
}

.btn-set-main:hover {
    background-color: var(--brand-dark-blue);
}

.btn-delete-image {
    padding: var(--spacing-xs) var(--spacing-sm);
    background-color: var(--danger);
    color: var(--white);
    border: none;
    border-radius: var(--border-radius);
    font-size: 0.8rem;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s;
}

.btn-delete-image:hover {
    background-color: #c0392b;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .image-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
    
    .image-item img {
        height: 150px;
    }
}

/* ========================================
   USER ACCOUNT PAGES
   ======================================== */

.account-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Account Tabs */
.account-tabs {
    display: flex;
    gap: 0;
    margin-bottom: var(--spacing-xl);
    border-bottom: 3px solid var(--gray-300);
}

.account-tabs a {
    padding: var(--spacing-md) var(--spacing-xl);
    text-decoration: none;
    color: var(--gray-600);
    font-weight: 600;
    border-bottom: 3px solid transparent;
    margin-bottom: -3px;
    transition: all 0.3s;
}

.account-tabs a:hover {
    color: var(--brand-blue);
    background-color: var(--gray-100);
}

.account-tabs a.active {
    color: var(--brand-blue);
    border-bottom: 3px solid var(--brand-blue);
}

/* Account Header */
.account-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-xl);
    padding-bottom: var(--spacing-lg);
    border-bottom: 3px solid var(--brand-blue);
}

.account-header h1 {
    color: var(--dark-gray);
    font-size: 2rem;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: var(--spacing-xl);
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
}

.empty-state p {
    color: var(--gray-600);
    font-size: 1.2rem;
    margin-bottom: var(--spacing-lg);
}

/* Orders List */
.orders-list {
    display: grid;
    gap: var(--spacing-lg);
}

.order-card-user {
    background: var(--white);
    border: 1px solid var(--gray-300);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
}

.order-card-user:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.order-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: var(--spacing-lg);
    border-bottom: 2px solid var(--gray-200);
}

.order-card-header h3 {
    color: var(--dark-gray);
    margin-bottom: var(--spacing-xs);
}

.order-date {
    color: var(--gray-600);
    font-size: 0.9rem;
}

.order-card-status {
    text-align: right;
}

.order-card-body {
    padding: var(--spacing-lg);
}

.order-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--spacing-lg);
}

.order-info-grid .label {
    color: var(--gray-600);
    font-weight: 600;
    margin-right: var(--spacing-xs);
}

.order-info-grid .value {
    color: var(--dark-gray);
    font-weight: bold;
}

.order-card-footer {
    padding: var(--spacing-md) var(--spacing-lg);
    background: var(--gray-100);
    border-top: 1px solid var(--gray-200);
    display: flex;
    justify-content: flex-end;
}

.btn-view-order {
    padding: var(--spacing-sm) var(--spacing-lg);
    background-color: var(--brand-blue);
    color: var(--white);
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: all 0.3s;
}

.btn-view-order:hover {
    background-color: var(--brand-dark-blue);
}

/* Order Detail Page */
.order-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-xl);
    padding-bottom: var(--spacing-lg);
    border-bottom: 3px solid var(--brand-blue);
}

.order-detail-header h1 {
    color: var(--dark-gray);
}

.order-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

/* Settings Page */
.settings-grid {
    display: grid;
    gap: var(--spacing-xl);
}

.settings-card {
    background: var(--white);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
}

.settings-card h2 {
    color: var(--brand-blue);
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-md);
    border-bottom: 2px solid var(--gray-200);
}

.settings-card h3 {
    color: var(--brand-blue);
    font-size: 1.2rem;
}

.account-form .form-group {
    margin-bottom: var(--spacing-lg);
}

.account-form label {
    display: block;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: var(--spacing-sm);
}

.account-form input,
.account-form select {
    width: 100%;
    padding: var(--spacing-md);
    border: 2px solid var(--gray-300);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: border-color 0.3s;
}

.account-form input:focus,
.account-form select:focus {
    outline: none;
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 3px rgba(44, 82, 130, 0.1);
}

.account-form select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.account-form small {
    display: block;
    color: var(--gray-600);
    font-size: 0.9rem;
    margin-top: var(--spacing-xs);
}

.account-form .form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
}

.account-form .btn-submit {
    width: 100%;
    padding: var(--spacing-md);
    background-color: var(--brand-blue);
    color: var(--white);
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: var(--spacing-md);
}

.account-form .btn-submit:hover {
    background-color: var(--brand-dark-blue);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .account-tabs {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .account-tabs a {
        white-space: nowrap;
    }

    .account-header {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-md);
    }

    .order-detail-header {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-md);
    }

    .btn-back {
        width: 100%;
        text-align: center;
    }

    .order-card-header {
        flex-direction: column;
        gap: var(--spacing-md);
    }

    .order-info-grid {
        grid-template-columns: 1fr;
    }

    .order-detail-grid {
        grid-template-columns: 1fr;
    }

    .account-form .form-row {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   PRODUCT DETAIL PAGE
   ======================================== */

.product-detail-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Breadcrumb */
.breadcrumb {
    padding: var(--spacing-md) 0;
    color: var(--gray-600);
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--brand-blue);
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: var(--brand-dark-blue);
    text-decoration: underline;
}

/* Product Detail Grid */
.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    margin-top: var(--spacing-lg);
}

/* Image Gallery */
.product-gallery {
    position: sticky;
    top: var(--spacing-lg);
    align-self: start;
}

.main-image {
    width: 100%;
    margin-bottom: var(--spacing-md);
    border: 1px solid var(--gray-300);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    background-color: var(--white);
}

.main-image img {
    width: 100%;
    height: auto;
    display: block;
}

.thumbnail-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: var(--spacing-sm);
}

.thumbnail {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border: 2px solid var(--gray-300);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all 0.3s;
}

.thumbnail:hover {
    border-color: var(--brand-blue);
    transform: scale(1.05);
}

.thumbnail.active {
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 2px rgba(44, 82, 130, 0.2);
}

.no-image-large {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, var(--gray-200) 0%, var(--gray-300) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius-lg);
    color: var(--gray-500);
    font-size: 1.5rem;
    font-weight: 600;
}

/* Product Info */
.product-info {
    background: var(--white);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
}

.product-info h1 {
    font-size: 2rem;
    color: var(--dark-gray);
    margin-bottom: var(--spacing-lg);
}

.product-price-large {
    font-size: 2.5rem;
    color: var(--success);
    font-weight: bold;
    margin-bottom: var(--spacing-md);
}

.product-stock-large {
    font-size: 1.1rem;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--border-radius);
    display: inline-block;
    margin-bottom: var(--spacing-xl);
    background-color: var(--gray-100);
    color: var(--gray-700);
    font-weight: 600;
}

.product-stock-large.low-stock {
    background-color: #fff3cd;
    color: #856404;
}

.product-stock-large.out-of-stock {
    background-color: #f8d7da;
    color: #721c24;
}

.product-description-full {
    margin-bottom: var(--spacing-xl);
    padding-bottom: var(--spacing-xl);
    border-bottom: 2px solid var(--gray-200);
}

.product-description-full h2 {
    font-size: 1.3rem;
    color: var(--brand-blue);
    margin-bottom: var(--spacing-md);
}

.product-description-full p {
    line-height: 1.8;
    color: var(--gray-700);
}

/* Cart Form */
.product-detail-cart-form {
    margin-bottom: var(--spacing-lg);
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.quantity-selector label {
    font-weight: 600;
    color: var(--dark-gray);
}

.quantity-selector input {
    width: 80px;
    padding: var(--spacing-sm);
    border: 2px solid var(--gray-300);
    border-radius: var(--border-radius);
    font-size: 1rem;
    text-align: center;
}

.quantity-selector input:focus {
    outline: none;
    border-color: var(--brand-blue);
}

.btn-add-to-cart-large {
    width: 100%;
    padding: var(--spacing-lg);
    background-color: var(--brand-red);
    color: var(--white);
    border: none;
    border-radius: var(--border-radius);
    font-size: 1.3rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: var(--shadow-md);
}

.btn-add-to-cart-large:hover:not(:disabled) {
    background-color: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}

.btn-add-to-cart-large:disabled {
    background-color: var(--gray-400);
    cursor: not-allowed;
    transform: none;
}

.btn-back-to-products {
    display: inline-block;
    padding: var(--spacing-sm) var(--spacing-lg);
    background-color: var(--gray-500);
    color: var(--white);
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: all 0.3s;
    margin-top: var(--spacing-md);
}

.btn-back-to-products:hover {
    background-color: var(--gray-600);
}

.quantity-selector select {
    width: 80px;
    padding: var(--spacing-sm);
    border: 2px solid var(--gray-300);
    border-radius: var(--border-radius);
    font-size: 1rem;
    text-align: center;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.5rem center;
    padding-right: 2rem;
    background-color: var(--white);
}

.quantity-selector select:focus {
    outline: none;
    border-color: var(--brand-blue);
}

/* Toast Notification */
.toast-notification {
    position: fixed;
    top: 80px;
    right: 20px;
    background: linear-gradient(135deg, #27ae60 0%, #229954 100%);
    color: var(--white);
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    z-index: 9999;
    font-weight: 600;
    font-size: 1rem;
    opacity: 0;
    transform: translateX(400px);
    transition: all 0.3s ease;
}

.toast-notification.show {
    opacity: 1;
    transform: translateX(0);
    animation: slideInOut 3s ease;
}

@keyframes slideInOut {
    0% {
        transform: translateX(400px);
        opacity: 0;
    }
    10% {
        transform: translateX(0);
        opacity: 1;
    }
    90% {
        transform: translateX(0);
        opacity: 1;
    }
    100% {
        transform: translateX(400px);
        opacity: 0;
    }
}

@media (max-width: 768px) {
    .toast-notification {
        top: 70px;
        right: 10px;
        left: 10px;
        text-align: center;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .product-gallery {
        position: static;
    }
    
    .product-info {
        padding: var(--spacing-lg);
    }
    
    .product-info h1 {
        font-size: 1.5rem;
    }
    
    .product-price-large {
        font-size: 2rem;
    }
    
    .thumbnail-gallery {
        grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
    }
    
    .thumbnail {
        height: 60px;
    }
}

/* ========================================
   ABOUT PAGE
   ======================================== */

.about-container {
    max-width: 900px;
    margin: 0 auto;
}

.about-container h1 {
    font-size: 2.5rem;
    color: var(--dark-gray);
    margin-bottom: var(--spacing-xl);
    text-align: center;
    padding-bottom: var(--spacing-lg);
    border-bottom: 3px solid var(--brand-blue);
}

.about-content {
    background: var(--white);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
}

.about-section {
    margin-bottom: var(--spacing-xl);
    padding-bottom: var(--spacing-xl);
    border-bottom: 2px solid var(--gray-200);
}

.about-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.about-section h2 {
    font-size: 1.8rem;
    color: var(--brand-blue);
    margin-bottom: var(--spacing-md);
}

.about-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray-700);
    margin-bottom: var(--spacing-md);
}

/* Contact Section */
section.contact-section {
    background: var(--gray-100);
    padding: var(--spacing-xl) var(--spacing-lg) !important;
    border-radius: var(--border-radius-lg);
    margin-top: var(--spacing-xl);
    text-align: center;
    border-bottom: none !important;
}

/* Alert Messages */
.alert {
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    margin-bottom: var(--spacing-lg);
    font-weight: 600;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 2px solid #c3e6cb;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 2px solid #f5c6cb;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .about-container h1 {
        font-size: 2rem;
    }
    
    .about-section h2 {
        font-size: 1.5rem;
    }
    
    .about-section p {
        font-size: 1rem;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
}

/* Contact Page */
.contact-page-container {
    max-width: 700px;
    margin: 0 auto;
}

.contact-page-container h1 {
    font-size: 2.5rem;
    color: var(--dark-gray);
    margin-bottom: var(--spacing-md);
    text-align: center;
}

.contact-intro {
    text-align: center;
    font-size: 1.1rem;
    color: var(--gray-600);
    margin-bottom: 0.25rem;
}

.contact-intro:last-of-type {
    margin-bottom: var(--spacing-md);
}

.contact-form-wrapper {
    background: var(--white);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
}

.contact-form textarea {
    width: 100%;
    padding: var(--spacing-md);
    border: 2px solid var(--gray-300);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: border-color 0.3s;
    resize: vertical;
    min-height: 150px;
    font-family: inherit;
}

.contact-form textarea:focus {
    outline: none;
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 3px rgba(44, 82, 130, 0.1);
}


.contact-form .btn-submit {
    display: block;
    margin: 0 auto;
    padding: var(--spacing-md) var(--spacing-xl);
    background-color: var(--success);
    color: var(--white);
    border: none;
    border-radius: var(--border-radius);
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.contact-form .btn-submit:hover {
    background-color: #27ae60;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ========================================
   FOOTER
   ======================================== */

.site-footer {
    background: linear-gradient(135deg, var(--brand-dark-blue) 0%, var(--brand-blue) 100%);
    color: var(--white);
    margin-top: var(--spacing-xxl);
    padding: var(--spacing-xxl) var(--spacing-lg) var(--spacing-lg);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.footer-section h3 {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: var(--spacing-md);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: var(--spacing-sm);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-contact-btn {
    display: inline-block;
    padding: var(--spacing-sm) var(--spacing-lg);
    background-color: var(--brand-red);
    color: var(--white);
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: all 0.3s;
    margin-top: var(--spacing-sm);
}

.footer-contact-btn:hover {
    background-color: var(--danger);
    transform: translateY(-2px);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-links {
        text-align: center;
    }
}

/* ========================================
   FORM VALIDATION STYLES
   ======================================== */

/* Valid input - green border stays */
.valid-input {
    border-color: var(--success) !important;
    box-shadow: 0 0 0 3px rgba(39, 174, 96, 0.1) !important;
}

/* Invalid input - red border stays */
.invalid-input {
    border-color: var(--danger) !important;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1) !important;
}

.focused-input {
    border-color: var(--brand-blue) !important;
    box-shadow: 0 0 0 3px rgba(44, 82, 130, 0.1) !important;
}

/* Flash red animation */
@keyframes flashRed {
    0%, 100% { 
        border-color: var(--danger);
        box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.3);
    }
    50% { 
        border-color: var(--danger);
        box-shadow: 0 0 0 6px rgba(231, 76, 60, 0.5);
    }
}

.flash-red {
    animation: flashRed 0.5s ease;
}

/* Password Strength Indicator */
.password-strength {
    margin-top: var(--spacing-sm);
    padding: var(--spacing-md);
    background: var(--gray-100);
    border-radius: var(--border-radius);
}

.strength-bar {
    height: 8px;
    background: var(--gray-300);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: var(--spacing-sm);
}

.strength-fill {
    height: 100%;
    width: 0%;
    transition: width 0.3s, background-color 0.3s;
    background-color: var(--gray-400);
}

.strength-text {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--gray-700);
}

.strength-requirements {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.85rem;
}

.strength-requirements li {
    padding: 2px 0;
    transition: color 0.3s;
}


.field-error {
    display: none;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    color: var(--brand-red);
    font-size: 0.875rem;
    margin-top: 0.25rem;
    font-weight: 500;
    white-space: nowrap;
    pointer-events: none;
}

.field-error.show {
    display: block;
}
