/* Luxury Hair Booking - Customer Account Styles */

.lhb-auth-container {
    max-width: 500px;
    margin: 40px auto;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.lhb-auth-tabs {
    display: flex;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.lhb-auth-tab {
    flex: 1;
    padding: 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    background: none;
    font-size: 16px;
    font-weight: 500;
}

.lhb-auth-tab.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.lhb-auth-tab:hover {
    background: rgba(255, 255, 255, 0.05);
}

.lhb-auth-form {
    padding: 40px;
    display: none;
}

.lhb-auth-form.lhb-auth-form-active {
    display: block;
}

.lhb-auth-form h3 {
    margin: 0 0 30px 0;
    color: #333;
    text-align: center;
    font-size: 24px;
    font-weight: 600;
}

.lhb-customer-login-only .lhb-auth-form h3 {
    color: #667eea;
}

.lhb-form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.lhb-form-field {
    margin-bottom: 25px;
    flex: 1;
}

.lhb-form-field label {
    display: block;
    margin-bottom: 8px;
    color: #555;
    font-weight: 500;
    font-size: 14px;
}

.lhb-form-field input,
.lhb-form-field select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e1e8ed;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.lhb-form-field input:focus,
.lhb-form-field select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.lhb-form-actions {
    margin: 30px 0 20px 0;
}

.lhb-btn {
    display: inline-block;
    padding: 14px 28px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.lhb-btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    width: 100%;
}

.lhb-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.lhb-btn-primary:active {
    transform: translateY(0);
}

.lhb-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

.lhb-btn-loading {
    display: none;
}

.lhb-btn.loading .lhb-btn-text {
    display: none;
}

.lhb-btn.loading .lhb-btn-loading {
    display: inline-block;
}

.lhb-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.lhb-form-footer {
    text-align: center;
    margin-top: 20px;
}

.lhb-form-footer a {
    color: #667eea;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.lhb-form-footer a:hover {
    color: #5a67d8;
    text-decoration: underline;
}

.lhb-customer-dashboard {
    max-width: 1200px;
    margin: 20px auto;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.lhb-dashboard-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 30px 40px;
}

.lhb-dashboard-header h2 {
    margin: 0 0 10px 0;
    font-size: 28px;
    font-weight: 600;
}

.lhb-dashboard-header p {
    margin: 0;
    opacity: 0.9;
    font-size: 16px;
}

.lhb-dashboard-nav {
    display: flex;
    gap: 12px;
    padding: 24px;
    background: #F9FAFB;
    flex-wrap: wrap;
    border-bottom: 2px solid #E5E7EB;
}

.lhb-nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 24px;
    background: white;
    border: 2px solid #E5E7EB;
    border-radius: 12px;
    color: #6B7280;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 200px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.lhb-nav-item svg {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    color: #9CA3AF;
    transition: all 0.3s ease;
}

.lhb-nav-item span {
    flex: 1;
}

.lhb-nav-item:hover {
    border-color: #F59E0B;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.05) 0%, rgba(251, 191, 36, 0.05) 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.15);
    color: #F59E0B;
}

.lhb-nav-item:hover svg {
    color: #F59E0B;
    transform: scale(1.1);
}

.lhb-nav-item.lhb-nav-active {
    background: linear-gradient(135deg, #F59E0B 0%, #FBBF24 100%);
    border-color: #F59E0B;
    color: white;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.lhb-nav-item.lhb-nav-active svg {
    color: white;
}

.lhb-dashboard-tabs {
    display: flex;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.lhb-dashboard-tab {
    padding: 20px 30px;
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.lhb-dashboard-tab:hover {
    color: #667eea;
    background: rgba(102, 126, 234, 0.05);
}

.lhb-dashboard-tab.active {
    color: #667eea;
    background: #fff;
}

.lhb-dashboard-tab.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #667eea;
}

.lhb-dashboard-content {
    padding: 40px;
}

.lhb-tab-content {
    display: none;
}

.lhb-tab-content.active {
    display: block;
}

.lhb-appointments-grid {
    display: grid;
    gap: 20px;
    margin-top: 20px;
}

.lhb-appointment-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 25px;
    border-left: 5px solid #667eea;
    transition: all 0.3s ease;
}

.lhb-appointment-card:hover {
    background: #f1f3f4;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.lhb-appointment-header {
    display: flex;
    justify-content: between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.lhb-appointment-date {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.lhb-appointment-time {
    font-size: 16px;
    color: #667eea;
    font-weight: 500;
}

.lhb-appointment-status {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.lhb-appointment-status.confirmed {
    background: #d4edda;
    color: #155724;
}

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

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

.lhb-appointment-details {
    margin-bottom: 15px;
}

.lhb-appointment-service {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    margin-bottom: 5px;
}

.lhb-appointment-staff {
    font-size: 14px;
    color: #666;
}

.lhb-appointment-price {
    font-size: 16px;
    font-weight: 600;
    color: #667eea;
    margin-top: 10px;
}

.lhb-appointment-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.lhb-btn-small {
    padding: 8px 16px;
    font-size: 14px;
    border-radius: 6px;
}

.lhb-btn-danger {
    background: #dc3545;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lhb-btn-danger:hover {
    background: #c82333;
    transform: translateY(-1px);
}

.lhb-no-appointments {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.lhb-no-appointments i {
    font-size: 48px;
    color: #ccc;
    margin-bottom: 20px;
}

.lhb-profile-form .lhb-form-row {
    margin-bottom: 20px;
}

.lhb-profile-form .lhb-form-field {
    margin-bottom: 0;
}

.lhb-success-message,
.lhb-error-message {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: 500;
}

.lhb-success-message {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.lhb-error-message {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Responsive Design */
@media (max-width: 768px) {
    .lhb-auth-container,
    .lhb-customer-dashboard {
        margin: 20px 15px;
        border-radius: 10px;
    }

    .lhb-auth-form,
    .lhb-dashboard-content {
        padding: 30px 20px;
    }

    .lhb-dashboard-header {
        padding: 25px 20px;
    }

    .lhb-dashboard-nav {
        padding: 16px;
        gap: 10px;
    }

    .lhb-nav-item {
        min-width: 0;
        flex: 1 1 calc(50% - 5px);
        padding: 14px 16px;
        font-size: 14px;
    }

    .lhb-nav-item svg {
        width: 18px;
        height: 18px;
    }

    .lhb-dashboard-tabs {
        flex-wrap: wrap;
    }

    .lhb-dashboard-tab {
        flex: 1;
        padding: 15px 10px;
        font-size: 14px;
        text-align: center;
    }

    .lhb-form-row {
        flex-direction: column;
        gap: 0;
    }

    .lhb-appointment-header {
        flex-direction: column;
        gap: 10px;
    }

    .lhb-appointment-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 480px) {
    .lhb-auth-tabs {
        flex-direction: column;
    }

    .lhb-auth-tab {
        padding: 15px;
    }

    .lhb-dashboard-header h2 {
        font-size: 24px;
    }

    .lhb-dashboard-nav {
        flex-direction: column;
        padding: 12px;
    }

    .lhb-nav-item {
        flex: 1 1 100%;
        justify-content: flex-start;
        padding: 12px 16px;
    }

    .lhb-appointment-card {
        padding: 20px 15px;
    }
}