/* Customer Pages Styles - Adhering to existing theme design */

/* Hero Section Small */
.hero-section-small {
    background: linear-gradient(135deg, var(--her-primary) 0%, var(--her-secondary) 100%) !important;
    padding: 4rem 0 3rem !important;
    color: white !important;
}

.theme-him .hero-section-small {
    background: linear-gradient(135deg, var(--him-primary) 0%, var(--him-secondary) 100%) !important;
}

.hero-title {
    font-size: 2.5rem !important;
    font-weight: 700 !important;
    margin-bottom: 1rem !important;
}

.hero-subtitle {
    font-size: 1.125rem !important;
    opacity: 0.9 !important;
    margin-bottom: 0 !important;
}

/* Authentication Cards */
.auth-card {
    background: white !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
    overflow: hidden !important;
    border: none !important;
}

.theme-him .auth-card {
    background: var(--him-primary) !important;
    border: 1px solid var(--him-border) !important;
}

.auth-card-header {
    padding: 2rem 2rem 1rem !important;
    text-align: center !important;
    border-bottom: 1px solid #f0f0f0 !important;
}

.theme-him .auth-card-header {
    border-bottom-color: var(--him-border) !important;
}

.auth-title {
    font-size: 1.75rem !important;
    font-weight: 600 !important;
    color: var(--her-primary) !important;
    margin-bottom: 0.5rem !important;
}

.theme-him .auth-title {
    color: var(--him-secondary) !important;
}

.auth-subtitle {
    color: #666 !important;
    margin-bottom: 0 !important;
}

.theme-him .auth-subtitle {
    color: #ccc !important;
}

.auth-card-body {
    padding: 2rem !important;
}

.auth-card-footer {
    padding: 1rem 2rem 2rem !important;
    background-color: #f8f9fa !important;
    border-top: 1px solid #f0f0f0 !important;
}

.theme-him .auth-card-footer {
    background-color: var(--him-accent) !important;
    border-top-color: var(--him-border) !important;
}

/* Form Inputs */
.auth-input,
.profile-input {
    border: 2px solid #e0e0e0 !important;
    border-radius: 8px !important;
    padding: 0.75rem 1rem !important;
    font-size: 1rem !important;
    transition: all 0.3s ease !important;
    background-color: white !important;
}

.theme-him .auth-input,
.theme-him .profile-input {
    background-color: var(--him-accent) !important;
    border-color: var(--him-border) !important;
    color: white !important;
}

.auth-input:focus,
.profile-input:focus {
    border-color: var(--her-primary) !important;
    box-shadow: 0 0 0 3px rgba(105, 67, 43, 0.1) !important;
    outline: none !important;
}

.theme-him .auth-input:focus,
.theme-him .profile-input:focus {
    border-color: var(--him-secondary) !important;
    box-shadow: 0 0 0 3px rgba(236, 192, 167, 0.1) !important;
}

.form-label {
    font-weight: 500 !important;
    color: #333 !important;
    margin-bottom: 0.5rem !important;
}

.theme-him .form-label {
    color: white !important;
}

/* Buttons */
.auth-btn,
.profile-btn {
    background: linear-gradient(135deg, var(--her-primary) 0%, var(--her-secondary) 100%) !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 0.875rem 2rem !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    color: white !important;
    transition: all 0.3s ease !important;
}

.theme-him .auth-btn,
.theme-him .profile-btn {
    background: linear-gradient(135deg, var(--him-secondary) 0%, var(--him-accent) 100%) !important;
    color: var(--him-primary) !important;
}

.auth-btn:hover,
.profile-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(105, 67, 43, 0.3) !important;
}

.theme-him .auth-btn:hover,
.theme-him .profile-btn:hover {
    box-shadow: 0 8px 25px rgba(236, 192, 167, 0.3) !important;
}

.profile-btn-secondary {
    background: transparent !important;
    border: 2px solid #e0e0e0 !important;
    color: #666 !important;
}

.theme-him .profile-btn-secondary {
    border-color: var(--him-border) !important;
    color: white !important;
}

/* Links */
.auth-link {
    color: #666 !important;
    text-decoration: none !important;
}

.auth-link:hover {
    color: var(--her-primary) !important;
    text-decoration: underline !important;
}

.theme-him .auth-link {
    color: #ccc !important;
}

.theme-him .auth-link:hover {
    color: var(--him-secondary) !important;
}

.auth-link-primary {
    color: var(--her-primary) !important;
    font-weight: 600 !important;
    text-decoration: none !important;
}

.theme-him .auth-link-primary {
    color: var(--him-secondary) !important;
}

