.custom-form-grid {
    display: grid;

    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;

    padding: 30px;

    border-radius: 8px;
    background-color: #f1f1f1;

    box-shadow: 0 0 10px 5px #f1f1f1;
}

.custom-form-grid .field {
  display: flex;
  flex-direction: column;
}

.custom-form-grid .full {
  grid-column: 1 / -1;
}

.custom-form-grid label {
    font-weight: bold;

    margin-bottom:5px;
}

.custom-form-grid input, .custom-form-grid textarea {
    border-radius: 3px;
    border: none;
}

.custom-form-grid input:focus-visible, .custom-form-grid textarea:focus-visible {
    outline: none;
    border-color: #4f46e5;
    border-radius: 3px;
    box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.2);
}

.custom-form-grid input::placeholder, .custom-form-grid textarea::placeholder {
    color: #969696;
}

.custom-form-grid .check {
    display:flex;

    align-items: flex-start;
    gap: 5px;
}

.custom-form-grid .check input {
    margin-top: calc(16px / 2);
}

.custom-form-grid .check .xs input {
    margin-top: calc(12px * 1.5 - 13px);
}

.custom-form-grid .check label {
    font-weight: normal;
    margin: 0;
}

.custom-form-grid .check .xs label {
    font-size: 12px;
}

.custom-form-grid textarea {
    height: 130px;
}

.custom-form-grid .block-majeur {
    display: none;
}

.custom-form-grid .button-classic {
    margin: auto;
    margin-top: 20px;
}


.cgu-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 9999;
}

.cgu-modal-content {
    background: #fff;
    width: 90%;
    max-width: 700px;
    max-height: 80vh;
    overflow-y: auto;
    margin: 5% auto;
    padding: 30px;
    position: relative;
    border-radius: 8px;
}

.cgu-close {
    position: absolute;
    top: 15px;
    right: 20px;
    cursor: pointer;
    font-size: 22px;
}

.cgu-text {
    margin: 20px 0;
}

#confirm-cgu {
    margin-top: 20px;
    padding: 12px 20px;
    cursor: not-allowed;
}

#confirm-cgu.enabled {
    cursor: pointer;
    background: #000;
    color: #fff;
}

.cgu-text p {
    margin-bottom: 1.5rem;
}

.cgu-modal-content button {
    margin-top: 20px;
}

