/* Basic Reset & Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f7f9fc; /* Softer, lighter grey */
    color: #3a4149;
    line-height: 1.6;
    font-size: 16px; /* Base font size for mobile */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem; /* Mobile-first padding */
}

/* Mobile-first responsive container */
@media (min-width: 768px) {
    .container {
        padding: 2rem;
    }
}

/* Mobile-first responsive design */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 5% auto;
        max-height: 90vh;
        overflow-y: auto;
    }
    
    .notification {
        left: 20px;
        right: 20px;
        margin: 0 auto;
        max-width: none;
    }
    
    .btn, .form-group input {
        min-height: 44px; /* Touch-friendly minimum height */
    }
    
    .close {
        font-size: 24px;
        padding: 0.5rem;
        min-width: 44px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .auth-form {
        padding: 1.5rem;
    }
    
    .auth-form h2 {
        font-size: 1.5rem;
    }
    
    .form-group label {
        font-size: 0.9rem;
    }
    
    .checkout-modal-body {
        grid-template-columns: 1fr;
    }
    
    .payment-options {
        flex-direction: column;
    }
    
    .wallet-grid {
        grid-template-columns: 1fr;
    }
    
    .support-overview {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .order-card-header {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .order-card-header h3 {
        font-size: 1.1rem;
    }
    
    .wallet-card h3, .transactions-card h3 {
        font-size: 1.2rem;
    }
    
    .wallet-balance-amount {
        font-size: 2rem;
    }
    
    .transaction-type {
        font-size: 0.9rem;
    }
    
    .transaction-amount {
        font-size: 1rem;
    }
    
    .main-content h2 {
        font-size: 1.5rem;
    }
    
    .support-card i {
        font-size: 2.5rem;
    }
    
    .support-card h3 {
        font-size: 1.2rem;
    }
    
    .support-card p {
        font-size: 0.9rem;
    }
    
    .faq-section h3 {
        font-size: 1.3rem;
    }
    
    .faq-question span {
        font-size: 0.9rem;
    }
    
    .faq-answer p {
        font-size: 0.9rem;
    }
    
    .contact-support h3 {
        font-size: 1.3rem;
    }
    
    .contact-method i {
        font-size: 1.5rem;
        width: 30px;
    }
    
    .contact-method h4 {
        font-size: 1rem;
    }
    
    .contact-method p {
        font-size: 0.9rem;
    }
    
    .live-chat-widget {
        width: calc(100vw - 40px);
        right: 20px;
        left: 20px;
    }
    
    .message-content p {
        font-size: 0.85rem;
    }
    
    .message-content small {
        font-size: 0.65rem;
    }
}

/* Tablet and desktop enhancements */
@media (min-width: 768px) {
    .modal-content {
        width: 90%;
        margin: 10% auto;
    }
    
    .notification {
        left: auto;
        margin: 0;
        max-width: 400px;
    }
    
    .close {
        font-size: 28px;
        padding: 0;
        min-width: auto;
        min-height: auto;
    }
    
    .auth-form {
        padding: 2.5rem;
    }
    
    .auth-form h2 {
        font-size: 1.8rem;
    }
    
    .form-group label {
        font-size: 1rem;
    }
    
    .checkout-modal-body {
        grid-template-columns: 2fr 1fr;
    }
    
    .payment-options {
        flex-direction: row;
    }
    
    .wallet-grid {
        grid-template-columns: 2fr 1fr;
    }
    
    .support-overview {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .order-card-header h3 {
        font-size: 1.3rem;
    }
    
    .wallet-card h3, .transactions-card h3 {
        font-size: 1.4rem;
    }
    
    .wallet-balance-amount {
        font-size: 2.5rem;
    }
    
    .transaction-type {
        font-size: 1rem;
    }
    
    .transaction-amount {
        font-size: 1.1rem;
    }
    
    .main-content h2 {
        font-size: 2rem;
    }
    
    .support-card i {
        font-size: 3rem;
    }
    
    .support-card h3 {
        font-size: 1.4rem;
    }
    
    .support-card p {
        font-size: 1rem;
    }
    
    .faq-section h3 {
        font-size: 1.5rem;
    }
    
    .faq-question span {
        font-size: 1rem;
    }
    
    .faq-answer p {
        font-size: 1rem;
    }
    
    .contact-support h3 {
        font-size: 1.5rem;
    }
    
    .contact-method i {
        font-size: 1.8rem;
        width: 40px;
    }
    
    .contact-method h4 {
        font-size: 1.1rem;
    }
    
    .contact-method p {
        font-size: 1rem;
    }
    
    .live-chat-widget {
        width: 350px;
    }
    
    .message-content p {
        font-size: 0.9rem;
    }
    
    .message-content small {
        font-size: 0.7rem;
    }
}

/* --- Login & Auth Forms --- */
.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: #1e1e1e; /* Dark background */
    padding: 1rem; /* Add padding for mobile */
}

.auth-form {
    background: white;
    padding: 1.5rem; /* Reduced padding for mobile */
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 400px;
    text-align: center;
}

/* Auth Logo Styles */
.auth-logo {
    margin-bottom: 2rem;
    text-align: center;
}

.auth-logo i {
    font-size: 3rem;
    color: #32CD32;
    margin-bottom: 0.5rem;
    display: block;
}

.auth-logo h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin: 0.5rem 0;
    letter-spacing: -0.5px;
}

.auth-logo p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
    font-weight: 500;
}

