.athle-espace-perso-wrapper {
    max-width: 480px;
    margin: 0 auto;
}

.athle-espace-form {
    background: #fff;
    border: 1px solid #e2e2e2;
    border-radius: 10px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.athle-espace-form h3 {
    margin-top: 0;
}

.athle-espace-form label {
    display: block;
    margin-top: 14px;
    margin-bottom: 4px;
    font-weight: 600;
}

.athle-espace-form input,
.athle-espace-form select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-sizing: border-box;
}

.athle-espace-form button {
    margin-top: 18px;
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    background: #1e7a33;
    color: #fff;
    cursor: pointer;
    font-weight: 600;
}

.athle-espace-form button#athle-renvoyer-otp {
    background: transparent;
    color: #1e7a33;
    border: 1px solid #1e7a33;
    margin-left: 8px;
}

.athle-message {
    margin-top: 12px;
    font-weight: 600;
}

.athle-message.succes {
    color: #1e7a33;
}

.athle-message.erreur {
    color: #c0392b;
}

.athle-espace-dashboard {
    background: #fff;
    border: 1px solid #e2e2e2;
    border-radius: 10px;
    padding: 24px;
}

/* Portail Athlète / Coach / Officiel - présentation proche de l'espace Dirigeants */
.athle-portal-card{max-width:400px;margin:20px auto;background:#fff;border-radius:14px;overflow:hidden;box-shadow:0 5px 24px rgba(0,0,0,.10)}
.athle-portal-header{background:#17639a;color:#fff;text-align:center;padding:22px 20px}
.athle-portal-header h2{margin:8px 0 5px;color:#fff;font-size:25px}
.athle-portal-header p{margin:0;color:#eaf4ff;font-size:13px}
.athle-portal-logo{width:60px;height:60px;margin:0 auto;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#fff;color:#17639a;font-weight:800;font-size:28px}
.athle-portal-tabs{display:flex;border-bottom:1px solid #ddd}
.athle-tab{flex:1;border:0;background:#fff;padding:13px 8px;font-weight:600;cursor:pointer;border-bottom:3px solid transparent}
.athle-tab.is-active{color:#14598b;border-bottom-color:#14598b}
.athle-portal-body{padding:26px 24px}
.athle-portal-panel label{display:block;margin:0 0 5px;color:#333;font-size:13px}
.athle-portal-panel input,.athle-portal-panel select{width:100%;box-sizing:border-box;margin:0 0 12px;padding:10px;border:1px solid #d7dee7;border-radius:6px;background:#f5f8fc}
.athle-portal-panel button[type=submit]{width:100%;padding:11px 14px;border:0;border-radius:6px;background:#155b8f;color:#fff;font-weight:700;cursor:pointer}
.athle-login-message,.athle-register-message{margin-top:12px;font-size:13px}
.athle-login-message.erreur,.athle-register-message.erreur{color:#a12626}.athle-login-message.succes,.athle-register-message.succes{color:#157347}
.athle-forgot{text-align:center;font-size:13px}.athle-help{font-size:11px;color:#777;margin-bottom:0}
.athle-dashboard{max-width:1100px;margin:20px auto}.athle-dashboard-head{background:#17639a;color:#fff;padding:22px;border-radius:12px;margin-bottom:20px}.athle-dashboard-head h2{margin-top:0;color:#fff}.athle-dashboard-head p{margin-bottom:5px}.athle-readonly{font-size:13px;color:#666}
.athle-dashboard-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.athle-dashboard-grid>div{background:#fff;border:1px solid #e2e7ed;border-radius:10px;padding:18px}.athle-dashboard-grid strong,.athle-dashboard-grid span{display:block}.athle-dashboard-grid span{margin-top:6px;color:#555}
@media(max-width:700px){.athle-dashboard-grid{grid-template-columns:1fr}}

/* Espace commun Athlète / Coach / Officiel — même logique visuelle que l'espace Dirigeants */
.athle-member-space{max-width:1100px;margin:20px auto 50px}.athle-member-head{background:#17639a;color:#fff;border-radius:12px 12px 0 0;padding:24px 26px;display:flex;justify-content:space-between;align-items:center;gap:20px}.athle-member-head h2{margin:5px 0;color:#fff;font-size:28px}.athle-member-head p{margin:4px 0;color:#eef7ff}.athle-member-kicker{font-size:12px;opacity:.9}.athle-logout-btn{display:inline-block;border:1px solid rgba(255,255,255,.65);color:#fff;padding:10px 16px;border-radius:6px;text-decoration:none;font-weight:700}.athle-member-nav{display:flex;background:#fff;border:1px solid #dfe6ee;border-top:0;overflow:auto}.athle-member-nav-item{flex:0 0 auto;padding:15px 20px;text-decoration:none;color:#245a84;font-weight:600;border-bottom:3px solid transparent;white-space:nowrap}.athle-member-nav-item.is-active{border-bottom-color:#17639a;background:#f8fbfe}.athle-member-content{background:#f7f8fa;padding:22px;border:1px solid #dfe6ee;border-top:0}.athle-space-card{background:#fff;border:1px solid #e2e7ed;border-radius:10px;padding:22px;box-shadow:0 2px 8px rgba(0,0,0,.04)}.athle-section-title h3{margin:0 0 5px;color:#174f79}.athle-section-title p{margin:0;color:#6a7480}.athle-readonly{color:#666;font-size:13px}.athle-profile-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:18px}.athle-profile-grid>div{border:1px solid #e3e8ee;border-radius:8px;padding:14px}.athle-profile-grid strong,.athle-profile-grid span{display:block}.athle-profile-grid span{margin-top:6px;color:#555}.athle-passport-search{margin:20px 0}.athle-passport-search label{display:block;font-weight:600;margin-bottom:7px}.athle-search-row{display:flex;gap:8px}.athle-search-row input{flex:1;padding:11px;border:1px solid #cfd8e2;border-radius:6px}.athle-search-row button{padding:11px 18px;border:0;border-radius:6px;background:#155b8f;color:#fff;font-weight:700;cursor:pointer}.athle-search-results h4{margin-bottom:10px}.athle-search-result{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:13px;border:1px solid #e2e7ed;border-radius:8px;margin-bottom:8px;background:#fff}.athle-search-result small{display:block;color:#777;margin-top:3px}.athle-search-result a{color:#155b8f;font-weight:700;white-space:nowrap}.athle-passport-selected{margin-top:20px}.athle-notice{padding:14px;border-radius:8px;background:#f5f8fb;border:1px solid #dce5ee;margin:14px 0}.athle-notice-warning{background:#fff8e6;border-color:#f0d98c}.athle-notice-error{background:#fff0f0;border-color:#efb3b3}
@media(max-width:700px){.athle-member-head{align-items:flex-start;flex-direction:column}.athle-member-content{padding:12px}.athle-profile-grid{grid-template-columns:1fr}.athle-search-row{flex-direction:column}.athle-search-result{align-items:flex-start;flex-direction:column}.athle-search-result a{white-space:normal}}


.athle-account-danger{margin-top:24px;padding:18px;border:1px solid #efb3b3;border-radius:10px;background:#fff7f7;display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap}.athle-account-danger strong{color:#8d1f1f}.athle-account-danger p{margin:6px 0 0;color:#6b4a4a;font-size:13px;max-width:700px}.athle-delete-account-btn{padding:10px 15px;border:1px solid #b42318;border-radius:6px;background:#b42318;color:#fff;font-weight:700;cursor:pointer}.athle-delete-account-btn:disabled{opacity:.65;cursor:wait}.athle-delete-account-message{flex-basis:100%;font-size:13px}.athle-delete-account-message.succes{color:#157347}.athle-delete-account-message.erreur{color:#a12626}
