/*Variables*/
:root {
    --primary: #FF674D;
    --secondary: #00B4D8;
    --secondary-dark: #004455;
    --tertiary: #6ACFED;
    --quaternary: #FFB9AD;
}

.error-message {
    margin: 0;
    color: var(--primary);
    font-weight: 700;
}

.bde-shortcode {
    position: relative;
}

.response,
.errors,
.mailNonUnique,
.homonymePresent {
    position: absolute;
    top: -100px;
    left: 0;
    width: 100%;
    font-weight: 500;
    color: white;
    padding: 0 20px;
    border-radius: 5px;
    z-index: 10;
}

.response.succes {
    background: var(--secondary);
}

.response.erreur,
.errors,
.mailNonUnique,
.homonymePresent {
    background: var(--primary);
}

.rgpd-wrapper label {
    display: block !important;
}

.rgpd-wrapper label>input[type="checkbox"] {
    display: inline-block !important;
    top: 0 !important;
}

.rgpd-wrapper .error-message {
    margin: 1rem 0;
}

#formulaire-enseignant {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

#formulaire-enseignant .breakdance-form-field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
}

#formulaire-enseignant .section-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: space-between;
    margin-bottom: 3rem;
    padding-bottom: 3rem;
}

#formulaire-enseignant .section-wrapper::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    background: black;
    height: 1px;
    width: 100%;
    border-radius: 10px;
    opacity: 0.2;
}

#formulaire-enseignant .breakdance-form-field input,
#formulaire-enseignant .breakdance-form-field textarea,
#formulaire-enseignant .breakdance-form-field select {
    display: block;
    line-height: 1;
    padding: 1rem;
    border-radius: 8px;
    border: 0.5px solid var(--tertiary);
    background: white;
}

#formulaire-enseignant .activites .radio-text .breakdance-form-field__radio:last-child,
#formulaire-enseignant .question-connu .radio-text .breakdance-form-field__radio:last-child {
    margin-bottom: unset;
}

/* CHECKBOX AVEC TEXTE */
.checkbox-text {
    display: flex;
    gap: 0.5rem;
}

.checkbox-text input[type="radio"] {
    cursor: pointer;
}

input[type="checkbox"] {
    cursor: pointer;
}

/* RADIO AVEC TEXTE */
.breakdance-form-field__radio {
    margin-bottom: 0.5rem;
}

.radio-text {
    display: inline-block;
}

.radio-text input[type="radio"] {
    display: inline-block !important;
    margin-right: 0.5rem;
    cursor: pointer;
}

/* LABEL */
#formulaire-enseignant .breakdance-form-field label {
    color: var(--secondary-dark);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
}

/* COLONNES */
.civilite,
.date-naissance,
.nom,
.prenom,
.code-postal,
.ville,
.tel-fixe,
.tel-port {
    width: calc(50% - 1rem) !important;
}

@media only screen and (max-width: 600px) {

    .civilite,
    .date-naissance,
    .nom,
    .prenom,
    .code-postal,
    .ville,
    .tel-fixe,
    .tel-port {
        width: 100% !important;
    }
}

/* MATIERES */
#listeMatieres .unematiere {
    position: relative;
    display: flex;
    gap: .5rem;
    align-items: start;
    padding-left: 35px;
}

@media only screen and (max-width: 600px) {
    #listeMatieres .unematiere {
        flex-direction: column;
    }
}

#listeMatieres .unematiere select {
    width: 100%;
}

.btSupprimeMatiere {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: unset !important;
    padding: 0.75rem;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: var(--tertiary);
    box-shadow: unset;
    border: unset;
    cursor: pointer;
    opacity: 1;
    transition: opacity 0.25s ease;
}

.btSupprimeMatiere:hover {
    opacity: 0.8;
}

.cross {
    display: block;
    position: absolute;
    width: 18px;
    height: 1.5px;
    background: white;
}

.cross:first-child {
    transform: rotate(45deg);
}

.cross:last-child {
    transform: rotate(-45deg);
}

#btAjoutMatiere {
    margin: 1rem 0;
    width: fit-content;
    background: var(--primary);
}

#btAjoutMatiere:hover {
    background: var(--quaternary);
    border-color: var(--quaternary);
}

#rgpd {
    display: flex;
    align-items: flex-start;
    gap: 0.25rem;
}

.rgpd-wrapper {
    margin-bottom: 1rem;
}

#rgpd input {
    position: relative;
    top: 4px;
    cursor: pointer;
}

#rgpd span {
    font-family: 'Roboto';
    font-size: 1rem;
    text-transform: none;
}

.button-atom {
    width: fit-content !important;
}