* { box-sizing: border-box; }

.coaching-main {
    background: #0a0a0a;
    color: #f0f0f0;
    font-family: sans-serif;
    min-height: 100vh;
    padding-bottom: 60px;
}

.coaching-hero {
    padding: 60px 24px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.coaching-hero h1 {
    font-size: 20px;
    font-weight: 500;
    color: #f0f0f0;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 28px;
    padding-bottom: 12px;
    border-bottom: 0.5px solid #c9a84c;
    margin: 0 0 8px;
}

.coaching-hero p {
    font-size: 13px;
    color: #444;
    letter-spacing: 0.5px;
    margin: 12px 0 0;
}

.accent { color: #c9a84c; }

.alert {
    max-width: 1200px;
    margin: 16px auto;
    padding: 12px 16px;
    font-size: 13px;
    border-left: 2px solid;
}

.alert-success {
    background: rgba(201,168,76,0.08);
    border-color: #c9a84c;
    color: #c9a84c;
}

.alert-error {
    background: rgba(255,80,80,0.08);
    border-color: rgba(255,80,80,0.5);
    color: #ff6b6b;
}

.coachs-section {
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 24px;
}

.coachs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1px;
    background: #1a1a1a;
    border: 0.5px solid #1a1a1a;
    margin-bottom: 60px;
}

.coach-card {
    background: #0d0d0d;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: background 0.2s;
}

.coach-card:hover { background: #111; }

.coach-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 1px;
    background: #c9a84c;
    transition: width 0.35s ease;
}
.coach-card:hover::after { width: 100%; }

.coach-photo-wrapper {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: #080808;
    border-bottom: 0.5px solid #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
}

.coach-photo-wrapper.small {
    height: 70px;
    width: 70px;
    border-radius: 2px;
    flex-shrink: 0;
    border: 0.5px solid #1a1a1a;
}

.coach-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
}

.coach-card:hover .coach-photo { transform: scale(1.05); }

.coach-photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #080808;
    border: 0.5px solid #1a1a1a;
    font-size: 2rem;
    font-weight: 700;
    color: #c9a84c;
    letter-spacing: 2px;
}

.coach-note {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0,0,0,0.85);
    border: 0.5px solid #c9a84c;
    color: #c9a84c;
    padding: 3px 8px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
}

