/* ======================================
   GF32 – BASE FULL (GRID + USTAV CLEAN)
   ====================================== */

/* RTL */
#gform_wrapper_32 {
    direction: rtl;
    text-align: right;
    max-width: 1100px;
    margin: 0 auto;
    margin-top: 0 !important;
    padding-top: 0 !important;
}

#gform_wrapper_32 .gfield_label {
    text-align: right;
}

/* INPUTS */
#gform_wrapper_32 input[type="text"],
#gform_wrapper_32 input[type="email"],
#gform_wrapper_32 input[type="tel"],
#gform_wrapper_32 select,
#gform_wrapper_32 textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #e5e7eb;
}

/* RADIO */
#gform_wrapper_32 input[type="radio"],
#gform_wrapper_32 input[type="checkbox"] {
    width: auto !important;
}

#gform_wrapper_32 .gchoice {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* PHONE */
#gform_wrapper_32 input[type="tel"] {
    direction: ltr;
    text-align: left;
}

/* SECTION */
#gform_wrapper_32 .gsection {
    width: 100%;
    clear: both;
}

/* ======================================
   GRID
   ====================================== */

#gform_wrapper_32 .gform_fields {
    display: block;
}

#gform_wrapper_32 .gfield {
    display: inline-block;
    vertical-align: top;
    width: 100%;
    margin-bottom: 16px;
    box-sizing: border-box;
}

#gform_wrapper_32 .gfield.gfield--width-quarter {
    width: 23%;
    margin-left: 1%;
    margin-right: 1%;
}

#gform_wrapper_32 .gfield.gfield--width-third {
    width: 31.333%;
    margin-left: 1%;
    margin-right: 1%;
}

#gform_wrapper_32 .gfield.gfield--width-half {
    width: 48%;
    margin-left: 1%;
    margin-right: 1%;
}

/* ======================================
   MODAL
   ====================================== */

.gf32-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.gf32-modal {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    max-width: 330px;
}

.gf32-modal-text {
    margin-bottom: 15px;
    font-size: 16px;
}

.gf32-modal-close {
    background: #7a2bbf;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
}

/* ======================================
   USTAV
   ====================================== */

#gform_wrapper_32 .gf-ustav {
    max-width: 100% !important;
    width: 100%;
    margin: 0 !important;
    margin-right: 0 !important;
    margin-left: auto !important;
    padding: 0 0 20px 0;
    direction: rtl;
    text-align: right;
    font-family: "Assistant", "Heebo", Arial, sans-serif;
    line-height: 1.6;
    font-size: 16px;
    box-sizing: border-box;
}

#gform_wrapper_32 .gf-ustav-title {
    text-align: center;
    font-size: 26px;
    font-weight: 700;
    margin: 0 0 24px 0;
    padding: 0 0 12px 0;
    border-bottom: 3px solid #f0b429;
    color: #1a5d8c;
}

#gform_wrapper_32 .gf-ustav-title span {
    display: block;
    font-size: 16px;
    font-weight: normal;
    margin-top: 6px;
    color: #5a6874;
}

#gform_wrapper_32 .gf-ustav-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

#gform_wrapper_32 .gf-ustav-item {
    background: #f9fafc;
    padding: 18px 22px;
    border-radius: 16px;
    border-right: 5px solid #f0b429;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    overflow-wrap: break-word;
    word-wrap: break-word;
    font-size: 16px;
    line-height: 1.6;
}

#gform_wrapper_32 .gf-ustav-item strong {
    display: block;
    font-size: 18px;
    margin-bottom: 10px;
    color: #004d73;
    border-bottom: 1px dashed #dce4ec;
    padding-bottom: 6px;
}

#gform_wrapper_32 .gf-ustav-item.full {
    grid-column: 1 / -1;
    background: #eef2f7;
    border-right-color: #004d73;
}

#gform_wrapper_32 .gfield_radio {
    margin: 10px 0;
}

/* ======================================
   HEALTH DECLARATION
   ====================================== */

.gf32-medical p{
    font-family:"Assistant","Heebo",Arial,sans-serif;
    font-size:20px;
    font-weight:700;
    color:#111827;
    margin:18px 0;
    line-height:1.8;
    text-align:right;
}

/* ======================================
   HEALTH WARNING
   ====================================== */

.gf32-health-warning{
    background:#fff4f4;
    border:2px solid #f87171;
    border-right:6px solid #dc2626;
    border-radius:12px;
    padding:18px 20px;
    margin:20px 0;
    color:#7f1d1d;
    line-height:1.6;
}

.gf32-health-warning-title{
    font-family:"Assistant","Heebo",Arial,sans-serif;
    font-size:18px;
    font-weight:800;
    line-height:1.8;
    margin-bottom:8px;
}

.gf32-health-warning-text{
    font-family:"Assistant","Heebo",Arial,sans-serif;
    font-size:16px;
    font-weight:700;
    line-height:1.8;
}

/* ======================================
   APPROVE RADIO
   ====================================== */

.gf32-medical-table .q-ans label{
    font-weight:700;
}

.gf32-medical-table .q-ans input[type="radio"]{
    margin-left:6px;
}

/* ======================================
   INFO BOX
   ====================================== */

.gf32-info-box{
    background:linear-gradient(135deg,#b085f5 0%,#9b59b6 100%);
    color:#fff;
    border-radius:16px;
    padding:20px 24px;
    margin:20px 0;
    font-size:16px;
    line-height:1.7;
    font-weight:600;
    box-shadow:0 6px 20px rgba(155,89,182,.25);
}

.gf32-info-box p{
    margin:0 0 12px 0;
}

.gf32-info-box p:last-child{
    margin-bottom:0;
}

/* SECOND CHILD */

.gf32-second-child-info{
    background:linear-gradient(135deg,#b085f5 0%,#9b59b6 100%);
    color:#fff;
    border-radius:16px;
    padding:20px 24px;
    margin:20px 0;
    font-size:16px;
    line-height:1.7;
    font-weight:600;
    box-shadow:0 6px 20px rgba(155,89,182,.25);
}

.gf32-second-child-info p{
    margin:0 0 12px 0;
}

.gf32-second-child-info p:last-child{
    margin-bottom:0;
}
.gf32-second-child-info strong{
    font-size:16px;
    font-weight:700;
    line-height:1.7;
    color:inherit;
}
/* ======================================
   USTAV SIGN
   ====================================== */

#gform_wrapper_32 .gf-ustav-sign{
    font-family:"Assistant","Heebo",Arial,sans-serif;
    font-size:16px;
    font-weight:700 !important;
    line-height:1.8;
    text-align:right;
}

/* ======================================
   HIDE ERROR
   ====================================== */

#gform_wrapper_32 .validation_error{
    position:absolute !important;
    width:1px;
    height:1px;
    overflow:hidden;
    clip:rect(0,0,0,0);
}

/* ======================================
   MOBILE
   ====================================== */

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

    #gform_wrapper_32 .gform_page_footer{
        display:flex;
        flex-direction:column-reverse;
        gap:15px;
        align-items:center;
    }

    #gform_wrapper_32 .gform_page_footer input{
        width:100%;
    }

}

/* ======================================
   PRINT
   ====================================== */

@media print{

    #gform_wrapper_32 .gf-ustav,
    #gform_wrapper_32 .gf-ustav-item,
    #gform_wrapper_32 .gfield{
        page-break-inside:avoid;
    }

}
/* ======================================
   HIDE PRICE FOR CLIENT
   ====================================== */

#gform_wrapper_32 .gf32-price-box{
    display:none !important;
}