/* Styles pour le Dashboard Établissement */

.dashboard-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
}

.dashboard-tab {
    padding: 1rem 1.5rem;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dashboard-tab:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.dashboard-tab.active {
    color: var(--hotellerie-primary);
    border-bottom-color: var(--hotellerie-primary);
}

.dashboard-tab-content {
    padding: 2rem 0;
}

.dashboard-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.dashboard-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.auth-modal-content {
    max-width: 600px;
    width: 90%;
}

.establishment-user-menu {
    position: relative;
}

.dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.5rem;
    background: var(--bg-secondary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    min-width: 200px;
    z-index: 1000;
    overflow: hidden;
}

.dropdown-item {
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    transition: background 0.2s ease;
    color: var(--text-primary);
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.dropdown-item.danger {
    color: var(--danger-color);
}

.dropdown-item .icon {
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
}

/* Light mode */
body.light-mode .dashboard-card {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(0, 0, 0, 0.1);
}

body.light-mode .dashboard-tab {
    color: rgba(0, 0, 0, 0.7);
}

body.light-mode .dashboard-tab.active {
    color: var(--hotellerie-primary);
}

body.light-mode .dropdown {
    background: white;
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Styles pour la grille de services */
.service-checkbox {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--hotellerie-primary);
}

.service-item-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.service-item-label:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.service-item-label.selected {
    background: rgba(102, 126, 234, 0.2);
    border-color: var(--hotellerie-primary);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.service-item-label .service-icon {
    font-size: 1.5rem;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.service-item-label.selected .service-icon {
    color: var(--hotellerie-primary);
}

.service-item-label .service-name {
    flex: 1;
    color: var(--text-primary);
    font-weight: 400;
    transition: font-weight 0.3s ease;
}

.service-item-label.selected .service-name {
    font-weight: 600;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

body.light-mode .service-item-label {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.1);
}

body.light-mode .service-item-label:hover {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.15);
}

body.light-mode .service-item-label.selected {
    background: rgba(102, 126, 234, 0.1);
    border-color: var(--hotellerie-primary);
}

body.light-mode .form-actions {
    border-top-color: rgba(0, 0, 0, 0.1);
}

