/* jakis reset by sie tu przydał */
html,body{
    padding:0;
    margin:0;
}

.root>*{
    color: #29445f;
    font-family:'Lato';
}


.root{
    /*height: 100vh;*/
    min-height: 100vh;
    /*width: 100vw;*/
    background-color:#f3e8d4;

    display:flex;
    flex-direction:column;
    align-items:center;
    flex:1;
    justify-content:center;

    background-image: url("/media/form1/background.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.root__container {
    padding: 2rem 4rem;
    max-width: 1800px;
    display: flex;
    flex-wrap: wrap;

    align-items: start;


    gap:2rem;
    /*flex: 1;*/
}

.root__container__left_box{
        /*background-color:#9d571e;*/
    flex:2;

    padding: 0 3rem;
}

.left_box__image {
    /*   height: 2rem; */
    width: 10rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.left_box__image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

.left_box__title{

    font-size:2.8rem;
    font-weight: 800;
    margin-top:4rem;
}

.left_box__subtitle{
    font-size:1rem;
    background: #fcd366;
    text-transform:uppercase;
    padding:.7rem;
    margin-top:2.5rem;
    font-weight: 700;
    /*   width:min-content; */


}

.root__container__right_box{
    padding:0 2rem;
    /*    background-color:#633a11; */
    flex:3;
    display:flex;
    flex-direction:column;
    justify-content:center;
}

.right_box__form{
    background-color:#fff;
    padding:2rem 3.5rem;
}

.form__header{
    margin-bottom:2rem;
}

.form__header-part-1{
    font-weight: 700;
}
.form__header-part-2{
    font-weight: 700;
    color:#fcd366;
}

.form-group {
    position: relative;
    margin-bottom: 2rem;
}

.form-group input[type="text"] {
    width: 100%;
    border: none;
    border-bottom: 2px solid #29445f;
    outline: none;
    font-size: 1rem;
    padding: 8px 0 4px 0;
    background: transparent;
}

.form-group  input[readonly] {
    background-color: #f3f3f3;
    cursor: not-allowed;
}

.form-group label {
    position: absolute;
    left: 0;
    top: 8px;
    color: #29445f;
    font-size: .9rem;
    pointer-events: none;
    transition: all 0.2s ease-out;
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label {
    top: -1rem;
    font-size: 0.85rem;
    color: #29445f;
    background: white;
    /*   padding: 0 -4px; */
}

.form_submit {
    width:250px;
    background: #26445f;
    color: white;
    border: none;
    border-radius: 25px;
    padding: 0.5em 2em;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.form_submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 119, 204, 0.15);
    background: #111f2c;
}

.form_submit:disabled {
    background: #ccc; /* Szary kolor dla nieaktywnego przycisku */
    color: #666; /* Przygaszony tekst */
    cursor: not-allowed; /* Ikona zakazu */
    box-shadow: none; /* Usuń cień */
    transform: none; /* Usuń efekt hover */
}

.form-blocked-message {
    background-color: #ff3b3b; /* Czerwone tło */
    color: #fff; /* Biała czcionka */
    font-weight: bold;
    padding: 0.5rem 1rem; /* Odstępy wewnętrzne */
    border-radius: 5px; /* Zaokrąglone rogi */
}

/*  ------------------------------------------  */
.checkbox-group {
    margin-bottom: 2rem;
}

.custom-checkbox {
    display: flex;
    align-items: center;
    font-size: .9rem;
    cursor: pointer;
    gap: 8px;
    user-select: none;
    font-weight:700;
}

/*.custom-checkbox input[type="checkbox"] {*/
/*    display: none;*/
/*}*/

.custom-checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.checkmark {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1px solid #29445f;
    background: white;
    display: inline-block;
    position: relative;
    transition: border-color 0.2s;
}

.custom-checkbox input[type="checkbox"]:checked + .checkmark::after {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    background: #ffca08; /* żółta kropka */
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.checkbox-desc {
    max-height: 100px;
    overflow-y: auto;
    font-size: 0.7rem;
    font-weight: 400;
    color: #29445f;
    /*   margin-left: 28px; */
    margin-top: 8px;
    border-radius: 0;
    border: none;
    background: none;
    padding: 0;
}

.checkbox-desc--list{
    margin:0;
    padding-left:1rem;
}

/*-------------------------------------*/

.root__container__confirmation {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 100vh;
}

.confirmation__image {
    margin-bottom: 2rem;
}

.confirmation__title {
    font-size: 4rem;
    font-weight: 800;
}