@import url("../core/reset.css");
@import url("../core/variables.css");
@import url("../tabulator.css");
@import url("../choices.css");
@import url("../style.css");

body {
    font-family: "Arial", sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
}

main.main {
    display: block;
    padding: 42px 20%;
    background-color: var(--pure-white);
}

.main h1 {
    color: #45352e;
    font-family: "PT Serif";
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.64px;
    margin-bottom: 8px;
}

p.form_duracion {
    color: #38393a;
    font-size: 13px;
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 8px;
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: flex-start;
}

.note {
    color: #333;
    font-size: 13px;
    font-style: italic;
    font-weight: 400;
}

.form_entidad {
    background-color: var(--pure-white);
    width: 100%;
    max-width: 900px;
}

.form_entidad fieldset {
    margin-top: 24px;
}
.form_entidad fieldset legend {
    color: #45352e;
    font-family: "PT Serif";
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.48px;
    border-bottom: 1px solid #dce3e6;
    width: 100%;
    padding-bottom: 10px;
    margin-bottom: 32px;
}

.form_entidad fieldset h3 {
    color: #45352e;
    font-family: "PT Serif";
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.4px;
    padding-bottom: 8px;
    margin: 32px 0;
    border-bottom: 1px solid #dce3e6;
}

.form_entidad fieldset h4 {
    color: #333;
    font-size: 14px;
    font-weight: 500;
    line-height: 150%;
    margin-bottom: 16px;
}

.form_entidad fieldset p {
    color: var(--dark-grey, #333);
    font-size: 13px;
    font-weight: 400;
    margin-bottom: 16px;
}

.form_entidad fieldset p > strong {
    font-size: 13px;
    font-weight: 600;
}

.two_form_groups {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.form_group {
    margin-bottom: 24px;
}

.form_group.large,
.two_form_groups.large {
    width: 75%;
}

.form_group.medium {
    width: 40%;
}

.two_form_groups .form_group {
    width: 100%;
}

.form_group label {
    font-size: 14px;
    color: #333;
    display: block;
    margin-bottom: 5px;
}

.form_group input,
.form_group select,
.form_group textarea {
    width: 100%;
    padding: 10px;
    font-size: 14px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.radio-group {
    padding-left: 42px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.radio-group.yes-no {
    flex-direction: row;
    gap: 40px;
}

.radio-group label {
    font-size: 14px;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
}

input[type="radio"] {
    margin-top: 2px;
    accent-color: #1a73e8;
    flex-shrink: 0;
    cursor: pointer;
}

.form_group textarea + sub {
    color: var(--medium-grey, #8f979b);
    text-align: right;
    font-size: 11px;
    font-weight: 400;
    line-height: 18px;
    width: 100%;
    display: block;
    margin-top: 0;
}

.radio-group.border_bottom {
    border-bottom: 1px solid #dce3e6;
    padding-bottom: 32px;
}

.buttons_box {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 16px;
    margin-top: 16px;
}

.radio-group .error + input {
    border-color: var(--border-error-input);
}
