
    /* Ajoutez ce style pour le bouton */
    .btn-notice {
        display: inline-block;
        padding: 10px 20px;
        background-color: #2ecc71;
        color: white;
        text-decoration: none;
        border-radius: 4px;
        font-weight: 500;
        transition: background-color 0.3s;
        margin: 10px 0;
    }

    .btn-notice:hover {
        background-color: #27ae60;
    }

    .btn-notice i {
        margin-right: 8px;
    }

/* Correction spécifique pour les carrés de légende */
.legend-color {
    width: 20px !important;
    height: 20px !important;
    border-radius: 3px !important;
    display: inline-block !important;
    margin-right: 8px !important;
}

.disponible-color {
    background-color: #28a745 !important;
    border: 1px solid #238e3f !important;
}

.indisponible-color {
    background-color: #dc3545 !important;
    border: 1px solid #b02a37 !important;
}

/* Assurez-vous que la légende est bien visible */
.legend {
    display: flex !important;
    gap: 20px !important;
    margin-bottom: 20px !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    padding: 10px !important;
    background: #f8f9fa !important;
    border-radius: 5px !important;
}

.legend-item {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

/* ===== Gestion des disponibilités (version Models) ===== */
/* Calendrier des disponibilités */
#calendar {
    max-width: 100%;
    margin: 0 auto 30px;
    min-height: 550px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 15px;
}

/* Légende des disponibilités */
.legend {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    align-items: center;
    flex-wrap: wrap;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 5px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.legend-color {
    width: 20px;
    height: 20px;
    border-radius: 3px;
}

.disponible-color {
    background-color: #28a745;
    border: 1px solid #238e3f;
}

.indisponible-color {
    background-color: #dc3545;
    border: 1px solid #b02a37;
}

/* Événements du calendrier */
.fc-day-disponible {
    background-color: rgba(40, 167, 69, 0.2) !important;
}

.fc-day-indisponible {
    background-color: rgba(220, 53, 69, 0.2) !important;
}

/* Événements du calendrier pour les jours */
.fc-daygrid-day.fc-day-disponible {
    background-color: rgba(40, 167, 69, 0.1) !important;
}

.fc-daygrid-day.fc-day-indisponible {
    background-color: rgba(220, 53, 69, 0.1) !important;
}

/* Événements du calendrier pour les événements */
.fc-event-disponible {
    background-color: rgba(40, 167, 69, 0.3) !important;
    border-color: rgba(40, 167, 69, 0.3) !important;
}

.fc-event-indisponible {
    background-color: rgba(220, 53, 69, 0.3) !important;
    border-color: rgba(220, 53, 69, 0.3) !important;
}

/* Liste des disponibilités */
.disponibilites-list {
    margin: 30px 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 20px;
}

.disponibilites-list h3 {
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
    color: #2c3e50;
}

.disponibilite-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s;
}

.disponibilite-item:hover {
    background-color: #f8f9fa;
}

.disponibilite-date {
    font-weight: 500;
    color: #2c3e50;
    min-width: 120px;
}

.disponibilite-statut {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 0.9em;
    min-width: 100px;
    text-align: center;
    color: white !important;
}

.disponibilite-statut.disponible {
    background-color: #28a745 !important;
    color: white !important;
}

.disponibilite-statut.indisponible {
    background-color: #dc3545 !important;
    color: white !important;
}

.statut-dot {
    width: 8px !important;
    height: 8px !important;
    border-radius: 50% !important;
    display: inline-block !important;
    margin-right: 5px !important;
}

.disponible .statut-dot {
    background-color: #d4edda !important;
}

.indisponible .statut-dot {
    background-color: #f8d7da !important;
}

.disponibilite-notes {
    margin-left: 10px;
    color: #666;
    font-size: 0.9em;
}

.disponibilite-actions {
    display: flex;
    gap: 10px;
}

/* Modal pour ajouter/modifier une disponibilité */
.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.5);
}

.modal-content {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 25px;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    position: relative;
}

.close-modal {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 24px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
}

.close-modal:hover {
    color: #333;
}

/* Boutons */
.button {
    display: inline-block;
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s;
    text-decoration: none;
    text-align: center;
}

.button.primary {
    background-color: #3498db;
    color: white;
}

.button.primary:hover {
    background-color: #2980b9;
}

.button.secondary {
    background-color: #95a5a6;
    color: white;
}

.button.secondary:hover {
    background-color: #7f8c8d;
}

