.buzz-customer-portal {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.buzz-customer-portal h2 {
    margin-bottom: 2rem;
    color: #333;
    font-size: 1.8rem;
}

.buzz-customer-portal .buzz-no-appointments {
    text-align: center;
    padding: 40px;
    background: #f9f9f9;
    border-radius: 8px;
    color: #666;
}

.buzz-customer-portal .buzz-view-switcher {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    gap: 10px;
}

.buzz-customer-portal .buzz-view-btn {
    padding: 10px 20px;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.buzz-customer-portal .buzz-view-btn:hover {
    background: #f8f9fa;
}

.buzz-customer-portal .buzz-view-btn.active {
    background: #007bff;
    color: #fff;
    border-color: #007bff;
}

.buzz-customer-portal .buzz-appointments-filter {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    gap: 10px;
}

.buzz-customer-portal .buzz-filter-btn {
    padding: 8px 16px;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.buzz-customer-portal .buzz-filter-btn:hover {
    background: #f8f9fa;
}

.buzz-customer-portal .buzz-filter-btn.active {
    background: #007bff;
    color: #fff;
    border-color: #007bff;
}

.buzz-customer-portal .buzz-filter-btn i {
    font-size: 14px;
}

.buzz-customer-portal .buzz-view-container {
    position: relative;
}

.buzz-customer-portal .buzz-cards-view,
.buzz-customer-portal .buzz-calendar-view {
    display: none;
}

.buzz-customer-portal .buzz-cards-view.active,
.buzz-customer-portal .buzz-calendar-view.active {
    display: block;
}

.buzz-customer-portal .buzz-appointments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.buzz-customer-portal .buzz-appointment-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 20px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.buzz-customer-portal .buzz-appointment-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.buzz-customer-portal .buzz-appointment-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.buzz-customer-portal .buzz-appointment-header h3 {
    margin: 0;
    font-size: 18px;
    color: #333;
}

.buzz-customer-portal .buzz-appointment-status {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.buzz-customer-portal .buzz-status-confirmed {
    background: #d4edda;
    color: #155724;
}

.buzz-customer-portal .buzz-status-pending {
    background: #fff3cd;
    color: #856404;
}

.buzz-customer-portal .buzz-status-cancelled {
    background: #f8d7da;
    color: #721c24;
}

.buzz-customer-portal .buzz-status-pending-3ds {
    background: #e2e3e5;
    color: #383d41;
}

.buzz-customer-portal .buzz-appointment-details {
    color: #666;
}

.buzz-customer-portal .buzz-appointment-details p {
    margin: 8px 0;
    font-size: 14px;
}

.buzz-customer-portal .buzz-appointment-details strong {
    color: #333;
    font-weight: 600;
}

.buzz-customer-portal .buzz-customer-portal-calendar {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.buzz-customer-portal #buzz-appointments-calendar {
    min-height: 600px;
}

.buzz-customer-portal .fc-event {
    cursor: pointer;
    border-radius: 4px;
    padding: 2px 4px;
}

.buzz-customer-portal .fc-event-title {
    font-weight: 500;
}

.buzz-customer-portal .buzz-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
}

.buzz-customer-portal .buzz-modal-content {
    position: relative;
    background: #fff;
    width: 90%;
    max-width: 500px;
    margin: 50px auto;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.buzz-customer-portal .buzz-modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    cursor: pointer;
    color: #666;
}

.buzz-customer-portal .buzz-modal-close:hover {
    color: #333;
}

.buzz-customer-portal .buzz-appointment-order a {
    color: #1976d2;
    text-decoration: none;
}

.buzz-customer-portal .buzz-appointment-order a:hover {
    text-decoration: underline;
}

.buzz-customer-portal .buzz-customer-portal-login-required {
    text-align: center;
    padding: 2rem;
    background: #fff3cd;
    border: 1px solid #ffeeba;
    border-radius: 8px;
    color: #856404;
}

.buzz-customer-portal .buzz-customer-portal-error {
    text-align: center;
    padding: 2rem;
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 8px;
    color: #721c24;
    margin: 1rem 0;
}

.buzz-customer-portal .btn-primary {
    background: var(--buzz-btn-primary, #007bff);
    color: #fff;
    border: 1.5px solid var(--buzz-btn-primary, #007bff);
    font-weight: 600;
    box-shadow: none;
    transition: all 0.2s;
}
.buzz-customer-portal .btn-primary:hover, .buzz-customer-portal .btn-primary:focus {
    background: var(--buzz-btn-primary-hover, #0056b3);
    border-color: var(--buzz-btn-primary-hover, #0056b3);
    color: #fff;
}

.buzz-customer-portal .btn-outline-primary {
    background: #fff;
    color: var(--buzz-btn-primary, #007bff);
    border: 1.5px solid var(--buzz-btn-primary, #007bff);
    font-weight: 600;
    box-shadow: none;
    transition: all 0.2s;
}
.buzz-customer-portal .btn-outline-primary:hover, .buzz-customer-portal .btn-outline-primary:focus {
    background: var(--buzz-btn-primary, #007bff);
    color: #fff;
    border-color: var(--buzz-btn-primary, #007bff);
}

:root {
    --buzz-btn-primary: #007bff;
    --buzz-btn-primary-hover: #0056b3;
}

@media (max-width: 768px) {
    .buzz-customer-portal .buzz-appointments-grid {
        grid-template-columns: 1fr;
    }

    .buzz-customer-portal .buzz-view-switcher {
        flex-direction: column;
        align-items: stretch;
    }

    .buzz-customer-portal .buzz-view-btn {
        width: 100%;
        justify-content: center;
    }

    .buzz-customer-portal .buzz-appointments-filter {
        flex-direction: column;
        align-items: stretch;
    }

    .buzz-customer-portal .buzz-filter-btn {
        width: 100%;
        justify-content: center;
    }

    .buzz-customer-portal #buzz-appointments-calendar {
        min-height: 400px;
    }
} 