:root { --maviKoyu: #04478c; --mavi: #0d99ff; --maviAcik: #0688e2; --kirmizi: #dc3545; --kirmiziAcik: #dc354540; --yesil: #198754; --turuncu: #ff6602; --siyah: #414141; --siyahAcik: #41414140; }

/*#region Genel*/
html { position: relative; min-height: 100%; font-family: "Open Sans", sans-serif; font-optical-sizing: auto; font-weight: 400; font-style: normal; line-height: 1.5rem; font-size: 15px; }
body { min-height: 100vh; display: flex; flex-direction: column; justify-content: space-between; margin: 0; }

body { padding-top: 51px; }

header { display: flex; justify-content: center; align-items: center; position: fixed; left: 0; top: 0px; right: 0; z-index: 2; background: #fff; background-color: #f8f9fa; padding: 5px 10px; border-bottom: 1px solid #dee2e6; }
    header .nav-link.active { color: white !important; }

.divContainer { flex-grow: 1; padding: 0 0px 20px 0; }

footer { width: 100%; background-color: #f8f9fa; color: #6c757d; text-align: justify-all; padding: 0 10px; border-top: 1px solid #dee2e6; }
    footer .divIcerik { display: flex; justify-content: space-between; align-items: center; }


table { border-spacing: 0; }
td { padding: 0; }
img { border: none; }
a { text-decoration: none; outline: 0; border: none; }
* { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }
i { text-rendering: optimizeLegibility !important; }
.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus { box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb; }

.h1SayfaBaslik { display: block; color: #000; font-weight: 600; font-size: 16pt; line-height: 30px; text-align: center; letter-spacing: 1px; position: relative; padding: 0; margin: 10px 0; width: 100%; }

.div1152 { width: 1152px; margin: auto; }
.div1300 { width: 1300px; margin: auto; }
.div1600 { width: 1600px; margin: auto; }

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder { color: var(--bs-secondary-color); text-align: end; }
.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder { text-align: start; }
.modal-xxl { max-width: 96%; }

.noselect { user-select: none; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; }

.divAciklamaKirmizi { display: flex; flex-wrap: wrap; justify-content: end; align-items: end; color: red; line-height: 20px; font-size: 10pt; margin-bottom: 3px; }


SpanNoWrap { white-space: nowrap; }

/*#endregion*/




/*#region cookieBox*/
#cookieBox { position: fixed; bottom: 20px; left: 0; right: 0px; width: 90%; max-width: 600px; margin: auto; background: #ffffff; border-radius: 12px; padding: 18px 22px; box-shadow: 0 4px 18px rgba(0,0,0,0.25); z-index: 9999; font-size: 14px; display: none; animation: CookieFadeIn .6s ease forwards; }
    #cookieBox .cookie-title { font-weight: 600; font-size: 15px; margin-bottom: 8px; display: flex; align-items: center; gap: 6px; }
        #cookieBox .cookie-title i { font-size: 18px; color: #0d6efd; }
    #cookieBox .cookie-text { color: #444; margin-bottom: 12px; line-height: 1.4; }
    #cookieBox .cookie-actions { display: flex; justify-content: flex-end; gap: 10px; }

@keyframes CookieFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
/*#endregion*/

/*#region divScrollDuzelt*/
.divScrollDuzelt { overflow: auto; }
    .divScrollDuzelt::-webkit-scrollbar { width: 3px; height: 3px; }
    .divScrollDuzelt::-webkit-scrollbar-track { background-color: #fff; }
    .divScrollDuzelt::-webkit-scrollbar-thumb { background-color: #000; }
        .divScrollDuzelt::-webkit-scrollbar-thumb:hover { background-color: #f00; }
/*#endregion*/

/*#region btnYukari*/
#btnYukari { display: none; justify-content: center; align-items: center; background-color: rgba(0, 0, 0, 0.5); width: 40px; height: 40px; text-align: center; position: fixed; bottom: 32px; left: 50%; transform: translateX(-50%); transition: background-color 0.3s; z-index: 11; box-shadow: none; border: none; outline: none; }
    #btnYukari:hover { cursor: pointer; background-color: #333; }
    #btnYukari:focus, #btnYukari:active { background-color: #555; border: none; outline: none; box-shadow: none; }
    #btnYukari.btnYukariAktif { display: flex; }
/*#endregion*/

/*#region Geri Tuşu*/
.divGeri { display: flex; justify-content: end; width: 100%; }
    .divGeri .aGeri { display: block; width: 60px; line-height: 32px; border-radius: 5px; background: #000; color: #fff; text-align: center; -webkit-transform: perspective(1px) translateZ(0); -moz-transform: perspective(1px) translateZ(0); -o-transform: perspective(1px) translateZ(0); -ms-transform: perspective(1px) translateZ(0); transform: perspective(1px) translateZ(0); box-shadow: 0 0 1px transparent; position: relative; transition: all 300ms ease; -webkit-box-shadow: 10px 10px 18px -9px rgba(0,0,0,0.4); -moz-box-shadow: 10px 10px 18px -9px rgba(0,0,0,0.4); box-shadow: 10px 10px 18px -9px rgba(0,0,0,0.4); }
        .divGeri .aGeri:before { content: ''; position: absolute; border: #000 solid 1px; border-radius: 5px; top: 0; right: 0; bottom: 0; left: 0; -webkit-animation-duration: 1s; animation-duration: 1s; }
        .divGeri .aGeri:hover:before, .divGeri .aGeri:focus:before, .divGeri .aGeri:active:before { -webkit-animation-name: aGeri; animation-name: aGeri; border: #000 solid 1px; }

@-webkit-keyframes aGeri {
    100% { top: -12px; right: -12px; bottom: -12px; left: -12px; opacity: 0; }
}

@keyframes aGeri {
    100% { top: -12px; right: -12px; bottom: -12px; left: -12px; opacity: 0; }
}
/*#endregion Geri Tuşu*/

/*#region divSifreKutuGosterGizle*/
.divSifreKutuGosterGizle { position: relative; width: calc(100% - 0px); }
    .divSifreKutuGosterGizle .txt { width: 100% !important; }
    .divSifreKutuGosterGizle .iSifreGoster, .divSifreKutuGosterGizle .iSifreOner { display: block; width: 32px; line-height: 40px; position: absolute; right: 0px; top: 0%; font-size: 10pt; cursor: pointer; color: #ccc; text-align: center; cursor: pointer; }
    .divSifreKutuGosterGizle .iSifreOner { right: 32px; }
    .divSifreKutuGosterGizle i:hover { color: #000 }
/*#endregion*/

/*#region frmModal*/
.frmModal { overflow: auto; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.5); display: none; justify-content: center; align-items: center; z-index: 5; }
    .frmModal .divDetay { display: flex; flex-direction: column; justify-content: stretch; max-width: 1350px; width: 99%; margin: 0; height: 99%; background: #fff; padding: 0px 0; border-radius: 5px; }
        .frmModal .divDetay .divDetayHeader { display: flex; justify-content: center; align-items: center; height: 40px; font-size: 15pt; font-weight: 700; border-bottom: 1px solid #eee; }
        .frmModal .divDetay .divDetayBody { height: calc(100% - 80px); flex-grow: 1; overflow-y: auto; padding: 10px 20px; }
    .frmModal .divDugmelerSabit { display: flex; justify-content: center; align-items: center; align-items: center; border-top: 1px solid #eee; height: 40px; }
/*#endregion*/

/*#region ajax-loading*/
#divAjaxLoading { display: none; justify-content: center; align-items: center; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(255, 255, 255, 0.7); z-index: 9999; text-align: center; justify-content: center; /* Modern flexbox kullanımı */ align-items: center; flex-direction: column; }
    #divAjaxLoading .loader { border: 8px solid #f3f3f3; border-top: 8px solid #3498db; border-radius: 50%; width: 50px; height: 50px; animation: spin 2s linear infinite; }
    #divAjaxLoading .loading-text { margin-top: 10px; font-size: 18px; color: #3498db; }

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
/*#endregion*/

#MesajGoster .ModalGosterPop { max-width: min(90vw, 900px); width: auto; }
    #MesajGoster .ModalGosterPop.modal-content { max-height: 90vh; }
    #MesajGoster .ModalGosterPop.modal-body { overflow-y: auto; word-break: break-word; }

/*#region tblListe*/
.tblListe { font-family: Arial; font-size: 13px; }

    .tblListe .trBaslik td, .tblListe .trBaslik th { text-align: left !important; vertical-align: middle; position: relative; }
        .tblListe .trBaslik th .divSiralama { display: flex; flex-direction: column; justify-content: center; align-items: center; position: absolute; top: 0; right: 0; bottom: 0; }
            .tblListe .trBaslik th .divSiralama i { display: block; color: #000; opacity: 0.6; font-size: 18px; line-height: 15px; height: 15px; }
                .tblListe .trBaslik th .divSiralama i:hover { opacity: 1; }

    .tblListe .trSatirFiltre th { vertical-align: middle; }
    .tblListe .trSatirFiltre .tdTarih { padding: 0; }
        .tblListe .trSatirFiltre .tdTarih .divTarih { display: flex; padding: 0 5px; gap: 4px; }
            .tblListe .trSatirFiltre .tdTarih .divTarih .form-control { display: block; width: 125px; min-width: 0; margin: 0 }

    .tblListe .trSatirData .tdDugmeler { padding: 0; width: 32px; }
        .tblListe .trSatirData .tdDugmeler .divDugmeler { display: flex; flex-grow: 1; flex-wrap: nowrap; gap: 2px; padding: 0 2px; }
            .tblListe .trSatirData .tdDugmeler .divDugmeler i { display: block; transition: background-color 0.2s ease; cursor: pointer; width: 32px; }
                .tblListe .trSatirData .tdDugmeler .divDugmeler i:hover { background-color: rgba(0, 0, 0, 0.1); }

    .tblListe .trSatirData:hover td { background: #eee; cursor: pointer; }
/*#endregion*/

/*#region divPager*/

.divPager { margin: 0px 0; width: 100%; text-align: center; }
    .divPager .divNoRecord { display: block; background: #f1f1f1; color: #000; text-align: center; width: 100%; line-height: 40px; }
    /* normal */
    .divPager .page-link { color: #000 !important; background-color: #fff !important; border-color: #dee2e6; }
        /* hover */
        .divPager .page-link:hover { color: #000 !important; background-color: #f1f1f1 !important; }
    /* seçili (active) */
    .divPager .page-item.active .page-link { color: #dc3545 !important; /* kırmızı yazı */ background-color: #e9e9e9 !important; /* gri arka plan */ border-color: #dee2e6 !important; }
    /* focus (Bootstrap mavi glow kaldırmak için) */
    .divPager .page-link:focus { color: #000 !important; background-color: #fff !important; box-shadow: none !important; }
    /* disabled */
    .divPager .page-item.disabled .page-link { color: #999 !important; background-color: #fff !important; }
/*#endregion divPager*/

/*#region divProsesBarMaster*/
.divProsesBarMaster { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 20px; position: fixed; left: 0; top: 0; right: 0; bottom: 0; z-index: 11; background: #00000051; padding: 20px; }
    .divProsesBarMaster .divProsesBar { display: flex; justify-content: center; align-items: center; width: 100%; height: 40px; position: relative; overflow: hidden; border-radius: 20px; }
        .divProsesBarMaster .divProsesBar .divBar { display: block; position: absolute; left: 0px; top: 0; right: 0px; bottom: 0; background: #b8d3edff; z-index: 1; }
        .divProsesBarMaster .divProsesBar .divBilgi { display: block; text-align: center; letter-spacing: 1px; background: #ffffff91; position: relative; z-index: 3; line-height: 30px; border-radius: 20px; padding: 0 20px; }
        .divProsesBarMaster .divProsesBar .divBarOverlay { position: absolute; left: 0; top: 0; bottom: 0; width: 0%; background: #3e9cf6; z-index: 2; }
    .divProsesBarMaster .btnGenel { width: 250px; text-align: center; line-height: 40px; height: 40px; text-align: center; border-radius: 4px; }
/*#endregion*/

/*#region Responsive*/
@media only screen and (max-width:1610px) {
    .div1600 { width: 100%; }
}

@media only screen and (max-width:1310px) {
    .div1300 { width: 100%; }
}

@media only screen and (max-width:1152px) {
    .div1152 { width: 100%; }
}

@media (max-width: 900px) {
    #btnYukari { left: unset; transform: unset; right: 10px; }
}

@media (min-width: 768px) {
    html { font-size: 16px; }
}
/*#endregion*/
