/* Conteneur principal du formulaire et du profil */
.omc-form-container,
.omc-profil {
    background: #fff;
    color: #000;
    border: 1px solid #000;
    padding: 20px;
    margin: 20px auto;
    max-width: 600px;
    /* Ajout d'une ombre discrète */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

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

/* Titre principal et sous-titre */
.omc-form-title {
    font-size: 24px;
    margin: 0;
}
.omc-form-subtitle {
    font-size: 18px;
    margin: 5px 0 0;
}

/* Section photo */
.omc-profil-photo {
    text-align: center;
    margin-bottom: 15px;
}
.omc-profil-photo img {
    max-width: 200px;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Informations personnelles */
.omc-profil-personnel {
    text-align: center;
    margin-bottom: 20px;
}

/* Section adhésion avec une bordure supérieure et un léger espacément */
.omc-profil-adhesion {
    border-top: 1px solid #000;
    padding-top: 10px;
    margin-top: 20px;
}
.omc-profil-adhesion h3 {
    margin-bottom: 10px;
}

/* Formulaire de saisie */
.omc-profil-form p {
    margin-bottom: 15px;
}
.omc-profil-form input[type="text"],
.omc-profil-form input[type="password"] {
    width: 100%;
    padding: 5px;
    box-sizing: border-box;
}

/* Bouton de soumission et bouton Retour */
.omc-submit,
.omc-return {
    text-align: center;
}
.omc-submit input[type="submit"],
.omc-button {
    background: #000;
    color: #fff;
    padding: 10px 20px;
    border: none;
    text-decoration: none;
    cursor: pointer;
    /* Légère ombre sur le bouton */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Pied de page du formulaire */
.omc-form-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 12px;
}

/* Messages (erreur, etc.) */
.omc-message {
    text-align: center;
    padding: 10px;
}
.omc-error {
    color: #f00;
}

.omc-profil-history {
    margin-top: 20px;
    padding: 15px;
    background: #f9f9f9;
    border-left: 4px solid #000;
    font-size: 14px;
    border-radius: 8px;
}
.omc-profil-history .history-entry {
    padding: 8px;
    border-bottom: 1px solid #ddd;
    font-weight: bold;
}
.omc-profil-history .event-date {
    color: #666;
    font-size: 12px;
}
.omc-profil-history .pagination {
    margin-top: 10px;
    text-align: center;
}
.omc-profil-history .pagination a {
    padding: 5px 10px;
    text-decoration: none;
    border: 1px solid #000;
    margin: 2px;
    color: #000;
    background: #fff;
    border-radius: 4px;
}
.omc-profil-history .pagination a:hover {
    background: #000;
    color: #fff;
}

.omc-profil-stats {
    margin-top: 20px;
    padding: 15px;
    background: #e9f5ff;
    border-left: 4px solid #0073aa;
    font-size: 14px;
    border-radius: 8px;
}
.omc-profil-stats h3 {
    margin-top: 0;
    font-size: 16px;
    color: #0073aa;
}