.star { color: #c9a84c; }

.coach-info {
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.coach-info h2 {
    font-size: 15px;
    font-weight: 500;
    margin: 0;
    color: #f0f0f0;
    letter-spacing: 0.3px;
}

.coach-specialite {
    display: inline-block;
    font-size: 10px;
    color: #c9a84c;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.coach-specialite.small { font-size: 9px; }

.coach-bio {
    font-size: 12px;
    color: #444;
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.btn-reserver {
    display: inline-block;
    background: #c9a84c;
    color: #080808;
    border: none;
    padding: 8px 18px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    font-family: sans-serif;
    transition: opacity 0.2s;
    text-align: center;
    margin-top: auto;
}
.btn-reserver:hover { opacity: 0.85; }

.btn-secondary {
    display: inline-block;
    background: transparent;
    color: #555;
    border: 0.5px solid #2a2a2a;
    padding: 8px 18px;
    font-size: 11px;
    letter-spacing: 1px;
    text-decoration: none;
    font-family: sans-serif;
    transition: border-color 0.2s, color 0.2s;
}
.btn-secondary:hover { border-color: #c9a84c; color: #c9a84c; }

.btn-annuler {
    display: inline-block;
    background: transparent;
    color: #555;
    border: 0.5px solid #2a2a2a;
    padding: 4px 10px;
    font-size: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    font-family: sans-serif;
    transition: border-color 0.2s, color 0.2s;
    cursor: pointer;
}
.btn-annuler:hover { border-color: #ff6b6b; color: #ff6b6b; }

.mes-resa-link {
    text-align: center;
    padding: 10px 0 40px;
}

.resa-container {
    max-width: 700px;
    margin: 40px auto;
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.resa-coach-card {
    background: #0d0d0d;
    border: 0.5px solid #1a1a1a;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 18px;
    position: relative;
}
.resa-coach-card::before {
    content: '';
    position: absolute;
    top: -0.5px; left: 2rem; right: 2rem;
    height: 1px;
    background: #c9a84c;
    opacity: 0.6;
}

.resa-coach-card h2 {
    font-size: 15px;
    font-weight: 500;
    margin: 0 0 4px;
    letter-spacing: 0.3px;
}

.coach-note-detail {
    color: #c9a84c;
    font-size: 11px;
    margin: 4px 0 0;
    letter-spacing: 1px;
}

.resa-form-card {
    background: #0d0d0d;
    border: 0.5px solid #1a1a1a;
    padding: 28px;
    position: relative;
}
.resa-form-card::before {
    content: '';
    position: absolute;
    top: -0.5px; left: 2rem; right: 2rem;
    height: 1px;
    background: #c9a84c;
    opacity: 0.6;
}

.resa-form-card h3 {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #f0f0f0;
    margin: 0 0 22px;
}

.form-group {
    margin-bottom: 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #555;
}

.optionnel {
    color: #333;
    font-weight: 400;
}

.form-group input,
.form-group select,
.form-group textarea {
    background: #080808;
    border: 0.5px solid #2a2a2a;
    color: #f0f0f0;
    padding: 10px 12px;
    font-size: 13px;
    outline: none;
    transition: border-color 0.2s;
    font-family: sans-serif;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: #c9a84c; }

.form-group select option { background: #0d0d0d; }

.form-group textarea {
    resize: vertical;
    min-height: 90px;
}
.form-group textarea::placeholder { color: #2a2a2a; }

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

.mes-resa-container {
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 24px;
}

.mes-resa-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
    padding-bottom: 12px;
    border-bottom: 0.5px solid #c9a84c;
    flex-wrap: wrap;
    gap: 12px;
}

.mes-resa-header h1 {
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin: 0;
}

.resa-section { margin-bottom: 40px; }

.resa-section h2 {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #555;
    margin: 0 0 16px;
    padding-bottom: 10px;
    border-bottom: 0.5px solid #1a1a1a;
    display: flex;
    align-items: center;
    gap: 10px;
}

.count {
    background: #c9a84c;
    color: #080808;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 7px;
}

.resa-list {
    display: flex;
    flex-direction: column;
    gap: 1px;
    background: #1a1a1a;
    border: 0.5px solid #1a1a1a;
}

.resa-card {
    background: #0d0d0d;
    padding: 18px 20px;
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    align-items: center;
    gap: 20px;
    transition: background 0.2s;
}
.resa-card:hover { background: #111; }
.resa-card.resa-passee { opacity: 0.5; }

.resa-coach-mini {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mini-photo {
    width: 44px;
    height: 44px;
    object-fit: cover;
    flex-shrink: 0;
    border: 0.5px solid #1a1a1a;
}

.mini-photo-placeholder {
    width: 44px;
    height: 44px;
    background: #080808;
    border: 0.5px solid #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 13px;
    color: #c9a84c;
    flex-shrink: 0;
    letter-spacing: 1px;
}

.resa-coach-mini strong {
    font-size: 13px;
    font-weight: 500;
    color: #f0f0f0;
    display: block;
    margin-bottom: 3px;
}

.resa-details {
    font-size: 12px;
    color: #444;
    line-height: 1.8;
}
.resa-details p { margin: 0; }
.resa-notes { font-style: italic; color: #333 !important; }

.resa-statut-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
}

.badge {
    padding: 3px 10px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border: 0.5px solid;
}

.badge-demandée  { color: #c9a84c; border-color: #c9a84c; background: rgba(201,168,76,0.08); }
.badge-confirmée { color: #4cc970; border-color: #4cc970; background: rgba(76,201,112,0.08); }
.badge-annulée   { color: #333;    border-color: #2a2a2a; background: transparent; }
.badge-terminée  { color: #555;    border-color: #2a2a2a; background: transparent; }

.no-data {
    color: #333;
    text-align: center;
    padding: 40px 0;
    font-size: 13px;
    letter-spacing: 0.5px;
    background: #0d0d0d;
    border: 0.5px solid #1a1a1a;
}
.no-data a { color: #c9a84c; text-decoration: none; border-bottom: 0.5px solid #c9a84c; }

@media (max-width: 768px) {
    .resa-card { grid-template-columns: 1fr; }
    .resa-statut-wrapper { flex-direction: row; align-items: center; }
    .form-actions { flex-direction: column; }
    .mes-resa-header { flex-direction: column; align-items: flex-start; }
}