/* Shopping Cart Drawer */
.cart-drawer {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100%;
    background: white;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
    z-index: 3000;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

.cart-drawer.open {
    right: 0;
}

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 2999;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cart-overlay.show {
    display: block;
    opacity: 1;
}

.cart-drawer-header {
    padding: 20px;
    border-bottom: 1px solid #ddd;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8f8f8;
}

.cart-drawer-header h2 {
    margin: 0;
    color: #131921;
    font-size: 24px;
}

.cart-close {
    background: none;
    border: none;
    font-size: 32px;
    cursor: pointer;
    color: #666;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.cart-close:hover {
    background: #e0e0e0;
    color: #000;
}

.cart-drawer-content {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.cart-empty {
    text-align: center;
    padding: 60px 20px;
}

.cart-empty-icon {
    font-size: 80px;
    margin-bottom: 20px;
    opacity: 0.3;
}

.cart-empty h3 {
    color: #131921;
    margin-bottom: 10px;
}

.cart-empty p {
    color: #666;
    margin-bottom: 20px;
}

/* Cart Item Styles */
.cart-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    animation: fadeInUp 0.3s ease;
}

.cart-item-image {
    width: 80px;
    height: 80px;
    background: #f0f0f0;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 12px;
    flex-shrink: 0;
    overflow: hidden;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cart-item-details {
    flex: 1;
}

.cart-item-title {
    color: #0066CC;
    font-weight: 500;
    margin-bottom: 5px;
    cursor: pointer;
}

.cart-item-title:hover {
    text-decoration: underline;
}

.cart-item-price {
    color: #B12704;
    font-weight: 700;
    font-size: 18px;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.quantity-btn {
    width: 30px;
    height: 30px;
    border: 1px solid #ddd;
    background: white;
    cursor: pointer;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.quantity-btn:hover {
    background: #f0f0f0;
    border-color: #999;
}

.quantity-btn:active {
    transform: scale(0.95);
}

.quantity-input {
    width: 50px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 5px;
    font-size: 16px;
}

.cart-item-remove {
    color: #0066CC;
    cursor: pointer;
    font-size: 14px;
    margin-left: 10px;
}

.cart-item-remove:hover {
    text-decoration: underline;
}

/* Cart Footer */
.cart-drawer-footer {
    padding: 20px;
    border-top: 1px solid #ddd;
    background: #f8f8f8;
}

.cart-subtotal {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: 600;
    color: #131921;
}

.cart-subtotal-price {
    color: #B12704;
}

.btn-checkout {
    width: 100%;
    margin-bottom: 10px;
}

.btn-secondary {
    width: 100%;
    padding: 12px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #f8f8f8;
    border-color: #999;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .cart-drawer {
        width: 100%;
        right: -100%;
    }
    
    .cart-drawer-header h2 {
        font-size: 20px;
    }
    
    .cart-item {
        flex-wrap: wrap;
    }
    
    .cart-item-image {
        width: 60px;
        height: 60px;
    }
}

/* Cart Count Animation */
@keyframes cartBounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.3); }
}

.cart-count.bounce {
    animation: cartBounce 0.3s ease;
}* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background-color: #f7f7f7;
    color: #0F1111;
}

/* Header Styles */
.header {
    background: linear-gradient(135deg, #131921 0%, #232f3e 100%);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.header-main {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    gap: 15px;
}

.hamburger-menu {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.hamburger-menu:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-1px);
}