.auth-link-primary:hover {
    text-decoration: underline !important;
}

/* Profile Sidebar */
.profile-sidebar {
    background: white !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
    overflow: hidden !important;
}

.theme-him .profile-sidebar {
    background: var(--him-primary) !important;
    border: 1px solid var(--him-border) !important;
}

.profile-avatar-section {
    padding: 2rem !important;
    text-align: center !important;
    border-bottom: 1px solid #f0f0f0 !important;
}

.theme-him .profile-avatar-section {
    border-bottom-color: var(--him-border) !important;
}

.profile-avatar {
    width: 100px !important;
    height: 100px !important;
    margin: 0 auto 1rem !important;
    border-radius: 50% !important;
    overflow: hidden !important;
    border: 4px solid var(--her-secondary) !important;
}

.theme-him .profile-avatar {
    border-color: var(--him-secondary) !important;
}

.avatar-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.avatar-placeholder {
    width: 100% !important;
    height: 100% !important;
    background: var(--her-secondary) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 2rem !important;
    color: var(--her-primary) !important;
}

.theme-him .avatar-placeholder {
    background: var(--him-secondary) !important;
    color: var(--him-primary) !important;
}

.profile-name {
    font-size: 1.25rem !important;
    font-weight: 600 !important;
    color: var(--her-primary) !important;
    margin-bottom: 0.25rem !important;
}

.theme-him .profile-name {
    color: var(--him-secondary) !important;
}

.profile-email {
    color: #666 !important;
    margin-bottom: 0.25rem !important;
}

.theme-him .profile-email {
    color: #ccc !important;
}

.profile-member-since {
    font-size: 0.875rem !important;
    color: #999 !important;
    margin-bottom: 0 !important;
}

.theme-him .profile-member-since {
    color: #aaa !important;
}

/* Profile Menu */
.profile-menu {
    padding: 0 !important;
}

.profile-menu-item {
    display: flex !important;
    align-items: center !important;
    padding: 1rem 1.5rem !important;
    color: #666 !important;
    text-decoration: none !important;
    border-bottom: 1px solid #f0f0f0 !important;
    transition: all 0.3s ease !important;
}

.theme-him .profile-menu-item {
    color: white !important;
    border-bottom-color: var(--him-border) !important;
}

.profile-menu-item:hover {
    background-color: #f8f9fa !important;
    color: var(--her-primary) !important;
}

.theme-him .profile-menu-item:hover {
    background-color: var(--him-accent) !important;
    color: var(--him-secondary) !important;
}

.profile-menu-item.active {
    background-color: var(--her-secondary) !important;
    color: var(--her-primary) !important;
    font-weight: 600 !important;
}

.theme-him .profile-menu-item.active {
    background-color: var(--him-secondary) !important;
    color: var(--him-primary) !important;
}

.profile-menu-item i {
    margin-right: 0.75rem !important;
    width: 16px !important;
}

/* Profile Cards */
.profile-card {
    background: white !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
    overflow: hidden !important;
    margin-bottom: 2rem !important;
}

.theme-him .profile-card {
    background: var(--him-primary) !important;
    border: 1px solid var(--him-border) !important;
}

.profile-card-header {
    padding: 1.5rem 2rem 1rem !important;
    border-bottom: 1px solid #f0f0f0 !important;
}

.theme-him .profile-card-header {
    border-bottom-color: var(--him-border) !important;
}

.profile-card-title {
    font-size: 1.25rem !important;
    font-weight: 600 !important;
    color: var(--her-primary) !important;
    margin-bottom: 0.25rem !important;
}

.theme-him .profile-card-title {
    color: var(--him-secondary) !important;
}

.profile-card-subtitle {
    color: #666 !important;
    margin-bottom: 0 !important;
}

.theme-him .profile-card-subtitle {
    color: #ccc !important;
}

.profile-card-body {
    padding: 2rem !important;
}

/* Profile Tabs */
.profile-tab-content {
    display: none !important;
}

.profile-tab-content.active {
    display: block !important;
}

/* Theme Selector */
.theme-selector {
    display: flex !important;
    gap: 1rem !important;
    margin-bottom: 2rem !important;
}

.theme-option {
    flex: 1 !important;
    border: 2px solid #e0e0e0 !important;
    border-radius: 8px !important;
    padding: 1rem !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    text-align: center !important;
}

.theme-option:hover {
    border-color: var(--her-primary) !important;
}

.theme-option.active {
    border-color: var(--her-primary) !important;
    background-color: rgba(105, 67, 43, 0.1) !important;
}