@media (min-width: 768px) {
    .auth-form {
        padding: 2.5rem;
    }
    
    .auth-logo i {
        font-size: 3.5rem;
    }
    
    .auth-logo h1 {
        font-size: 2.5rem;
    }
    
    .auth-logo p {
        font-size: 1rem;
    }
}

.auth-form h2 {
    margin-bottom: 1.5rem;
    color: #333;
    font-size: 1.5rem; /* Smaller for mobile */
}

@media (min-width: 768px) {
    .auth-form h2 {
        font-size: 1.8rem;
    }
}

.form-group {
    margin-bottom: 1rem;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.9rem; /* Smaller for mobile */
}

@media (min-width: 768px) {
    .form-group label {
        font-size: 1rem;
    }
}

.form-group input {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    min-height: 44px; /* Touch-friendly minimum height */
}

.btn {
    width: 100%;
    padding: 0.9rem;
    border: none;
    border-radius: 8px;
    background: linear-gradient(45deg, #34D399, #32CD32);
    color: white;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    min-height: 44px; /* Touch-friendly minimum height */
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.auth-switch {
    margin-top: 1.5rem;
    font-size: 0.9rem;
}

.auth-switch a {
    color: #32CD32; /* Lime Green */
    text-decoration: none;
    font-weight: 600;
}

/* --- Utilities --- */
#loadingSpinner {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.8);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #32CD32; /* Lime Green */
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    left: 20px; /* Full width on mobile */
    padding: 1rem 1.5rem;
    border-radius: 8px;
    color: white;
    font-weight: 500;
    z-index: 10000;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    max-width: 400px; /* Limit width on larger screens */
    margin: 0 auto; /* Center on mobile */
}

@media (min-width: 768px) {
    .notification {
        left: auto; /* Reset for desktop */
        margin: 0;
    }
}

.notification.success { background-color: #28a745; }
.notification.error { background-color: #dc3545; }
.notification.info { background-color: #17a2b8; }

/* --- Modals --- */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.6);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto; /* Reduced margin for mobile */
    padding: 0;
    border-radius: 10px;
    width: 95%; /* Wider on mobile */
    max-width: 600px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.3);
    animation: slide-down 0.3s ease-out;
    max-height: 90vh; /* Prevent overflow on mobile */
    overflow-y: auto;
}

@media (min-width: 768px) {
    .modal-content {
        margin: 10% auto;
        width: 90%;
    }
}

@keyframes slide-down {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    background: #fefefe;
    z-index: 1;
}

.modal-header h3 {
    margin: 0;
    color: #1e1e1e; /* Dark Text */
    font-size: 1.2rem; /* Smaller for mobile */
}

@media (min-width: 768px) {
    .modal-header h3 {
        font-size: 1.4rem;
    }
}

.close {
    color: #aaa;
    font-size: 24px; /* Smaller for mobile */
    font-weight: bold;
    cursor: pointer;
    padding: 0.5rem; /* Touch-friendly */
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 768px) {
    .close {
        font-size: 28px;
        padding: 0;
        min-width: auto;
        min-height: auto;
    }
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
}

.modal-body {
    padding: 1rem 1.5rem;
}

@media (min-width: 768px) {
    .modal-body {
        padding: 1.5rem 2rem;
    }
}

.modal-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid #e0e0e0;
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    flex-wrap: wrap; /* Allow wrapping on mobile */
}

