/* Mobile Menu Styles */
.mobile-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    border-bottom: 1px solid #e9ecef;
}

/* Mobile header adjustments */
@media (max-width: 768px) {
    .header-contact {
        gap: 15px;
    }

    .header-contact .phone {
        display: none; /* Hide phone on mobile to save space */
    }

    .login-link {
        font-size: 13px;
    }

    .login-link svg {
        width: 14px;
        height: 14px;
    }
}

/* Tablet adjustments */
@media (min-width: 769px) and (max-width: 1024px) {
    .header-contact {
        gap: 20px;
    }
}

.mobile-menu.show {
    display: block;
}

.mobile-menu-content {
    padding: 20px;
}

.mobile-menu-item {
    display: block;
    padding: 15px 0;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #f1f1f1;
    font-weight: 500;
}

.mobile-menu-item:hover {
    color: var(--primary-green);
    text-decoration: none;
}

.mobile-menu-contact {
    margin-top: 20px;
    text-align: center;
}

.navbar-toggler {
    border: none;
    background: none;
    font-size: 1.2rem;
    color: #333;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler.active {
    color: var(--primary-green);
}

/* Form Validation Styles */
.is-invalid {
    border-color: #dc3545;
}

.invalid-feedback {
    display: block;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: #dc3545;
}

/* Responsive Payment Section - Mobile First */
.payment-section {
    padding: 15px 0;
    background-color: #f8f9fa;
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
}

.payment-title {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
    font-weight: 500;
}

.payment-methods img {
    max-height: 41px;
    height: 41px;
    width: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    border: none;
    transition: opacity 0.3s ease;
}

.payment-methods img:hover {
    opacity: 0.8;
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .payment-section {
        padding: 20px 0;
    }

    .payment-methods img {
        max-height: 35px;
        height: 35px;
    }

    .payment-title {
        font-size: 13px;
    }
}

/* Tablet Optimizations */
@media (min-width: 769px) and (max-width: 1024px) {
    .payment-methods img {
        max-height: 38px;
        height: 38px;
    }
}

/* Desktop Large Screens */
@media (min-width: 1200px) {
    .payment-section {
        padding: 25px 0;
    }

    .payment-methods img {
        max-height: 45px;
        height: 45px;
    }
}

/* Offline/Loading States */
.payment-methods img[src*="error"] {
    background: #f8f9fa;
    border: 1px dashed #dee2e6;
    padding: 10px;
}

/* Mobile First Responsive Design */

/* Base styles for all devices */
.container-fluid {
    max-width: 100%;
    padding-left: 15px;
    padding-right: 15px;
}

/* Mobile styles */
@media (max-width: 768px) {
    .container-fluid {
        padding-left: 12px;
        padding-right: 12px;
    }

    .btn {
        width: 100%;
        margin-bottom: 10px;
    }

    .card {
        margin-bottom: 15px;
        border-radius: 12px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }
}