.theme-him .theme-option:hover,
.theme-him .theme-option.active {
    border-color: var(--him-secondary) !important;
}

.theme-him .theme-option.active {
    background-color: rgba(236, 192, 167, 0.1) !important;
}

.theme-preview {
    width: 60px !important;
    height: 40px !important;
    border-radius: 6px !important;
    margin: 0 auto 0.75rem !important;
}

.theme-her-preview {
    background: linear-gradient(135deg, var(--her-primary) 0%, var(--her-secondary) 100%) !important;
}

.theme-him-preview {
    background: linear-gradient(135deg, var(--him-primary) 0%, var(--him-secondary) 100%) !important;
}

.theme-info h6 {
    font-weight: 600 !important;
    margin-bottom: 0.25rem !important;
    color: var(--her-primary) !important;
}

.theme-him .theme-info h6 {
    color: var(--him-secondary) !important;
}

.theme-info p {
    font-size: 0.875rem !important;
    color: #666 !important;
    margin-bottom: 0 !important;
}

.theme-him .theme-info p {
    color: #ccc !important;
}

/* Preference Sections */
.preference-section {
    margin-bottom: 2rem !important;
    padding-bottom: 2rem !important;
    border-bottom: 1px solid #f0f0f0 !important;
}

.theme-him .preference-section {
    border-bottom-color: var(--him-border) !important;
}

