#modalAjax {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    overflow-x: hidden;
    overflow-y: auto;
    background: transparent;
    border: none;
    pointer-events: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}

#modalAjax.in,
#modalAjax.show {
    pointer-events: auto;
    display: flex;
}

#modalAjax .modal-dialog {
    pointer-events: auto;
    margin: auto;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.96) translateY(-12px);
    transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
    z-index: 1;
}

#modalAjax.in .modal-dialog,
#modalAjax.show .modal-dialog {
    opacity: 1;
    visibility: visible;
    transform: scale(1) translateY(0);
    transition: opacity .2s ease, transform .2s ease, visibility 0s 0s;
}

body .modal-backdrop,
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99998;
    background: rgba(15, 23, 42, 0.55);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    opacity: 1;
}

#PayTR_BurtiNET,
#PayTR_BurtiNET.modal {
    z-index: 99999;
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1rem;
    overflow-x: hidden;
    overflow-y: auto;
    align-items: center;
    justify-content: center;
}

#PayTR_BurtiNET.in,
#PayTR_BurtiNET.show {
    display: flex;
}

#PayTR_BurtiNET .modal-dialog {
    margin: auto;
    position: relative;
    z-index: 1;
    max-width: 800px;
    width: 100%;
}

.lightbox_div2 {
    z-index: 99999;
}

.lightbox_div2:before {
    z-index: 0;
}

.lightbox_div2 .lightbox_wrapper,
.lightbox_div2 .kapat {
    position: relative;
    z-index: 1;
}

#modalAjax .hdv2-footer-modal__blur {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    pointer-events: none;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    background: rgba(15, 23, 42, 0.2);
}

#modalAjax.twofa-setup .modal-dialog {
    max-width: 440px;
}

#modalAjax.twofa-setup .modal-content {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: none;
    overflow: hidden;
}

#modalAjax.twofa-setup .modal-header {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

#modalAjax.twofa-setup .modal-header .modal-title {
    order: 1;
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
    text-decoration: none;
}

#modalAjax.twofa-setup .modal-header .close {
    order: 2;
    margin-left: auto;
    width: 36px;
    height: 36px;
    margin-right: 0;
    padding: 0;
    border: none;
    background: #f1f5f9;
    border-radius: 10px;
    opacity: 1;
    font-size: 1.25rem;
    line-height: 1;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .2s;
    flex-shrink: 0;
}

#modalAjax.twofa-setup .modal-header .close:hover {
    background: #e2e8f0;
    color: #334155;
}

#modalAjax.twofa-setup .modal-body {
    padding: 1.5rem;
    min-height: 80px;
    color: #475569;
    font-size: 0.9375rem;
    line-height: 1.6;
}

#modalAjax.twofa-setup .modal-body > p:first-child {
    margin-bottom: 1.25rem;
    color: #64748b;
}

#modalAjax.twofa-setup .modal-body .form-group {
    margin-bottom: 1.25rem;
}

#modalAjax.twofa-setup .modal-body label {
    display: block;
    font-weight: 500;
    color: #334155;
    margin-bottom: 0.5rem;
    font-size: 0.9375rem;
}

#modalAjax.twofa-setup .modal-body input[type="password"],
#modalAjax.twofa-setup .modal-body input[type="text"],
#modalAjax.twofa-setup .modal-body .form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color .2s, box-shadow .2s;
}

#modalAjax.twofa-setup .modal-body input:focus {
    outline: none;
    border-color: #3aa1ff;
    box-shadow: 0 0 0 3px rgba(58, 161, 255, 0.15);
}

#modalAjax.twofa-setup .modal-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid #e2e8f0;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
    flex-wrap: wrap;
}

#modalAjax.twofa-setup .modal-footer .loader {
    margin-right: auto;
    font-size: 0.875rem;
    color: #64748b;
}

#modalAjax.twofa-setup .modal-footer .btn-default {
    padding: 0.625rem 1.25rem;
    border-radius: 10px;
    font-weight: 500;
    font-size: 0.9375rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    color: #64748b;
    transition: all .2s;
}

#modalAjax.twofa-setup .modal-footer .btn-default:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #334155;
}

#modalAjax.twofa-setup .modal-footer .modal-submit,
#modalAjax.twofa-setup .modal-footer .btn-primary {
    padding: 0.625rem 1.25rem;
    border-radius: 10px;
    font-weight: 500;
    font-size: 0.9375rem;
    border: none;
    transition: all .2s;
}

#modalAjax.twofa-setup .modal-footer .modal-submit.btn-danger,
#modalAjax.twofa-setup .modal-footer .btn-danger {
    background: #dc2626;
    color: #fff;
}

#modalAjax.twofa-setup .modal-footer .modal-submit.btn-danger:hover {
    background: #b91c1c;
}

#modalAjax.twofa-setup .modal-footer .modal-submit.btn-success,
#modalAjax.twofa-setup .modal-footer .btn-success {
    background: #16a34a;
    color: #fff;
}

#modalAjax.twofa-setup .modal-footer .modal-submit.btn-success:hover {
    background: #15803d;
}

#modalAjax.twofa-setup .twofa-module {
    margin: 12px 0;
    padding: 1rem 1.25rem;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    cursor: pointer;
    transition: all .2s;
    background: #fff;
}

#modalAjax.twofa-setup .twofa-module:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
}

#modalAjax.twofa-setup .twofa-module.active {
    border-color: #3aa1ff;
    background: #f0f9ff;
}

#modalAjax.twofa-setup .activation-msg {
    margin: 1rem 0;
    padding: 1rem;
    border: 1px dashed #e2e8f0;
    border-radius: 10px;
    text-align: center;
    font-weight: 500;
    color: #475569;
    background: #f8fafc;
}

#modalAjax.twofa-setup .backup-code {
    margin: 1rem 0;
    padding: 1rem;
    background: #f1f5f9;
    color: #334155;
    text-align: center;
    border-radius: 10px;
    font-family: monospace;
    font-size: 0.9375rem;
}

@media (max-width: 991px) {
    #sienna-btn,
    .sienna-btn {
        bottom: 80px;
        z-index: 99;
    }

    .hdv2-a11y-trigger {
        z-index: 9989;
    }

    .tawk-min-container,
    #tawkchat-container,
    #tawkchat-minified-wrapper,
    [class*="tawk-"],
    iframe[title*="chat"],
    iframe[src*="tawk"] {
        position: fixed;
        bottom: 15px;
        right: 15px;
        transform: none;
        -webkit-transform: none;
        transition: none;
        -webkit-transition: none;
        animation: none;
        -webkit-animation: none;
        will-change: auto;
        backface-visibility: hidden;
        -webkit-backface-visibility: hidden;
    }
}
