﻿/* session-timeout hedefli stiller (küçültme ve bootstrap uyumlu görünüm) */

/*#timeoutModal .modal-title {
    font-size: 0.8rem;*/ /* daha küçük başlık */
    /*font-weight: 600;
    margin: 0;
    line-height: 1.1;
}*/

/* Başlık çubuğu renklendirme (özel tema) */

/*#timeoutModal .modal-header {*/
    /*    background-color: #fff3cd;
    color: #856404;
    border-bottom: 1px solid rgba(0,0,0,0.05);*/

    /*background-color: #fd7e14;*/ /* turuncu */
    /*color: #ffffff;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    min-height: 32px;*/ /* Header yüksekliği */
    /*padding: 6px 12px;*/ /* İç boşluk */
    /*display: flex;
    align-items: center;*/ /* Dikey ortalama */
/*}

#timeoutModal .modal-content {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}*/


/* Close butonunu SVG ile kullanan stil */
/*.btn-close-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 4px;
    border: none;
    background: transparent;
    cursor: pointer;
    color: #856404;*/ /* normal renk (başlıkla uyumlu) */
    /*transition: color .15s ease, background-color .15s ease;
}*/

/* SVG stroke currentColor ile geldiği için renk inheritance çalışır */
/*.btn-close-icon svg {
    width: 18px;
    height: 18px;                   
    display: block;
    stroke: currentColor;
}*/

/* Hover: kırmızı yap (Bootstrap danger renk tonu) */
/*.btn-close-icon:hover,
.btn-close-icon:focus {
    color: #ffffff !important;*/                 /* icon rengi beyaz */
    /*background: rgba(40,167,69,0.12);*/          /* hafif yeşil arka plan (success) */
    /*outline: none;
    border-radius: 4px;
    transition: color .15s ease, background-color .15s ease;
}*/

/* SVG stroke direkt olarak beyaz yap (ek garanti) */
/*.btn-close-icon:hover svg,
.btn-close-icon:focus svg {
    stroke: #ffffff !important;
}*/

/* header içindeki img SVG boyutu ve responsive ayar */
/*.header-close-icon {
    width: 18px;
    height: 18px;
    display: block;         
}*/

/* hover / focus */
/*.btn-close-icon:hover,
.btn-close-icon:focus {
    color: #5f3f1a;
    outline: none;
    background: rgba(0,0,0,0.02);
    border-radius: 4px;
}*/

/* Diğer modal stilleri */
/*#timeoutModal #countdownText {
    font-size: 0.85rem;*/ /* uyarı metnini küçük göster */
    /*margin-bottom: 0.25rem;
}*/

/* Genel küçük metinler için modal içinde daha kompakt görünüm */
/*#timeoutModal .modal-body p.small {
    font-size: 0.82rem;
}*/

/* Progress bar görünümü */
/*#timeoutModal .progress {
    background-color: #f1f1f1;
}

#timeoutModal .progress-bar {
    background-color: #f0ad4e;
}*/

/* Buton boyutunu küçültme - Devam Et ve Kapat için */
/*#timeoutModal .modal-footer .btn,
#timeoutModal #keepAliveBtn,
#timeoutModal #forceLogoutBtn {
    font-size: 0.78rem;*/ /* daha küçük yazı */
    /*padding: 0.28rem 0.5rem;*/ /* daha ince padding */
    /*line-height: 1.1;
    min-width: 64px;*/ /* çok küçük olmasını engelle */
    /*height: auto;
}*/

/* Eğer Bootstrap .btn-sm sınıfı kullanılıyorsa hafif uyarlama */
/*#timeoutModal .modal-footer .btn.btn-sm {
    font-size: 0.75rem;
    padding: 0.22rem 0.45rem;
}*/

/* Mobilde daha okunaklı ve kompakt görünüm */
/*@media (max-width: 576px) {
    #timeoutModal .modal-content {
        font-size: 0.95rem;
    }

    #timeoutModal .modal-title {
        font-size: 0.75rem;
    }

    #timeoutModal #countdownText {
        font-size: 0.8rem;
    }

    #timeoutModal .modal-footer .btn,
    #timeoutModal #keepAliveBtn,
    #timeoutModal #forceLogoutBtn {
        font-size: 0.72rem;                                         
        padding: 0.2rem 0.4rem;                             
        min-width: 56px;
    }

    .btn-close-icon {
        width: 30px;
        height: 30px;
        padding: 3px;
    }

    .header-close-icon {
        width: 16px;
        height: 16px;
    }
}*/

/* External close button image */
/*.external-close-btn {
    position: fixed;
    top: 12px;
    right: 12px;
    z-index: 1085;
    width: 40px;
    height: 40px;
    padding: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.95);
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.external-close-btn .external-close-icon {
    width: 18px;
    height: 18px;
    display: block;
    color: #856404;*/ /* svg stroke uses currentColor */
    /*filter: none;
}*/