.button.delete {
    background-color: #e74c3c;
    color: white;
}

.button.delete:hover {
    background-color: #c0392b;
}

/* Bouton flottant */
.floating-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #3498db;
    color: white;
    border: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    font-size: 20px;
    cursor: pointer;
    transition: all 0.2s;
    z-index: 999;
}

.floating-btn:hover {
    background-color: #2980b9;
    transform: scale(1.05);
}

/* Alertes */
.alert {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 10px;
}

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

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

.alert i {
    font-size: 18px;
}

/* Styles pour FullCalendar */
.fc-header-toolbar {
    margin-bottom: 15px;
}

.fc-button {
    background-color: #3498db !important;
    border-color: #3498db !important;
}

.fc-button:hover {
    background-color: #2980b9 !important;
    border-color: #2980b9 !important;
}

.fc-button-primary:not(:disabled).fc-button-active,
.fc-button-primary:not(:disabled):active {
    background-color: #2980b9 !important;
    border-color: #2980b9 !important;
}

/* Responsive */
@media (max-width: 768px) {
    .disponibilite-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .disponibilite-actions {
        width: 100%;
        justify-content: flex-end;
    }

    .modal-content {
        margin: 5% auto;
        width: 95%;
    }

    #calendar {
        padding: 10px;
    }
}


/* ===== Styles pour la page de login ===== */

/* Conteneur principal */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 20px;
}

/* Carte de login */
.login-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 450px;
    padding: 30px;
}

/* En-tête du login */
.login-header {
    text-align: center;
    margin-bottom: 20px;
}

.login-header i {
    font-size: 2.5em;
    color: #3498db;
    margin-bottom: 10px;
}

.login-header h1 {
    margin: 0 0 5px;
    color: #2c3e50;
    font-size: 1.6em;
}

.login-header p {
    margin: 0;
    color: #7f8c8d;
    font-size: 0.9em;
}

/* Onglets de navigation */
.login-tabs {
    display: flex;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.login-tab {
    flex: 1;
    padding: 10px 0;
    text-align: center;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
    color: #7f8c8d;
    text-decoration: none;
    font-weight: 500;
}

.login-tab.active {
    border-bottom: 3px solid #3498db;
    color: #3498db;
}

.login-tab:hover {
    color: #3498db;
}

.login-tab i {
    margin-right: 5px;
}

/* Formulaire */
.login-form {
    display: flex;
    flex-direction: column;
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #2c3e50;
    font-size: 0.9em;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1em;
    transition: border-color 0.3s;
}

.form-group input:focus {
    border-color: #3498db;
    outline: none;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}

/* Indicateur de force du mot de passe */
.password-strength {
    margin-top: 5px;
    height: 5px;
    background: #eee;
    border-radius: 5px;
    overflow: hidden;
}

.password-requirements {
    margin-top: 10px;
    font-size: 0.8em;
    color: #666;
}

.requirement {
    display: flex;
    align-items: center;
    margin-bottom: 3px;
}

.requirement i {
    margin-right: 5px;
    width: 15px;
}

.valid {
    color: #28a745;
}

.invalid {
    color: #dc3545;
}

/* Lien mot de passe oublié */
.forgot-password {
    display: block;
    text-align: right;
    margin-top: 5px;
    font-size: 0.85em;
    color: #3498db;
    text-decoration: none;
}

.forgot-password:hover {
    text-decoration: underline;
}

/* Bouton de login */
.login-button {
    padding: 12px 20px;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1em;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s;
    margin-top: 10px;
}

.login-button:hover {
    background: #2980b9;
}

.login-button i {
    margin-right: 8px;
}

/* Messages */
.alert {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
    display: flex;
    align-items: center;
}

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

.alert.info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

.alert i {
    margin-right: 10px;
    font-size: 1.2em;
}

/* Pied de page */
.login-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9em;
    color: #7f8c8d;
}

.login-footer a {
    color: #3498db;
    text-decoration: none;
}

.login-footer a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 600px) {
    .login-card {
        padding: 20px;
        max-width: 90%;
    }

    .login-header h1 {
        font-size: 1.4em;
    }

    .login-header i {
        font-size: 2em;
    }
}
/* ===== Styles supplémentaires pour l'inscription ===== */

/* Disposition en grille pour les champs */
.form-row {
    display: flex;
    gap: 15px;
}

.form-row .form-group {
    flex: 1;
}

/* Style pour les cases à cocher */
.checkbox-group {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
}

.checkbox-group label {
    margin-bottom: 0;
    font-weight: normal;
}

