/*
 * Admin — création club (/admin/clubs/creer)
 * Aligné sur docs/design/club.html
 */

#jt-club-create-page.jt-club-create-shell {
    padding: 0.5rem 0 2rem;
    color-scheme: dark;
}

#jt-club-create-page .jt-club-create-wrap {
    width: 100%;
    max-width: 64rem;
    margin: 0 auto;
}

#jt-club-create-page .jt-club-create-head {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

#jt-club-create-page .jt-club-create-head-icon {
    flex-shrink: 0;
    width: 3.5rem;
    height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.75rem;
    background-color: #1a1f2e;
    border: 1px solid #2a3244;
    color: #22d3ee;
}

#jt-club-create-page .jt-club-create-head h2 {
    margin: 0;
    font-size: 1.875rem;
    font-weight: 700;
    color: #22d3ee;
}

#jt-club-create-page .jt-club-create-subtitle {
    margin: 0.15rem 0 0;
    font-size: 0.875rem;
    color: #6b7280;
}

#jt-club-create-page .jt-club-card {
    background-color: #1a1f2e;
    border: 1px solid #2a3244;
    border-radius: 0.625rem;
    padding: 1.25rem;
    margin-bottom: 1rem;
}

#jt-club-create-page .jt-club-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

@media (max-width: 720px) {
    #jt-club-create-page .jt-club-grid-2 {
        grid-template-columns: 1fr;
    }
}

#jt-club-create-page .jt-club-grid-2 .jt-club-card {
    margin-bottom: 0;
}

#jt-club-create-page .jt-club-section-head {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    color: #22d3ee;
}

#jt-club-create-page .jt-club-section-head span {
    color: #e2e8f0;
    font-size: 0.875rem;
    font-weight: 600;
}

#jt-club-create-page .jt-club-create-form input[type="text"],
#jt-club-create-page .jt-club-create-form input[type="email"],
#jt-club-create-page .jt-club-create-form select {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    background-color: #141820;
    border: 1px solid #2a3244;
    color: #e5e7eb;
    outline: none;
}

#jt-club-create-page .jt-club-create-form select {
    color: #9ca3af;
    color-scheme: dark;
    padding-right: 2.25rem;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.875rem center;
    cursor: pointer;
}

#jt-club-create-page .jt-club-create-form input:focus,
#jt-club-create-page .jt-club-create-form select:focus {
    border-color: #22d3ee;
    color: #e5e7eb;
}

#jt-club-create-page .jt-club-create-form input::placeholder {
    color: #4b5563;
}

#jt-club-create-page .jt-club-create-form select option,
#jt-club-create-page .jt-club-create-form select optgroup {
    background-color: #141820;
    color: #e5e7eb;
}

#jt-club-create-page .jt-club-create-form select optgroup {
    color: #9ca3af;
    font-weight: 600;
}

#jt-club-create-page .jt-club-input-wrap {
    position: relative;
}

#jt-club-create-page .jt-club-input-wrap .jt-club-input-deco {
    position: absolute;
    right: 0.875rem;
    top: 50%;
    transform: translateY(-50%);
    color: #4b5563;
    pointer-events: none;
    font-size: 0.75rem;
    letter-spacing: 1px;
}

#jt-club-create-page .jt-club-porteur-radios {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem 2rem;
}

#jt-club-create-page .jt-club-porteur-radios label {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.875rem;
    color: #9ca3af;
}

#jt-club-create-page .jt-club-porteur-radios label:has(input:checked) {
    color: #e2e8f0;
}

#jt-club-create-page .jt-club-porteur-radios input[type="radio"] {
    width: 1.125rem;
    height: 1.125rem;
    margin: 0;
    accent-color: #22d3ee;
    cursor: pointer;
}

#jt-club-create-page .jt-club-porteur-coach {
    max-width: calc(50% - 0.5rem);
}

@media (max-width: 720px) {
    #jt-club-create-page .jt-club-porteur-coach {
        max-width: none;
    }
}

#jt-club-create-page #jt-porteur-nouveau .jt-help-text {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: #6b7280;
}

#jt-club-create-page #jt-porteur-nouveau label[for="jt-create-porteur-email"] {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #e2e8f0;
}

#jt-club-create-page .jt-club-statut-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem;
    color: #9ca3af;
    font-size: 0.875rem;
}

#jt-club-create-page .jt-club-badge-actif {
    background-color: #16a34a;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.15rem 0.65rem;
    border-radius: 999px;
}

#jt-club-create-page .jt-club-create-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    margin-top: 0.5rem;
}

#jt-club-create-page .jt-club-btn-create {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 0.9375rem;
    font-weight: 700;
    color: #0f1724;
    cursor: pointer;
    background-color: #22d3ee;
}

#jt-club-create-page .jt-club-btn-create:hover {
    background-color: #06b6d4;
}

#jt-club-create-page .jt-club-btn-cancel {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    border-radius: 0.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #9ca3af;
    text-decoration: none;
    background: transparent;
    border: 1px solid #374151;
}

#jt-club-create-page .jt-club-btn-cancel:hover {
    border-color: #6b7280;
    color: #d1d5db;
}

#jt-club-create-page .jt-alert {
    margin-bottom: 1rem;
}

#jt-club-create-page .jt-help-text {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: #6b7280;
}
