/* ==========================================================
   CONFIGURAÇÕES
   ========================================================== */

.form-section-title {

    margin-top: 10px;

    padding-bottom: 12px;

    border-bottom: 1px solid #e5e5e5;

}

.form-section-title h2 {

    margin: 0;

    font-size: 20px;

    font-weight: 700;

    color: #00027D;

}

.form-section-title p {

    margin: 5px 0 0;

    font-size: 13px;

    color: #777;

}


/* ==========================================================
   FORMULÁRIO
   ========================================================== */

.form-grid {

    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 20px;

}


.form-group-full {

    grid-column: 1 / -1;

}


.form-group {

    display: flex;

    flex-direction: column;

    gap: 7px;

}


.form-group label {

    font-size: 14px;

    font-weight: 600;

    color: #333;

}


.form-group input {

    width: 100%;

    box-sizing: border-box;

    padding: 12px 14px;

    border: 1px solid #d8d8d8;

    border-radius: 6px;

    background: #fff;

    color: #333;

    font-family: inherit;

    font-size: 14px;

    transition:
        border-color .2s ease,
        box-shadow .2s ease;

}


.form-group input:focus {

    outline: none;

    border-color: #00027D;

    box-shadow:
        0 0 0 3px rgba(0, 2, 125, .08);

}


.form-group input::placeholder {

    color: #aaa;

}


/* ==========================================================
   CHECKBOX
   ========================================================== */

.checkbox-group {

    margin-top: 5px;

}


.checkbox-group label {

    display: flex;

    flex-direction: row;

    align-items: center;

    gap: 8px;

    cursor: pointer;

}


.checkbox-group input {

    width: auto;

}


/* ==========================================================
   AÇÕES
   ========================================================== */

.form-actions {

    display: flex;

    justify-content: flex-end;

    align-items: center;

    gap: 10px;

    margin-top: 30px;

    padding-top: 20px;

    border-top: 1px solid #e5e5e5;

}


/* ==========================================================
   RESPONSIVO
   ========================================================== */

@media (max-width: 700px) {

    .form-grid {

        grid-template-columns: 1fr;

    }

    .form-group-full {

        grid-column: auto;

    }

    .form-actions {

        flex-direction: column-reverse;

        align-items: stretch;

    }

    .form-actions .btn {

        width: 100%;

        text-align: center;

    }

}