@media (min-width: 768px) {
    .modal-footer {
        padding: 1.5rem 2rem;
    }
}

/* Cart and Checkout Styles */
.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
}

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

.cart-qty-input {
    width: 60px;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-align: center;
    min-height: 44px; /* Touch-friendly */
}

.cart-total {
    font-weight: bold;
    font-size: 1.2rem;
    text-align: right;
    padding: 1rem 0;
    border-top: 2px solid #eee;
}

/* Floating Cart Button */
.floating-cart-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(45deg, #32CD32, #28a745);
    color: white;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 1000;
    transition: all 0.3s ease;
}

.floating-cart-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.cart-count-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #dc3545;
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
    border: 2px solid white;
}

.btn-remove {
    background: #dc3545;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    min-height: 44px; /* Touch-friendly */
}

.btn-remove:hover {
    background: #c82333;
}

/* Checkout Modal Styles */
.checkout-modal-content {
    max-width: 800px;
}

.checkout-modal-body {
    display: grid;
    grid-template-columns: 1fr; /* Single column on mobile */
    gap: 2rem;
}

@media (min-width: 768px) {
    .checkout-modal-body {
        grid-template-columns: 2fr 1fr; /* Two columns on desktop */
    }
}

.checkout-summary {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
}

.checkout-summary h4 {
    margin-bottom: 1rem;
    color: #333;
}

.summary-items {
    margin-bottom: 1rem;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.summary-total {
    border-top: 2px solid #ddd;
    padding-top: 1rem;
    font-weight: bold;
    font-size: 1.2rem;
    display: flex;
    justify-content: space-between;
}

.checkout-details textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    resize: vertical;
    min-height: 100px;
}

.payment-options {
    display: flex;
    flex-direction: column; /* Stack on mobile */
    gap: 1rem;
}

@media (min-width: 768px) {
    .payment-options {
        flex-direction: row; /* Side by side on desktop */
    }
}

.payment-option {
    display: flex;
    align-items: center;
    padding: 1rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
}

.payment-option:hover {
    border-color: #32CD32;
    background: #f9fff9;
}

.payment-option input[type="radio"]:checked + span {
    color: #32CD32;
}

.payment-option input[type="radio"] {
    margin-right: 0.5rem;
}

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

/* Order, Wallet, and Transaction Cards */
.order-card, .wallet-card, .transactions-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border: 1px solid #e8edf3;
}

.order-card:hover, .wallet-card:hover, .transactions-card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.order-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start; /* Allow wrapping on mobile */
    margin-bottom: 1rem;
    flex-wrap: wrap; /* Allow wrapping */
    gap: 1rem;
}

.order-card-header h3 {
    font-size: 1.1rem; /* Smaller for mobile */
    color: #333;
    margin: 0;
}

@media (min-width: 768px) {
    .order-card-header h3 {
        font-size: 1.3rem;
    }
}

.order-card-header .order-date {
    font-size: 0.9rem;
    color: #666;
}