/* ensure svg inherits color */
/*.external-close-btn svg { width: 18px; height: 18px; display:block; }*/

/* Hover/focus */
/*.external-close-btn:hover,
.external-close-btn:focus {
    background: #fff;
    color: #5f3f1a;
    outline: none;
}*/

/* Küçültme mobilde */
/*@media (max-width: 576px) {
    .external-close-btn { top: 8px; right: 8px; width: 34px; height: 34px; }
    .external-close-btn svg { width: 16px; height: 16px; }
}*/

/* Hover — başlıktaki close butonunun arka planı kırmızı ve ikon beyaz olsun.
   Daha spesifik selector ile mevcut kuralları override ediyoruz. */
/*#timeoutModal .modal-header .btn-close-icon:hover,
#timeoutModal .modal-header .btn-close-icon:focus {
    color: #ffffff !important;*/                       /* ikon beyaz */
    /*background: #dc3545 !important;*/                  /* Bootstrap danger (kırmızı) */
    /*box-shadow: 0 2px 6px rgba(220,53,69,0.18);
    outline: none;
    border-radius: 4px;
    transition: color .15s ease, background-color .15s ease;
}

#timeoutModal .modal-header .btn-close-icon:hover svg,
#timeoutModal .modal-header .btn-close-icon:focus svg {
    stroke: #ffffff !important;*/                      /* svg çizgileri beyaz */
/*}*/






/* ===== PREMIUM MODAL CONTAINER ===== */
#timeoutModal .modal-content {
    border-radius: 14px;
    overflow: hidden;
    border: none;
    box-shadow: 0 15px 40px rgba(0,0,0,0.18);
    backdrop-filter: blur(6px);
}

/* ===== HEADER ===== */
#timeoutModal .modal-header {
    background: linear-gradient(135deg, #fd7e14, #ff9f43);
    color: #fff;
    padding: 10px 16px;
    border-bottom: none;
    min-height: 52px;
    display: flex;
    align-items: center;
}

/* Başlık */
#timeoutModal .modal-title {
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.3px;
}

/* ===== BODY ===== */
#timeoutModal .modal-body {
    padding: 20px;
    background: #ffffff;
}

/* Uyarı metni */
#timeoutModal #countdownText {
    font-size: 0.9rem;
    font-weight: 500;
    color: #444;
}

/* ===== PREMIUM PROGRESS ===== */
#timeoutModal .progress {
    height: 7px;
    border-radius: 50px;
    background: #f1f3f5;
    overflow: hidden;
}

#timeoutModal .progress-bar {
    background: linear-gradient(90deg, #fd7e14, #ffb066);
    transition: width .6s ease;
}

/* ===== FOOTER ===== */
#timeoutModal .modal-footer {
    border-top: none;
    padding: 14px 18px;
    background: #fafafa;
}

/* ===== PREMIUM BUTTONS ===== */
#timeoutModal .btn {
    border-radius: 8px;
    font-size: 0.85rem;
    padding: 6px 14px;
    font-weight: 500;
    transition: all .2s ease;
}

/* Devam Et Butonu */
#keepAliveBtn {
    background: linear-gradient(135deg, #28a745, #5dd879);
    border: none;
    color: #fff;
    box-shadow: 0 3px 10px rgba(40,167,69,0.25);
}

    #keepAliveBtn:hover {
        transform: translateY(-1px);
        box-shadow: 0 5px 14px rgba(40,167,69,0.35);
    }

/* Çıkış Butonu */
#forceLogoutBtn {
    background: #f1f3f5;
    border: none;
    color: #444;
}

    #forceLogoutBtn:hover {
        background: #e9ecef;
    }

/* ===== PREMIUM CLOSE BUTTON ===== */
.btn-close-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    /*background-color: #5dd879;*/ /* aÇIK YEŞİL arka plan */
    background-color: #fd7e14;
    color: #ffffff; /* Beyaz ikon */

    transition: all .2s ease;
}

    .btn-close-icon:hover {
        background: rgba(255,255,255,0.2);
        transform: rotate(90deg);
    }

/* ===== MODAL OPEN ANIMATION ===== */
#timeoutModal .modal-dialog {
    animation: modalFade .35s ease;
}

@keyframes modalFade {
    from {
        transform: translateY(25px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* ===== MOBILE OPTIMIZATION ===== */
@media (max-width: 576px) {

    #timeoutModal .modal-content {
        border-radius: 12px;
    }

    #timeoutModal .modal-title {
        font-size: 0.85rem;
    }

    #timeoutModal .btn {
        font-size: 0.8rem;
        padding: 5px 12px;
    }
}