.preference-section:last-child {
    border-bottom: none !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.preference-title {
    font-weight: 600 !important;
    color: var(--her-primary) !important;
    margin-bottom: 0.5rem !important;
}

.theme-him .preference-title {
    color: var(--him-secondary) !important;
}

.preference-description {
    color: #666 !important;
    margin-bottom: 1rem !important;
}

.theme-him .preference-description {
    color: #ccc !important;
}

/* Reservation History */
.history-sidebar {
    background: white !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
    padding: 1.5rem !important;
}

.theme-him .history-sidebar {
    background: var(--him-primary) !important;
    border: 1px solid var(--him-border) !important;
}

.sidebar-section {
    margin-bottom: 2rem !important;
    padding-bottom: 1.5rem !important;
    border-bottom: 1px solid #f0f0f0 !important;
}

.theme-him .sidebar-section {
    border-bottom-color: var(--him-border) !important;
}

.sidebar-section:last-child {
    border-bottom: none !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.sidebar-title {
    font-weight: 600 !important;
    color: var(--her-primary) !important;
    margin-bottom: 1rem !important;
}

.theme-him .sidebar-title {
    color: var(--him-secondary) !important;
}

.filter-options .form-check {
    margin-bottom: 0.5rem !important;
}

.date-range-inputs input {
    border: 1px solid #e0e0e0 !important;
    border-radius: 6px !important;
    padding: 0.5rem !important;
}

.theme-him .date-range-inputs input {
    background-color: var(--him-accent) !important;
    border-color: var(--him-border) !important;
    color: white !important;
}

/* History Header */
.history-header {
    margin-bottom: 2rem !important;
}

.history-title {
    font-size: 1.5rem !important;
    font-weight: 600 !important;
    color: var(--her-primary) !important;
}

.theme-him .history-title {
    color: var(--him-secondary) !important;
}

.history-stats {
    display: flex !important;
    gap: 1.5rem !important;
}

.stat-item {
    font-size: 0.875rem !important;
    color: #666 !important;
}

.theme-him .stat-item {
    color: #ccc !important;
}

.stat-item strong {
    color: var(--her-primary) !important;
}

.theme-him .stat-item strong {
    color: var(--him-secondary) !important;
}

/* Reservation Cards */
.reservation-card {
    background: white !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
    margin-bottom: 1.5rem !important;
    overflow: hidden !important;
    border-left: 4px solid var(--her-secondary) !important;
}

.theme-him .reservation-card {
    background: var(--him-primary) !important;
    border: 1px solid var(--him-border) !important;
    border-left: 4px solid var(--him-secondary) !important;
}

.reservation-card.upcoming {
    border-left-color: #28a745 !important;
}

.reservation-card.completed {
    border-left-color: var(--her-primary) !important;
}

.reservation-card.cancelled {
    border-left-color: #dc3545 !important;
}

.reservation-header {
    display: flex !important;
    justify-content: between !important;
    align-items: flex-start !important;
    padding: 1.5rem 1.5rem 1rem !important;
    border-bottom: 1px solid #f0f0f0 !important;
}

.theme-him .reservation-header {
    border-bottom-color: var(--him-border) !important;
}

.reservation-salon {
    flex: 1 !important;
}

.salon-name {
    font-size: 1.125rem !important;
    font-weight: 600 !important;
    color: var(--her-primary) !important;
    margin-bottom: 0.5rem !important;
}

.theme-him .salon-name {
    color: var(--him-secondary) !important;
}

.reservation-status {
    display: inline-block !important;
    padding: 0.25rem 0.75rem !important;
    border-radius: 20px !important;
    font-size: 0.75rem !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
}

.status-upcoming {
    background-color: #d4edda !important;
    color: #155724 !important;
}

.status-completed {
    background-color: rgba(105, 67, 43, 0.1) !important;
    color: var(--her-primary) !important;
}

.status-cancelled {
    background-color: #f8d7da !important;
    color: #721c24 !important;
}

.reservation-date {
    text-align: center !important;
    min-width: 80px !important;
}

.date-display {
    background-color: var(--her-secondary) !important;
    color: var(--her-primary) !important;
    border-radius: 8px !important;
    padding: 0.75rem 0.5rem !important;
}

.theme-him .date-display {
    background-color: var(--him-secondary) !important;
    color: var(--him-primary) !important;
}

.date-display .date {
    display: block !important;
    font-size: 1.125rem !important;
    font-weight: 600 !important;
}

.date-display .year {
    display: block !important;
    font-size: 0.75rem !important;
    opacity: 0.8 !important;
}

.reservation-details {
    padding: 1.5rem !important;
}

.detail-item {
    display: flex !important;
    align-items: center !important;
    margin-bottom: 1rem !important;
}

.detail-item:last-child {
    margin-bottom: 0 !important;
}

.detail-item i {
    width: 20px !important;
    color: var(--her-primary) !important;
    margin-right: 0.75rem !important;
}

.theme-him .detail-item i {
    color: var(--him-secondary) !important;
}

.detail-info {
    display: flex !important;
    flex-direction: column !important;
}

.detail-label {
    font-size: 0.75rem !important;
    color: #666 !important;
    text-transform: uppercase !important;
    font-weight: 600 !important;
    margin-bottom: 0.125rem !important;
}

.theme-him .detail-label {
    color: #ccc !important;
}

.detail-value {
    font-weight: 500 !important;
    color: #333 !important;
}

.theme-him .detail-value {
    color: white !important;
}

.reservation-notes {
    display: flex !important;
    align-items: flex-start !important;
    margin-top: 1rem !important;
    padding: 1rem !important;
    background-color: #f8f9fa !important;
    border-radius: 6px !important;
}

.theme-him .reservation-notes {
    background-color: var(--him-accent) !important;
}

.reservation-notes i {
    color: var(--her-primary) !important;
    margin-right: 0.75rem !important;
    margin-top: 0.125rem !important;
}

.theme-him .reservation-notes i {
    color: var(--him-secondary) !important;
}

.reservation-actions {
    padding: 1rem 1.5rem !important;
    background-color: #f8f9fa !important;
    border-top: 1px solid #f0f0f0 !important;
    display: flex !important;
    gap: 0.5rem !important;
    flex-wrap: wrap !important;
}

.theme-him .reservation-actions {
    background-color: var(--him-accent) !important;
    border-top-color: var(--him-border) !important;
}

/* Empty State */
.empty-state {
    text-align: center !important;
    padding: 4rem 2rem !important;
}

.empty-state-icon {
    font-size: 4rem !important;
    color: #ccc !important;
    margin-bottom: 1.5rem !important;
}

.empty-state-title {
    font-size: 1.5rem !important;
    font-weight: 600 !important;
    color: var(--her-primary) !important;
    margin-bottom: 1rem !important;
}

.theme-him .empty-state-title {
    color: var(--him-secondary) !important;
}

.empty-state-text {
    color: #666 !important;
    margin-bottom: 2rem !important;
    max-width: 400px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.theme-him .empty-state-text {
    color: #ccc !important;
}

/* Form Actions */
.form-actions {
    display: flex !important;
    gap: 1rem !important;
    margin-top: 2rem !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem !important;
    }
    
    .auth-card-header,
    .auth-card-body,
    .profile-card-body {
        padding: 1.5rem !important;
    }
    
    .theme-selector {
        flex-direction: column !important;
    }
    
    .reservation-header {
        flex-direction: column !important;
        gap: 1rem !important;
    }
    
    .reservation-date {
        align-self: flex-start !important;
    }
    
    .history-stats {
        flex-direction: column !important;
        gap: 0.5rem !important;
    }
    
    .form-actions {
        flex-direction: column !important;
    }
    
    .reservation-actions {
        justify-content: center !important;
    }
}

