/* Kartal Forms Center — accessible modal popup (v1.2.0) */
.khrf-popup[hidden]{display:none!important}
.khrf-popup,.khrf-popup *{box-sizing:border-box}
.khrf-popup{position:fixed!important;inset:0!important;z-index:2147483000;display:flex;justify-content:center;align-items:center;padding:18px;direction:rtl;color:#263038;font-family:inherit}
.khrf-popup-overlay{position:absolute;inset:0;background:rgba(14,23,34,.72);backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px)}
.khrf-popup-panel{position:relative;display:flex;flex-direction:column;min-width:0;width:min(860px,100%);max-height:min(90vh,900px);max-height:min(90dvh,900px);overflow:hidden;border-radius:19px;background:#fff;box-shadow:0 24px 80px rgba(0,0,0,.29);outline:0}
.khrf-popup-top{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 22px;background:#fff;border-bottom:1px solid #e9edf2;flex:0 0 auto;min-height:68px}
.khrf-popup-top h2{margin:0!important;font-size:19px!important;font-weight:750!important;line-height:1.6;color:#263038}
.khrf-popup-close{flex:0 0 40px;display:flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:10px!important;border:1px solid #dfe3e8!important;cursor:pointer;background:#f7f8fa!important;color:#172633!important;font-size:27px!important;line-height:1!important;padding:0!important}
.khrf-popup-close:hover,.khrf-popup-close:focus-visible{color:#a54207!important;background:#fff2e8!important;border-color:#eead82!important}
.khrf-popup-content{min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
.khrf-popup-content>.khrf-shell{max-width:none;margin:0;box-shadow:none;border:0;border-radius:0;padding:22px}
.khrf-popup-content .khrf-heading h2{font-size:22px}
.khrf-popup-button{display:inline-flex;justify-content:center;align-items:center;gap:8px;max-width:100%;padding:13px 22px!important;min-height:45px;line-height:1.6!important;border-radius:10px!important;border:1px solid #ea791c!important;background:#e97822!important;color:#fff!important;cursor:pointer;font:inherit;font-weight:700!important;text-align:center;transition:background-color .2s,border-color .2s}
.khrf-popup-button:hover,.khrf-popup-button:focus-visible{background:#c85d10!important;border-color:#c85d10!important;color:#fff!important}
.khrf-button-outline{background:transparent!important;color:#bb5610!important}
.khrf-button-outline:hover,.khrf-button-outline:focus-visible{background:#fff1e6!important;color:#a4470a!important}
.khrf-button-plain{background:transparent!important;border-color:transparent!important;color:#bb5610!important;padding-inline:8px!important}
.khrf-button-plain:hover,.khrf-button-plain:focus-visible{background:#fff1e6!important;border-color:transparent!important;color:#a4470a!important}
html.khrf-popup-lock,html.khrf-popup-lock body{overflow:hidden!important}
@media(max-width:640px){.khrf-popup{padding:8px}.khrf-popup-panel{width:100%;max-height:calc(100vh - 16px);max-height:calc(100dvh - 16px);border-radius:13px}.khrf-popup-top{min-height:58px;padding:9px 14px}.khrf-popup-top h2{font-size:16px!important}.khrf-popup-content>.khrf-shell{padding:14px 12px}}
@media(prefers-reduced-motion:reduce){.khrf-popup-button{transition:none}}
