/* Formulaire d'inscription des institutions ([inscription_institution]). */
.inst-form-container {
    max-width: 820px;
    margin: 0 auto;
    font-family: inherit;
    color: #0b251e;
}

.inst-form-container h2 {
    font-size: 24px;
    font-weight: 700;
    color: #0b251e;
    margin-top: 35px;
    margin-bottom: 8px;
}

.inst-section-desc {
    font-size: 14px;
    color: #55625e;
    margin-bottom: 20px;
    line-height: 1.4;
}

.inst-form-container hr {
    border: 0;
    border-top: 1px solid #e1e8e5;
    margin: 40px 0 25px 0;
}

.inst-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 16px 20px;
}

.inst-col-12 {
    grid-column: span 12;
}

.inst-col-8 {
    grid-column: span 8;
}

.inst-col-6 {
    grid-column: span 6;
}

.inst-col-4 {
    grid-column: span 4;
}

@media (max-width: 650px) {

    .inst-col-8,
    .inst-col-6,
    .inst-col-4 {
        grid-column: span 12;
    }
}

.inst-field-group {
    display: flex;
    flex-direction: column;
}

.inst-field-group label {
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 8px;
    color: #0b251e;
}

.inst-field-group label .required {
    color: #d9381e;
    margin-left: 2px;
}

.inst-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

/* Forme et couleurs : celles de tous les champs du site (interface.css du thème). */
.inst-input,
.inst-select {
    width: 100%;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.inst-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="%200b251e" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="m6 9 6 6 6-6"/></svg>');
    background-repeat: no-repeat;
    background-position: right 14px center;
}

.inst-select:disabled {
    background-color: #f3f5f4;
    color: #4a5568;
}

.inst-password-toggle {
    position: absolute;
    right: 14px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    color: #0b251e;
}

.inst-help-text {
    font-size: 13px;
    color: #6b7280;
    margin-top: 6px;
}

.inst-checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 10px;
    cursor: pointer;
    font-weight: 500;
    font-size: 15px;
}

.inst-checkbox-wrapper input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: #0b251e;
    cursor: pointer;
}

.inst-btn-submit {
    width: 100%;
    background-color: #e2634e;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 16px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s ease;
    margin-top: 30px;
}

.inst-btn-submit:hover {
    background-color: #cf523e;
}

.inst-error-msg {
    background-color: #fde8e8;
    border: 1px solid #f8b4b4;
    color: #9b1c1c;
    padding: 14px 18px;
    border-radius: 8px;
    margin-bottom: 25px;
    font-weight: 500;
}

.inst-grid--spaced {
    margin-top: 20px;
}

.inst-same-address {
    margin-top: 25px;
}
