/* ---------------------------------------------------------------
   form.akinsoft.com.tr → eksik alan modalı (#form-error)
   validation.js modalı <body>'ye ekliyor → .bs5scope dışında kalıyor,
   sitenin BS3 ".fade{opacity:0} / .fade.in{opacity:1}" kuralı yüzünden
   BS5'in ".show" sınıfıyla görünür olmuyordu. Gerekli BS5 stilleri:
   (kullanım: blog/vendor/sidebar.php, ucretsiz-demo.php)
   --------------------------------------------------------------- */
#form-error.modal {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100055;
    display: none;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    outline: 0;
    font-family: Nunito, Arial, "Helvetica Neue", Helvetica, sans-serif;
    letter-spacing: normal;
}

#form-error.modal.fade {
    opacity: 0;
    transition: opacity .15s linear;
}

#form-error.modal.fade.show {
    opacity: 1;
}

#form-error .modal-dialog {
    position: relative;
    width: auto;
    max-width: 500px;
    margin: 1.75rem auto;
    display: flex;
    align-items: center;
    min-height: calc(100% - 3.5rem);
    pointer-events: none;
    transform: none;
}

#form-error .modal-content {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-height: calc(100vh - 3.5rem);
    pointer-events: auto;
    background: #fff;
    border: none;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgb(0 0 0 / .3);
    overflow: hidden;
}

#form-error .modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .8rem 1.5rem;
    border-radius: 15px 15px 0 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff !important;
}

#form-error .modal-header.bg-danger {
    background: unset !important;
    background-color: rgba(220, 53, 69, 1) !important;
}

#form-error .modal-header .modal-title {
    font-size: 1.2rem !important;
    line-height: 1.2 !important;
    font-weight: 500 !important;
    color: #fff;
}

#form-error .modal-header .btn-close {
    flex-shrink: 0;
    filter: invert(1);
    box-sizing: content-box;
    width: 1em;
    height: 1em;
    color: #000;
    background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat;
    border: 0;
    border-radius: .25rem;
    opacity: .5;
    padding: .5rem .5rem;
    margin: -.5rem -.5rem -.5rem auto;
    cursor: pointer;
}

#form-error .modal-header .btn-close:hover {
    opacity: 1;
}

#form-error .modal-body {
    padding: 1rem !important;
    overflow-y: auto;
    color: #3A4C5A;
}

#form-error .modal-body ul {
    margin: 0;
    padding-left: 32px !important;
}

#form-error .modal-body ul li {
    font-size: .9rem;
    line-height: 1.2;
    list-style: disc !important;
    margin: .2rem 0;
}

#form-error .modal-footer {
    padding: 15px 25px;
    background: #f8f9fa;
    border-top: 1px solid #dee2e6;
}

body > .modal-backdrop.show {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100050;
    width: 100vw;
    height: 100vh;
    background: #000;
    opacity: .5;
}
