@font-face {
    font-family: iransans;
    src: local('Open Sans Regular'), local('OpenSans-Regular'), url('/themes/public/fonts/iransans.ttf') format('truetype');
    font-display: swap;
}
html , body {
    background: #f0f0f0;
}
* {
    font-family: iransans;
}
a {
    text-decoration: none;
}
.globalFont {
    font-family: iransans;
}
#preload {
    position: fixed;
    top:0;
    left:0;
    width: 100%;
    height: 100%;
    background: rgba(999,999,999,0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 9999;
    display: none;
}
.preload {
    height: 100%;
    width: 100%;
    display: flex;
}
.preloadIn {
    background: rgba(32, 85, 117, 0.65);
    margin: auto;
    border-radius: 100%;
    padding: 16px 16px 10px 16px;
}
.preloadIn span {
    width: 60px;
    height: 60px;
    border: 5px solid #fff;
    border-bottom-color: transparent;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: loadingspin 2s linear infinite;
}
@keyframes loadingspin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.mtSectionTitle {
    text-align: center;
    background: #0070ff;
    color: #fff;
    padding: 11px;
    border-radius: 100px;
    box-shadow: 0 0 20px #0070ff;
}

#mtSection {
    background: #f5f9ff;
    border: 1px solid #0070ff26;
    padding: 20px;
    border-radius: 20px;
    margin: 50px 0 30px;
}

.spouseSectionTitle {
    text-align: center;
    background: #8b00ff;
    color: #fff;
    padding: 11px;
    border-radius: 100px;
    box-shadow: 0 0 20px #8b00ff;
}
#spouseSection {
    background: #fbf5ff;
    border: 1px solid rgba(132, 0, 255, 0.15);
    padding: 20px;
    border-radius: 20px;
    margin: 50px 0 30px;
}

.childSection {
    background: #edfbf5;
    border: 1px solid rgba(54, 136, 121, 0.15);
    padding: 20px;
    border-radius: 20px;
    margin: 50px 0 30px;
}
.childSectionTitle {
    text-align: center;
    background: #159174;
    color: #fff;
    padding: 11px;
    border-radius: 100px;
    box-shadow: 0 0 20px #159174;
}

.childSectionTitle , .spouseSectionTitle , .mtSectionTitle {
    position: sticky;
    top: 70px;
    margin: -40px -10px 20px -10px;
}

@media (max-width: 576px) {
    .childSectionTitle , .spouseSectionTitle , .mtSectionTitle {
        top: 115px;
    }
}



.terms-text {
    height: 300px;
    overflow-x: hidden;
    padding: 14px 14px 0;
    background-color: #f7f7f7;
    max-height: 300px;
    overflow-y: auto;
    border-radius: 0 0 15px 15px;
}
.edamebtn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-size: 18px;
    width: 100%;
    border-radius: 50px;
    padding: 15px 0; 
}
@media (max-width: 576px) {
    .terms-text {
        height: max-content;
        max-height: max-content;
        overflow-x: unset;
        overflow-y: unset;
    }
    .edamebtn {
        position: fixed;
        bottom: 0;
        left: 0;
        border-radius: 0;
    }
}


.dtsecbox {
    border: 1px solid #0070ff26;
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
    margin-bottom: 21px;
    background: #ffffffb2;
}
.child-form {
    background: #ffffffe5;
}
.dtsecboxT {
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    border-bottom: 1px solid #000;
    padding-bottom: 7px;
    margin-bottom: 30px;
    width: 300px;
}

#cropimagez {
    max-height: 350px;
    width: auto;
}
.cropper-point {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    opacity: 1;
}
.cropper-point.point-se,
.cropper-point.point-sw,
.cropper-point.point-nw,
.cropper-point.point-ne {
    cursor: pointer;
}

.croppedImage {
    width: 100%;
    border: 2px solid #aaa;
    border-radius: 10px;
    margin-bottom: 5px;
}

.swal2-close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 20px;
}
.custom-close {
    text-align: center;
    margin-top: 15px;
}

.modal {
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.modal-content .modal-title {
    margin-left: auto !important;
}
.modal-content .btn-close {
    margin-left: 0 !important;
}

.form-control:focus {
    border-color: #667eea !important;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25) !important;
}
.login-step-icon {
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.form-select {
    direction: ltr !important;
    text-align: right !important;
}

.menu-btn {
    border-radius: 50%;
    background: transparent;
    border: 0;
    display: flex;
    width: 32px;
    height: 32px;
    padding-top: 2px;
    margin-right: 10px;
}
.menu-btn i {
    color: black;
    font-size: 24px;
    padding: 0;
    margin: auto;
}