.register-page {
    max-width: var(--register-page-width, 1080px);
    margin: 0 auto;
    padding: 2rem 1rem 3rem;
}

.register-title {
    /* Utilise .title-main depuis app.css */
}

.ui-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 2px 2px 20px 0 rgba(0, 0, 0, 0.35);
}

.register-form {
    display: flex;
    justify-content: center;
}

.register-form-card {
    width: min(100%, var(--register-card-width, 900px));
    padding: 2rem;
}

.register-form-card > ul {
    color: var(--primary-color);
    font-weight: 600;
    margin: 0 0 1rem;
}

.register-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.25rem;
}

.register-secondary-link {
    color: #4f7fc8;
    font-family: Inter, sans-serif;
    font-size: 0.92rem;
    font-weight: 600;
}

.register-secondary-link:hover {
    color: #3467b5;
    text-decoration: underline;
}

.register-choice-card {
    min-height: 320px;
    text-decoration: none;
    color: #2b1e1f;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.register-choice-card:hover {
    transform: translateY(-2px);
    box-shadow: 2px 8px 24px 0 rgba(0, 0, 0, 0.32);
}

:is(.candidat-form-field, .recruteur-form-field, .login-form-field) {
    font-family: Inter, sans-serif;
}

:is(.candidat-form-field, .recruteur-form-field, .login-form-field) label {
    display: inline-block;
    margin-bottom: 0.35rem;
    font-weight: 500;
    color: var(--dark-color);
}

:is(.candidat-form-field, .recruteur-form-field, .login-form-field) :is(input, textarea, select) {
    width: 100%;
    padding: 0.55rem 0.9rem;
    border: 1px solid #b9b3b3;
    border-radius: 15px;
    background-color: #ffffff;
    color: var(--dark-color);
    font-family: Inter, sans-serif;
}

:is(.candidat-form-field, .recruteur-form-field, .login-form-field) :is(input, select) {
    height: 44px;
}

:is(.candidat-form-field, .recruteur-form-field, .login-form-field) :is(input, textarea, select):focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(226, 27, 29, 0.15);
    outline: none;
}

:is(.candidat-form-field, .recruteur-form-field, .login-form-field) ul {
    margin: 0.35rem 0 0;
    padding-left: 1rem;
    color: var(--primary-color);
    font-size: 0.92rem;
}