.hamburger {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.hamburger span {
    width: 20px;
    height: 2px;
    background: white;
    transition: all 0.3s ease;
}

.logo {
    height: 40px;
    width: auto;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.deliver-to {
    color: #CCCCCC;
    font-size: 12px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.deliver-to:hover {
    color: white;
}

.deliver-to .location {
    color: white;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 5px;
}

.deliver-to .update-location {
    color: #FEBD69;
    font-weight: 500;
    text-decoration: underline;
}

.search-container {
    flex: 1;
    display: flex;
    align-items: center;
    position: relative;
}

.search-category {
    background: #f3f3f3;
    border: none;
    padding: 10px 15px;
    border-radius: 4px 0 0 4px;
    font-size: 12px;
    color: #555;
    cursor: pointer;
    height: 40px;
    transition: all 0.3s ease;
}

.search-category:hover {
    background: #e3e3e3;
}

.search-input {
    flex: 1;
    border: none;
    padding: 10px 15px;
    font-size: 16px;
    height: 40px;
    outline: none;
}

.search-button {
    background: #FEBD69;
    border: none;
    padding: 10px 20px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    height: 40px;
    transition: all 0.3s ease;
}

.search-button:hover {
    background: #F3A847;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(254, 189, 105, 0.4);
}

.account-info {
    color: white;
    cursor: pointer;
    padding: 8px;
    transition: all 0.3s ease;
}

.account-info:hover {
    transform: translateY(-1px);
}

.account-info .greeting {
    font-size: 12px;
    color: #CCCCCC;
}

.account-info .account-name {
    font-weight: 700;
    font-size: 14px;
}

.cart {
    display: flex;
    align-items: center;
    color: white;
    cursor: pointer;
    padding: 8px 15px;
    position: relative;
    transition: all 0.3s ease;
}

.cart:hover {
    transform: translateY(-1px);
}

.cart-icon {
    font-size: 28px;
    position: relative;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #FEBD69;
    color: #131921;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Navigation Bar */
.nav-bar {
    background: #232F3E;
    padding: 5px 15px;
    display: flex;
    gap: 20px;
    overflow-x: auto;
    white-space: nowrap;
}

.nav-item {
    color: white;
    text-decoration: none;
    padding: 5px 10px;
    font-size: 14px;
    border-radius: 4px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #FEBD69;
    transition: width 0.3s ease;
}

.nav-item:hover::after {
    width: 100%;
}

.nav-item:hover {
    background: rgba(255,255,255,0.1);
}

/* Hero Carousel */
.carousel-container {
    position: relative;
    height: 250px;
    overflow: hidden;
    background: white;
    margin: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
    height: 100%;
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0066CC 0%, #004499 100%);
    color: white;
    font-size: 24px;
    font-weight: 700;
    position: relative;
    overflow: hidden;
    position: relative;
}

.carousel-caption {
  position: absolute;
  bottom: 20%;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 2rem;
  font-weight: bold;
  text-shadow: 0 2px 8px rgba(0,0,0,0.7);
  pointer-events: none; /* so clicks go through to the carousel nav */
}

.carousel-slide::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(254,189,105,0.2) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(-10%, -10%) rotate(0deg); }
    50% { transform: translate(10%, 10%) rotate(180deg); }
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    padding: 20px 15px;
    cursor: pointer;
    font-size: 20px;
    transition: all 0.3s ease;
}

.carousel-nav:hover {
    background: rgba(0,0,0,0.8);
    transform: translateY(-50%) scale(1.1);
}

.carousel-prev { left: 10px; }
.carousel-next { right: 10px; }

/* Product Cards */
.section {
    margin: 20px;
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    animation: fadeInUp 0.6s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-header {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #131921;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-header::after {
    content: '';
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, #FEBD69 0%, transparent 100%);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.product-card {
    border: 1px solid #DDD;
    border-radius: 8px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(254,189,105,0.2), transparent);
    transition: left 0.5s ease;
}

.product-card:hover::before {
    left: 100%;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    border-color: #0066CC;
}

.product-image {
    width: 100%;
    height: 150px;
    background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
    border-radius: 4px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    position: relative;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #FF4136;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.product-badge.bestseller {
    background: #FEBD69;
    color: #131921;
}

.product-title {
    font-size: 14px;
    color: #0066CC;
    margin-bottom: 5px;
    font-weight: 500;
    flex-grow: 1;
}

.product-short-desc {
    font-size: 12px;
    color: #666;
    margin-bottom: 8px;
    line-height: 1.4;
}

.product-price-container {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
}

.product-compare-price {
    font-size: 14px;
    color: #999;
    text-decoration: line-through;
}

.product-price {
    font-size: 18px;
    font-weight: 700;
    color: #B12704;
}

.product-stock-warning {
    font-size: 12px;
    color: #B12704;
    margin-top: 5px;
    font-weight: 500;
}

.category-card {
    background: linear-gradient(135deg, #0066CC 0%, #004499 100%);
    color: white;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(254,189,105,0.3) 0%, transparent 70%);
    transition: all 0.5s ease;
}

.category-card:hover::before {
    top: 0;
    right: 0;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,102,204,0.3);
}

.category-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.category-subtitle {
    font-size: 14px;
    opacity: 0.9;
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border-radius: 4px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    padding: 20px;
    display: none;
    min-width: 250px;
    z-index: 1001;
}

.dropdown-menu.show {
    display: block;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-item {
    padding: 10px 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.dropdown-item:hover {
    background: #f0f0f0;
    transform: translateX(5px);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    animation: fadeIn 0.3s ease;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.modal.show {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 20px 0;
}

.modal-content {
    background-color: white;
    padding: 0;
    border-radius: 8px;
    width: 90%;
    max-width: 400px;
    position: relative;
    animation: slideInUp 0.3s ease;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    margin: 20px auto;
    max-height: 90vh;
    overflow-y: auto;
}

/* Wider modal for registration form */
.modal-content:has(#registerForm.active) {
    max-width: 500px;
}

.modal-small {
    max-width: 350px;
}

/* Mobile optimization */
@media (max-width: 768px) {
    .modal.show {
        align-items: center;
        padding: 10px;
    }
    
    .modal-content {
        width: 100%;
        max-width: 100%;
        max-height: 85vh;
        margin: 0;
    }
    
    .auth-container {
        padding: 20px;
    }
    
    .form-row {
        flex-direction: column;
    }
    
    .form-group.half {
        width: 100%;
    }
}

@media (max-height: 700px) {
    .modal-content {
        max-height: 100vh;
        border-radius: 0;
    }
    
    .modal.show {
        padding: 0;
    }
}

@keyframes slideInUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close {
    color: #aaa;
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1;
    transition: color 0.3s ease;
}

.close:hover {
    color: #000;
}

/* Authentication Styles */
.auth-container {
    padding: 30px;
    max-height: calc(90vh - 60px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

/* Scrollbar styling for auth container */
.auth-container::-webkit-scrollbar {
    width: 6px;
}

.auth-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.auth-container::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 3px;
}

.auth-container::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.auth-logo {
    display: block;
    margin: 0 auto 30px;
    height: 50px;
}

.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
}

.auth-form h2 {
    margin-bottom: 20px;
    color: #131921;
    font-size: 28px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #131921;
    font-size: 14px;
}

.form-input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: all 0.3s ease;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

/* Prevent zoom on iOS when focusing inputs */
@media (max-width: 768px) {
    .form-input {
        font-size: 16px !important;
    }
    
    select.form-input {
        background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
        background-repeat: no-repeat;
        background-position: right 10px center;
        background-size: 20px;
        padding-right: 40px;
    }
}

.form-input:focus {
    outline: none;
    border-color: #0066CC;
    box-shadow: 0 0 0 3px rgba(0,102,204,0.1);
}

.form-group small {
    display: block;
    margin-top: 5px;
    color: #666;
    font-size: 12px;
}

.checkbox-group {
    display: flex;
    align-items: center;
}

.checkbox-group label {
    margin-bottom: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.btn-primary {
    width: 100%;
    padding: 12px;
    background: #FEBD69;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.btn-primary:hover {
    background: #F3A847;
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(254,189,105,0.3);
}

.auth-divider {
    text-align: center;
    margin: 20px 0;
    position: relative;
}

.auth-divider span {
    background: white;
    padding: 0 15px;
    color: #999;
    position: relative;
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #ddd;
}

.btn-oauth {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
}

.btn-oauth:hover {
    background: #f8f8f8;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.btn-oauth img {
    width: 20px;
    height: 20px;
}

.auth-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: #666;
}

.auth-footer a {
    color: #0066CC;
    text-decoration: none;
    font-weight: 500;
}

.auth-footer a:hover {
    text-decoration: underline;
}

.auth-message {
    margin-top: 15px;
    padding: 10px;
    border-radius: 4px;
    font-size: 14px;
    display: none;
}

.auth-message.error {
    background: #fee;
    color: #c00;
    border: 1px solid #fcc;
    display: block;
}

.auth-message.success {
    background: #efe;
    color: #060;
    border: 1px solid #cfc;
    display: block;
}

/* Location Modal Styles */
.location-container {
    padding: 30px;
}

.location-container h2 {
    margin-bottom: 10px;
    color: #131921;
}

.location-container p {
    color: #666;
    margin-bottom: 20px;
    font-size: 14px;
}

/* Toast Notification Styles */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    pointer-events: none;
}

.toast {
    background: white;
    border-radius: 8px;
    padding: 16px 24px;
    margin-bottom: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 300px;
    max-width: 500px;
    pointer-events: all;
    animation: slideInRight 0.3s ease, fadeOut 0.3s ease 4.7s;
    animation-fill-mode: forwards;
    position: relative;
    overflow: hidden;
}

.toast::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    width: 100%;
    background: currentColor;
    animation: shrinkWidth 5s linear;
}

@keyframes shrinkWidth {
    from { width: 100%; }
    to { width: 0%; }
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeOut {
    to {
        opacity: 0;
        transform: translateX(100%);
    }
}

.toast.success {
    border-left: 4px solid #28a745;
    color: #28a745;
}

.toast.error {
    border-left: 4px solid #dc3545;
    color: #dc3545;
}

.toast.info {
    border-left: 4px solid #17a2b8;
    color: #17a2b8;
}

.toast.warning {
    border-left: 4px solid #ffc107;
    color: #ffc107;
}

.toast-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.toast-content {
    flex: 1;
    color: #333;
}

.toast-title {
    font-weight: 600;
    margin-bottom: 4px;
    color: #131921;
}

.toast-message {
    font-size: 14px;
    line-height: 1.4;
}

.toast-close {
    cursor: pointer;
    color: #999;
    font-size: 20px;
    padding: 0 0 0 12px;
    transition: color 0.3s ease;
}

.toast-close:hover {
    color: #333;
}

/* Mobile toast adjustments */
@media (max-width: 768px) {
    .toast-container {
        top: 10px;
        right: 10px;
        left: 10px;
    }
    
    .toast {
        min-width: auto;
        max-width: 100%;
    }
}

/* Resend Email Link Styling */
.auth-message a {
    color: #0066CC;
    text-decoration: underline;
    font-weight: 500;
    cursor: pointer;
}

.auth-message a:hover {
    color: #004499;
    text-decoration: none;
}

/* Form Row and Section Styles */
.form-row {
    display: flex;
    gap: 15px;
}

.form-group.half {
    flex: 1;
}

.form-section-divider {
    text-align: center;
    margin: 25px 0 20px;
    position: relative;
}

.form-section-divider span {
    background: white;
    padding: 0 15px;
    color: #131921;
    font-weight: 600;
    position: relative;
}

.form-section-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #ddd;
}

/* Mobile-friendly close button */
.close {
    color: #aaa;
    position: fixed;
    right: 20px;
    top: 20px;
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
    transition: color 0.3s ease;
    background: white;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
    .close {
        right: 15px;
        top: 15px;
    }
}