/* Style pour les sélecteurs */
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1em;
    background: white;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 1em;
    padding-right: 30px;
}

/* Style pour les messages d'information */
.alert.info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* Style pour le formulaire d'inscription */
#register-form {
    margin-top: 10px;
}

/* Responsive pour les petits écrans */
@media (max-width: 600px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }
}
/* Styles pour le dashboard */

.dashboard-header {
    background: linear-gradient(135deg, #6e8efb, #a777e3);
    color: white;
    padding: 15px 30px;
    border-radius: 0 0 15px 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.dashboard-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dashboard-nav-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.dashboard-nav-right {
    display: flex;
    gap: 15px;
}

.dashboard-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin: 0;
    color: white;
}

.dashboard-nav-menu {
    display: flex;
    gap: 25px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.dashboard-nav-menu li a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    padding: 8px 15px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.dashboard-nav-menu li a:hover,
.dashboard-nav-menu li a.active {
    color: white;
    background: rgba(255,255,255,0.2);
    text-decoration: none;
}

.dashboard-nav-menu li a i {
    font-size: 1.1rem;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-weight: 500;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    color: #6e8efb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1rem;
}

.logout-link {
    color: rgba(255,255,255,0.8);
    margin-left: 10px;
}

.dashboard-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.welcome-message {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 30px;
    border-left: 4px solid #6e8efb;
}

.welcome-message h2 {
    color: #2c3e50;
    margin-top: 0;
    font-size: 1.5rem;
}

.welcome-message p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.highlight {
    font-weight: 600;
    color: #2c3e50;
}

.dashboard-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.dashboard-card {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.dashboard-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.card-icon {
    font-size: 2.5rem;
    color: #6e8efb;
    margin-bottom: 15px;
}

.card-title {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 10px;
    font-weight: 600;
}

.card-description {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.5;
}

.card-list {
    margin: 15px 0;
    padding-left: 20px;
    color: #666;
}

.card-list li {
    margin-bottom: 5px;
}

.card-link {
    display: inline-block;
    padding: 8px 15px;
    background: #6e8efb;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: background 0.3s;
}

.card-link:hover {
    background: #5a7df4;
}

/* Responsive */
@media (max-width: 768px) {
    .dashboard-nav {
        flex-direction: column;
        gap: 15px;
    }

    .dashboard-nav-menu {
        flex-wrap: wrap;
        gap: 15px;
    }

    .dashboard-title {
        font-size: 1.4rem;
    }

    .dashboard-cards {
        grid-template-columns: 1fr;
    }
}
/* Styles pour la page profil */

.profile-content {
    padding: 20px 0;
}

.profile-section {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 30px;
}

.profile-section h2 {
    color: #2c3e50;
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.profile-section h2 i {
    color: #6e8efb;
}

.profile-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 15px;
}

.profile-info-item {
    display: flex;
    flex-direction: column;
}

.info-label {
    font-weight: 600;
    color: #555;
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.info-value {
    color: #333;
    word-break: break-word;
}

.profile-section-sub {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.profile-section-sub h3 {
    color: #2c3e50;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.profile-section-sub h3 i {
    color: #6e8efb;
}

.profile-styles-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.style-tag {
    background: #f0f4ff;
    color: #6e8efb;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.profile-presentation {
    line-height: 1.6;
    color: #333;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 5px;
}

.empty-presentation {
    color: #666;
    font-style: italic;
}

/* Responsive */
@media (max-width: 768px) {
    .profile-info-grid {
        grid-template-columns: 1fr;
    }

    .profile-section {
        padding: 20px;
    }
}
/* Styles pour les formulaires et boutons d'édition */

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.edit-button {
    background: #6e8efb;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    gap: 5px;
}

.edit-button:hover {
    background: #5a7df4;
}

.edit-form {
    background: #f9f9f9;
    border-radius: 10px;
    padding: 20px;
    margin-top: 20px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #555;
    font-size: 0.9rem;
}

.form-group input[type="text"],
.form-group input[type="number"],
.form-group input[type="date"],
.form-group input[type="tel"],
.form-group input[type="url"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #6e8efb;
    outline: none;
}

.form-group textarea {
    min-height: 100px;
    resize: vertical;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox-group label {
    margin-bottom: 0;
    cursor: pointer;
}

.form-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    justify-content: flex-end;
}

.save-button, .cancel-button {
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.save-button {
    background: #28a745;
    color: white;
    border: none;
}

.save-button:hover {
    background: #218838;
}

.cancel-button {
    background: #dc3545;
    color: white;
    border: none;
}

.cancel-button:hover {
    background: #c82333;
}

.alert-message {
    background: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    border: 1px solid #c3e6cb;
}

.empty-text {
    color: #666;
    font-style: italic;
}

.full-width {
    grid-column: 1 / -1;
}

.presentation-text {
    padding: 10px;
    background: #f9f9f9;
    border-radius: 5px;
    white-space: pre-line;
}

/* Responsive */
@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-actions {
        flex-direction: column;
    }

    .save-button, .cancel-button {
        width: 100%;
    }
}
/* Styles pour la photo de profil */
.profile-photo-container {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.profile-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-photo-placeholder {
    width: 100%;
    height: 100%;
    background-color: #6e8efb;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 24px;
}

.dashboard-nav-left {
    display: flex;
    align-items: center;
}

/* Style pour le menu actif */
.dashboard-nav-menu a.active {
    font-weight: bold;
    color: #6e8efb;
    border-bottom: 2px solid #6e8efb;
}
/* Styles pour la page albums */
.albums-container {
    padding: 20px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.add-album-button {
    background-color: #6e8efb;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.add-album-button:hover {
    background-color: #5a7bd8;
}

.albums-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.album-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
}

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

.album-cover {
    height: 180px;
    overflow: hidden;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.album-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.no-cover {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #999;
    height: 100%;
}

.no-cover i {
    font-size: 30px;
    margin-bottom: 10px;
}

.album-info {
    padding: 15px;
}

.album-title {
    margin: 0 0 10px 0;
    font-size: 16px;
    color: #333;
}

.album-description {
    margin: 0 0 10px 0;
    font-size: 14px;
    color: #666;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.album-meta {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #999;
}

.album-actions {
    display: flex;
    padding: 10px 15px;
    gap: 10px;
    border-top: 1px solid #eee;
    background-color: #f9f9f9;
}

.album-actions .button {
    flex: 1;
    text-align: center;
    padding: 8px;
    background-color: #f5f5f5;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    color: #333;
    text-decoration: none;
}

.album-actions .button:hover {
    background-color: #e0e0e0;
}
/* Styles pour la page albums */
.albums-container {
    padding: 20px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.no-albums-message {
    text-align: center;
    padding: 40px;
    grid-column: 1 / -1;
    color: #666;
}

.no-albums-message i {
    font-size: 40px;
    margin-bottom: 15px;
    color: #ccc;
}

.albums-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.album-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
}

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

.album-cover {
    height: 180px;
    overflow: hidden;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.album-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.no-cover {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #999;
    height: 100%;
}

.no-cover i {
    font-size: 30px;
    margin-bottom: 10px;
}

.album-info {
    padding: 15px;
}

.album-title {
    margin: 0 0 10px 0;
    font-size: 16px;
    color: #333;
}

.album-description {
    margin: 0 0 10px 0;
    font-size: 14px;
    color: #666;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.album-meta {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #999;
}

.album-actions {
    display: flex;
    padding: 10px 15px;
    gap: 10px;
    border-top: 1px solid #eee;
    background-color: #f9f9f9;
}

.album-actions .button {
    flex: 1;
    text-align: center;
    padding: 8px;
    background-color: #f5f5f5;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    color: #333;
    text-decoration: none;
}

.album-actions .button:hover {
    background-color: #e0e0e0;
}
/* Styles pour la gestion des albums */
.albums-management-container {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.section-header h2 {
    margin: 0;
    color: #333;
}

.add-album-form {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.add-album-form h3 {
    margin-top: 0;
    color: #333;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #444;
}

.form-group input[type="text"],
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.form-group textarea {
    min-height: 80px;
    resize: vertical;
}

.album-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 10px;
    margin-bottom: 15px;
}

.album-type-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
    border: 2px solid #eee;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

.album-type-item:hover {
    background-color: #f9f9f9;
}

.album-type-item.selected {
    border-color: #6e8efb;
    background-color: rgba(110, 142, 251, 0.1);
}

.album-type-item i {
    font-size: 24px;
    margin-bottom: 8px;
    color: #666;
}

.album-type-item input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
}

.button.primary {
    background-color: #6e8efb;
    color: white;
}

.button.primary:hover {
    background-color: #5a7bd8;
}

.button.small {
    padding: 6px 10px;
    font-size: 13px;
}

.button.delete {
    background-color: #e74c3c;
    color: white;
}

.button.delete:hover {
    background-color: #c0392b;
}

.albums-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.album-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
}

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

.album-cover {
    height: 180px;
    overflow: hidden;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.album-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.no-photo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #999;
    height: 100%;
}

.no-photo i {
    font-size: 30px;
    margin-bottom: 10px;
}

.album-card h3 {
    margin: 15px 15px 10px;
    font-size: 16px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
}

.album-card p {
    margin: 0 15px 10px;
    font-size: 14px;
    color: #666;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.photo-count {
    margin: 0 15px 10px;
    font-size: 12px;
    color: #999;
}

.album-actions {
    display: flex;
    padding: 10px 15px;
    gap: 10px;
    border-top: 1px solid #eee;
    background-color: #f9f9f9;
}

.empty-state {
    text-align: center;
    padding: 40px;
    grid-column: 1 / -1;
    color: #666;
    background: #f9f9f9;
    border-radius: 8px;
}

.empty-state i {
    font-size: 40px;
    margin-bottom: 15px;
    color: #ccc;
}

.alert {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert.error {
    background-color: #fdecea;
    color: #e74c3c;
    border: 1px solid #fadbd8;
}

.alert.success {
    background-color: #e8f8f0;
    color: #2ecc71;
    border: 1px solid #d0f4e3;
}

.alert i {
    font-size: 18px;
}
/* Styles pour la gestion des photos */
.photos-management-container {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.album-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.album-info i {
    font-size: 24px;
}

.album-info h1 {
    margin: 0;
    color: #333;
}

.album-info p {
    margin: 5px 0 0;
    color: #666;
    font-size: 14px;
}

.photos-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 6px;
}

.toolbar-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.sort-options label {
    margin-right: 8px;
    font-weight: 500;
}

.sort-options select {
    padding: 6px 10px;
    border-radius: 4px;
    border: 1px solid #ddd;
}

.toolbar-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.selected-count {
    margin-left: 10px;
    color: #666;
    font-size: 14px;
}

.upload-form {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.upload-form h2 {
    margin-top: 0;
    color: #333;
    margin-bottom: 15px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #444;
}

.form-group input[type="file"],
.form-group input[type="text"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.photos-container {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.alert {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.alert.error {
    background: #ffebee;
    color: #c62828;
}

.alert.success {
    background: #e8f5e9;
    color: #2e7d32;
}

.upload-form {
    background: #f5f5f5;
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 4px;
}

.photos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.photo-item {
    background: white;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.photo-item img {
    width: 100%;
    height: 150px;
    object-fit: contain;
    background: #f0f0f0;
}

.photo-item p {
    margin: 10px;
    font-size: 14px;
}

.photo-item a {
    display: block;
    padding: 8px;
    background: #f0f0f0;
    text-align: center;
    color: #c62828;
}

.back-link {
    display: inline-block;
    padding: 8px 15px;
    background: #f0f0f0;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
}
/* Styles pour le drag & drop */
.dragging {
    opacity: 0.5;
    background: #f0f8ff !important;
    border: 2px dashed #6e8efb;
}

#photos-container {
    min-height: 100px;
}

.photo-card {
    cursor: move;
    transition: transform 0.2s, box-shadow 0.2s;
}

.photo-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
/* Styles pour la section photo de profil */
.profile-photo-section {
    margin-bottom: 30px;
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.profile-photo-container-large {
    margin: 20px auto;
    max-width: 300px;
    position: relative;
    padding: 15px;
}

.profile-photo-large {
    width: 100%;
    max-width: 250px;
    height: auto;
    max-height: 300px;
    border-radius: 4px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    border: 1px solid #eee;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* Remplacez le CSS existant pour les photos par celui-ci */
.profile-photo-large {
    width: 100%;
    max-width: 200px;  /* Réduction de la taille maximale */
    max-height: 250px; /* Réduction de la hauteur maximale */
    border-radius: 4px;
    object-fit: contain; /* Conserve les proportions */
    display: block;
    margin: 0 auto;
    border: 1px solid #eee;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.profile-photo-placeholder-large {
    width: 200px;     /* Réduction de la taille */
    height: 250px;    /* Réduction de la hauteur */
    /* Le reste du style reste inchangé */
}

/* Pour les photos dans la galerie (si vous en avez) */
.photo-image img {
    max-width: 100%;
    max-height: 200px; /* Limite la hauteur */
    object-fit: contain;
    width: auto;
    height: auto;
}
