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

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

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

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

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

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

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

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

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

#gform_wrapper_52 .gform_fields {
    display: block;
}

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

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

#gform_wrapper_52 .gfield.gfield--width-third {
    width: 31.523%;
    margin-left: 1%;
    margin-right: 1%;
}

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

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

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

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

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

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

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

.gf52-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
   ====================================== */

.gf52-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;
}

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

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

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

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

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

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

.gf52-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);
}

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

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

/* SECOND CHILD */

.gf52-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);
}

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

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

#gform_wrapper_52 .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_52 .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_52 .gform_page_footer{
        display:flex;
        flex-direction:column-reverse;
        gap:15px;
        align-items:center;
    }

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

}

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

@media print{

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

}

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

#gform_wrapper_52 .gf52-price-box{
    display:none !important;
}