.order-status {
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.order-status.status-pending { background-color: #fef0c7; color: #b54708; }
.order-status.status-processing { background-color: #d1e9ff; color: #175cd3; }
.order-status.status-out-for-delivery { background-color: #d1fadf; color: #027a48; }
.order-status.status-delivered { background-color: #d1fadf; color: #027a48; }
.order-status.status-cancelled { background-color: #fee4e2; color: #d92d20; }

.order-card-body .item-list {
    margin-bottom: 1rem;
}

.order-card-body .item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.order-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 2px solid #eee;
    font-weight: bold;
}

.order-total {
    font-size: 1.2rem;
    color: #32CD32;
}

/* Wallet Grid */
.wallet-grid {
    display: grid;
    grid-template-columns: 1fr; /* Single column on mobile */
    gap: 1.5rem;
}

@media (min-width: 992px) {
    .wallet-grid {
        grid-template-columns: 2fr 1fr; /* Two columns on desktop */
    }
}

.wallet-card h3, .transactions-card h3 {
    margin-bottom: 1rem;
    color: #333;
    font-size: 1.2rem; /* Smaller for mobile */
}

@media (min-width: 768px) {
    .wallet-card h3, .transactions-card h3 {
        font-size: 1.4rem;
    }
}

.wallet-balance-amount {
    font-size: 2rem; /* Smaller for mobile */
    font-weight: bold;
    color: #32CD32;
    margin: 1rem 0;
}

@media (min-width: 768px) {
    .wallet-balance-amount {
        font-size: 2.5rem;
    }
}

.wallet-card .btn {
    margin: 0.5rem 0;
    min-height: 44px; /* Touch-friendly */
}

/* Transaction Items */
.transaction-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.3s ease;
}

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

.transaction-item:hover {
    background: #f8f9fa;
}

.transaction-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    background: #f0f0f0;
}

.transaction-icon i {
    font-size: 1.2rem;
}

.text-success {
    color: #12b76a;
}

.text-danger {
    color: #f04438;
}

.transaction-details {
    flex: 1;
}

.transaction-details p {
    margin: 0;
}

.transaction-type {
    font-weight: 600;
    color: #333;
    font-size: 0.9rem; /* Smaller for mobile */
}

@media (min-width: 768px) {
    .transaction-type {
        font-size: 1rem;
    }
}

.transaction-date {
    font-size: 0.8rem;
    color: #888;
}

.transaction-amount {
    font-size: 1rem; /* Smaller for mobile */
    font-weight: 600;
    text-align: right;
}

@media (min-width: 768px) {
    .transaction-amount {
        font-size: 1.1rem;
    }
}

.transaction-amount.credit {
    color: #12b76a;
}

.transaction-amount.debit {
    color: #f04438;
}

.no-items-message {
    text-align: center;
    padding: 2rem;
    color: #666;
    font-style: italic;
}

/* Support Section */
.main-content h2 {
    font-size: 1.5rem; /* Smaller for mobile */
    margin-bottom: 1.5rem;
    color: #333;
}

@media (min-width: 768px) {
    .main-content h2 {
        font-size: 2rem;
    }
}

.support-overview {
    display: grid;
    grid-template-columns: 1fr; /* Single column on mobile */
    gap: 1.5rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .support-overview {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

.support-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.support-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(45deg, #32CD32, #28a745);
}

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

.support-card i {
    font-size: 2.5rem; /* Smaller for mobile */
    color: #32CD32;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .support-card i {
        font-size: 3rem;
    }
}

.support-card h3 {
    font-size: 1.2rem; /* Smaller for mobile */
    margin-bottom: 0.5rem;
    color: #333;
}

@media (min-width: 768px) {
    .support-card h3 {
        font-size: 1.4rem;
    }
}

.support-card p {
    color: #666;
    line-height: 1.6;
    font-size: 0.9rem; /* Smaller for mobile */
}

@media (min-width: 768px) {
    .support-card p {
        font-size: 1rem;
    }
}

/* FAQ Section */
.faq-section {
    margin: 2rem 0;
}

.faq-section h3 {
    font-size: 1.3rem; /* Smaller for mobile */
    margin-bottom: 1rem;
    color: #333;
}

@media (min-width: 768px) {
    .faq-section h3 {
        font-size: 1.5rem;
    }
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.faq-question {
    padding: 1rem 1.5rem;
    background: #f8f9fa;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: #333;
    transition: background 0.3s ease;
    min-height: 44px; /* Touch-friendly */
}

.faq-question:hover {
    background: #e9ecef;
}

.faq-question span {
    flex: 1;
    font-size: 0.9rem; /* Smaller for mobile */
}

@media (min-width: 768px) {
    .faq-question span {
        font-size: 1rem;
    }
}

.faq-question i {
    color: #32CD32;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 1rem 1.5rem;
    color: #666;
    line-height: 1.6;
    font-size: 0.9rem; /* Smaller for mobile */
}

@media (min-width: 768px) {
    .faq-answer p {
        font-size: 1rem;
    }
}

/* Contact Support */
.contact-support {
    margin: 2rem 0;
}

.contact-support h3 {
    font-size: 1.3rem; /* Smaller for mobile */
    margin-bottom: 1rem;
    color: #333;
}

@media (min-width: 768px) {
    .contact-support h3 {
        font-size: 1.5rem;
    }
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr; /* Single column on mobile */
    gap: 2rem;
}

@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr; /* Two columns on desktop */
    }
}

.contact-form {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.contact-info {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    margin-bottom: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.contact-method:hover {
    background: #e9ecef;
}

.contact-method i {
    font-size: 1.5rem; /* Smaller for mobile */
    color: #32CD32;
    width: 30px;
    text-align: center;
}

@media (min-width: 768px) {
    .contact-method i {
        font-size: 1.8rem;
        width: 40px;
    }
}

.contact-method h4 {
    font-size: 1rem; /* Smaller for mobile */
    margin-bottom: 0.25rem;
    color: #333;
}

@media (min-width: 768px) {
    .contact-method h4 {
        font-size: 1.1rem;
    }
}

.contact-method p {
    color: #666;
    font-size: 0.9rem; /* Smaller for mobile */
    margin: 0;
}

@media (min-width: 768px) {
    .contact-method p {
        font-size: 1rem;
    }
}

.contact-method small {
    color: #999;
    font-size: 0.8rem;
}

/* Live Chat Widget */
.live-chat-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 350px; /* Smaller on mobile */
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.2);
    z-index: 1000;
    overflow: hidden;
    display: none;
}

@media (max-width: 480px) {
    .live-chat-widget {
        width: calc(100vw - 40px); /* Full width minus margins */
        right: 20px;
        left: 20px;
    }
}

.chat-header {
    background: linear-gradient(45deg, #32CD32, #28a745);
    color: white;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.chat-header i {
    margin-right: 0.5rem;
}

.chat-header span {
    font-weight: 600;
}

.chat-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(45deg, #32CD32, #28a745);
    color: white;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    z-index: 1000;
    transition: all 0.3s ease;
}

.chat-toggle:hover {
    transform: scale(1.1);
}

.chat-body {
    height: 300px;
    display: flex;
    flex-direction: column;
}

.chat-messages {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
    background: #f8f9fa;
    max-height: 200px;
}

.message {
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
}

.message.user {
    align-items: flex-end;
}

.message-content {
    max-width: 80%;
    padding: 0.75rem 1rem;
    border-radius: 18px;
    background: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.message.user .message-content {
    background: #32CD32;
    color: white;
}

.message.user .message-content p {
    margin: 0;
    font-size: 0.9rem; /* Smaller for mobile */
}

.message.user .message-content small {
    font-size: 0.7rem;
    opacity: 0.8;
}

.message-content p {
    margin: 0 0 0.25rem 0;
    font-size: 0.9rem; /* Smaller for mobile */
}

.message-content small {
    font-size: 0.7rem;
    color: #666;
}

.chat-input {
    padding: 1rem;
    background: white;
    border-top: 1px solid #e0e0e0;
    display: flex;
    gap: 0.5rem;
}

.chat-input input {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 20px;
    font-size: 0.9rem;
    min-height: 44px; /* Touch-friendly */
}

.chat-input input:focus {
    outline: none;
    border-color: #32CD32;
}

.chat-input button {
    padding: 0.75rem 1rem;
    background: #32CD32;
    color: white;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    min-height: 44px; /* Touch-friendly */
    min-width: 44px;
}

.chat-input button:hover {
    background: #28a745;
}

/* Mobile-specific adjustments */
@media (max-width: 480px) {
    .live-chat-widget {
        width: calc(100vw - 40px);
        right: 20px;
        left: 20px;
    }
    
    .support-overview {
        grid-template-columns: 1fr;
    }
}

.message-content p {
    font-size: 0.85rem; /* Even smaller on very small screens */
}

.message-content small {
    font-size: 0.65rem;
} 