﻿/* -------------------------------------------------------------------------- */
/* 1. TEMEL HTML, BODY VE ARKAPLAN YAPISI                                     */
/* -------------------------------------------------------------------------- */
html:not(.MSRS-RVC *),
body:not(.MSRS-RVC *) { /* Varsayılan baz boyut. Skin devreye girince bu ezilir. */ font-size: 14px; height: 100%; min-height: 100vh; margin: 0; padding: 0; color: #000; }

/* Base Font Size Reset */
body:not(.MSRS-RVC *) { font-size: 13px; }

body.body-menu,
body.body-nomenu { background-color: #f4f6f9 !important; background-image: url('/public/bg-page.svg') !important; background-repeat: no-repeat !important; background-position: center bottom !important; background-size: cover !important; background-attachment: fixed !important; }

/* ReportViewer Reset */
.MSRS-RVC *,
.MSRS-RVC table,
.MSRS-RVC div { line-height: normal !important; }

body:nth-of-type(1) img[src*="Blank.gif"] { display: none; }

/* -------------------------------------------------------------------------- */
/* 2. TELERIK SKIN FONT-SIZE AYARLARI (PX SADECE BURADA İZİNLİ)               */
/* -------------------------------------------------------------------------- */
/* Bu bölüm "Ankraj" noktasıdır. Diğer her şey buradaki px değerine göre oranlanır. */

body.Skin-MetroTouch, body.Skin-BlackMetroTouch { font-size: 15px !important; }
body.Skin-Bootstrap, body.Skin-Material, body.Skin-MaterialBlack, body.Skin-MaterialTeal, body.Skin-Fluent, body.Skin-FluentDark { font-size: 14px !important; }
body.Skin-Silk, body.Skin-Glow, body.Skin-Metro, body.Skin-Office2010Blue, body.Skin-Office2010Silver, body.Skin-Office2010Black { font-size: 13px !important; }
body.Skin-Default, body.Skin-Outlook, body.Skin-Windows7, body.Skin-Vista, body.Skin-WebBlue, body.Skin-Web20, body.Skin-Sunset, body.Skin-Telerik, body.Skin-Forest, body.Skin-Hay, body.Skin-Office2007, body.Skin-Black { font-size: 12px !important; }

/* -------------------------------------------------------------------------- */
/* 3. YARDIMCI SINIFLAR (UTILITIES - ORANSAL)                                 */
/* -------------------------------------------------------------------------- */
/* Boyutlandırma (Tamamen % bazlı) */
.xx-large { font-size: 350% !important; letter-spacing: 0.5em; }
/* 500% çok büyüktü, oranladım */
.x-large { font-size: 150% !important; }
.large { font-size: 125% !important; }
.medium { font-size: 110% !important; }
.normal { font-size: 100% !important; }
.small { font-size: 90% !important; }
.x-small { font-size: 80% !important; }

/* Biçimlendirme */
.bold { font-weight: bold !important; }
.italic { font-style: italic !important; }
.underline { text-decoration: underline !important; }
.no-underline { text-decoration: none !important; }
.nowrap { white-space: nowrap; }

/* Hizalama */
.text-inherit { color: inherit !important; }
.left-text { text-align: left !important; }
.center-text { text-align: center !important; }
.right-text { text-align: right !important; }

/* Renkler */
.light, .light a { color: #ffffff !important; text-decoration: none; }
.white { color: #ffffff !important; }
.dark { color: #000000 !important; }
.grey { color: #666666 !important; }
.red { color: #ff0000 !important; }
.blueLink { color: #0000cc !important; }

/* Arka Planlar */
.bg-White { background-color: #fff !important; }
.bg-Light { background-color: #f8f9fa !important; color: #333 !important; border: 1px solid #dee2e6; }

/* Tema Renkleri */
.theme-bg-secondary { background-color: var(--theme-secondary) !important; color: var(--theme-text-on-secondary) !important; filter: saturate(0.7); }
.theme-bg-primary { background: var(--theme-primary); color: var(--theme-text-on-primary) !important; filter: saturate(0.7); }
    .theme-bg-primary a, .theme-bg-secondary a { color: inherit !important; }
        .theme-bg-primary a:hover, .theme-bg-secondary a:hover { opacity: 0.8; }

/* -------------------------------------------------------------------------- */
/* 4. FONT AWESOME ENTEGRASYONU                                               */
/* -------------------------------------------------------------------------- */
.fa, .fa-solid, .fa-regular, .fa-light, .fa-thin, .fa-duotone, .fa-brands, [class^="fa-"], [class*=" fa-"] { font-family: "Font Awesome 7 Free", "Font Awesome 7 Brands" !important; font-weight: 900 !important; font-style: normal !important; font-variant: normal !important; text-rendering: auto; line-height: 1 !important; }

/* -------------------------------------------------------------------------- */
/* 5. MENÜ VE TOOLBAR YAPISI                                                  */
/* -------------------------------------------------------------------------- */
/* RadToolBar */
.RadToolBar.main-menu-bar { background: transparent !important; border: none !important; }
    .RadToolBar.main-menu-bar .rtbUL { display: flex !important; align-items: center !important; width: 100% !important; }
    .RadToolBar.main-menu-bar .rtbItem { display: inline-flex !important; height: 100% !important; margin-right: 4px !important; }
    .RadToolBar.main-menu-bar .RadButton, .RadToolBar.main-menu-bar .rtbBtn { background: transparent !important; border: none !important; box-shadow: none !important; margin: 0 !important; padding: 0 !important; }
        .RadToolBar.main-menu-bar .RadButton .rbText { display: flex !important; align-items: center !important; justify-content: center !important; width: 100% !important; height: 100% !important; }

/* DropDown */
.RadToolBarDropDown .rtbGroup { min-width: 180px !important; background-image: none !important; background-color: inherit !important; padding: 0 !important; }
    .RadToolBarDropDown .rtbGroup .rtbItem { padding: 0 !important; margin: 0 !important; list-style: none !important; background-image: none !important; }
    .RadToolBarDropDown .rtbGroup .rtbBtn { padding: 0.6em 1em !important; width: 100% !important; display: flex !important; align-items: center !important; text-align: left !important; background: transparent !important; text-decoration: none !important; }
    .RadToolBarDropDown .rtbGroup .rtbItem:hover .rtbBtn { background-color: rgba(128, 128, 128, 0.15) !important; }
    .RadToolBarDropDown .rtbGroup .rtbBtn .rtbImage, .RadToolBarDropDown .rtbGroup .rtbBtn img { display: none !important; }
.RadToolBarDropDown .skin-thumb .rtbImage, .RadToolBarDropDown .skin-thumb img { display: inline-block !important; width: 1.2em !important; height: 1.2em !important; margin-right: 0.5em !important; vertical-align: middle !important; }
.RadToolBarDropDown .rtbGroup .fa { width: 1.5em !important; text-align: center !important; margin-right: 0.5em !important; color: inherit !important; opacity: 0.8; }
.RadToolBarDropDown .rtbGroup .rtbText { flex-grow: 1 !important; color: inherit !important; white-space: nowrap !important; padding: 0 !important; margin: 0 !important; }

/* RadNavigation */
.RadNavigation { height: 38px !important; min-height: 38px !important; width: 100% !important; display: block !important; }
    .RadNavigation .rnvRootGroup, .RadNavigation .rnvUL { height: 38px !important; margin: 0 !important; padding: 0 !important; display: block !important; list-style: none !important; width: 100% !important; }
    .RadNavigation .rnvItem { height: 38px !important; border-right: 1px solid rgba(0,0,0,0.05) !important; float: left !important; display: block !important; }
        .RadNavigation .rnvItem .rnvLink { height: 38px !important; padding: 0 10px !important; display: flex !important; align-items: center !important; justify-content: center !important; text-decoration: none !important; color: #444 !important; cursor: pointer !important; }
            .RadNavigation .rnvItem .rnvLink:hover { background-color: rgba(0,0,0,0.04) !important; color: #000 !important; }
    .RadNavigation .rnvMoreEntry, .RadNavigation .rnvMore { height: 38px !important; width: 40px !important; padding: 0 !important; margin: 0 !important; float: right !important; display: block !important; border-left: 1px solid rgba(0,0,0,0.05) !important; position: relative !important; }
        .RadNavigation .rnvMoreEntry .rnvLink, .RadNavigation .rnvMore .rnvLink { width: 100% !important; height: 100% !important; padding: 0 !important; display: flex !important; align-items: center !important; justify-content: center !important; background: transparent !important; }
        .RadNavigation .rnvMoreEntry:hover .rnvLink, .RadNavigation .rnvMore:hover .rnvLink { background-color: rgba(0,0,0,0.04) !important; }
        .RadNavigation .rnvMoreEntry .rnvText, .RadNavigation .rnvMore .rnvText { display: block !important; float: none !important; margin: 0 !important; padding: 0 !important; line-height: 1 !important; vertical-align: middle !important; }
    .RadNavigation .rvnImage { margin-right: 0.4em !important; display: block !important; vertical-align: middle !important; }
    .RadNavigation .rnvText { font-weight: 600 !important; white-space: nowrap !important; }
    .RadNavigation .rnvToggle { margin-left: 4px !important; display: flex !important; align-items: center !important; }

/* 1. Tüm İkonlar (Öncelikle Ana Menü boyutunu ve opaklığını sabitliyoruz) */
.rtv-item-wrapper > i.fa { opacity: 0.9; font-size: 1.1em !important; transition: opacity 0.2s ease-in-out; /* Hover için yumuşak geçiş */ }

/* 2. SADECE Alt Menü İkonları (İç içe geçmiş rtUL seçicisi ile yakalıyoruz) */
.rtUL .rtUL .rtv-item-wrapper > i.fa { opacity: 0.5; font-size: 0.85em !important; }

/* 3. Hover (Üzerine gelince belirginleşme efekti) */
.rtv-item-wrapper:hover > i.fa { opacity: 1; }

/* Menü arama vurgusu (Temaya duyarlı, yumuşak geçişli) */
.menu-highlight { background-color: rgba(255, 193, 7, 0.4) !important; /* Yumuşak vurgu */ color: inherit !important; font-weight: bold; padding: 0px !important; /* Boşluk koymaması için 0px yapıldı */ margin: 0px !important; border-radius: 2px; }

.rtv-link, .rnvLink { color: inherit !important; display: block; width: 100%; }
/* Linklerin altındaki ikon ve metin tıklamayı engellememeli, sadece görsel wrapper olmalı */
.rtv-item-wrapper { display: flex; align-items: center; pointer-events: auto !important; /* Tarayıcının linki görmesi için auto olmalı */ }

/* -------------------------------------------------------------------------- */
/* 6. GENEL FORMLAR VE INPUTLAR                                               */
/* -------------------------------------------------------------------------- */
.fluid-form .RadInput, .fluid-form .RadPicker, .fluid-form .RadComboBox, .fluid-form .RadDropDownList { width: 100% !important; display: block !important; }
.fluid-form .riTextBox, .fluid-form input[type="text"], .fluid-form input[type="password"] { box-sizing: border-box !important; }
.fluid-form .RadButton { display: block !important; width: 100% !important; margin-bottom: 8px !important; box-shadow: 0 2px 3px rgba(0,0,0,0.08) !important; }

/* Arama Kutusu: Height px kalabilir ama font size inherit olmalı */
.menu-search-sm.riTextBox { height: 2.2em !important; border: 1px solid #ced4da !important; width: 100% !important; background-color: #f8f9fa !important; padding: 0.15em 0.8em !important; }
    .menu-search-sm.riTextBox:focus { border-color: #80bdff !important; background-color: #fff !important; box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25) !important; }
.search-highlight { background-color: #fff3cd !important; color: #d63384 !important; font-weight: bold !important; border-radius: 2px; padding: 0 2px; box-shadow: 0 0 2px rgba(0,0,0,0.1); }

/* -------------------------------------------------------------------------- */
/* 7. DİĞER KONTROLLER VE BİLEŞENLER                                          */
/* -------------------------------------------------------------------------- */
/* RadGrid */
.RadGrid table caption { caption-side: top !important; text-align: left !important; font-weight: bold !important; }
.RadGrid .rgCommandTable caption { padding: 0 !important; }

/* RadNotification */
.RadNotification .rnContentWrapper, .RadNotification .rnContent { padding: 0 !important; margin: 0 !important; width: 100% !important; border: none !important; background: transparent !important; }
.RadNotification table td { padding: 0 !important; }

/* RadWindow */
.RadWindow .rwIcon { display: none !important; }

/* Action Bar & Cards */
.action-bar { display: flex !important; align-items: center !important; flex-wrap: wrap !important; gap: 10px !important; background-color: #ffffff !important; border: 1px solid #e2e8f0 !important; border-left: 4px solid #Renk !important; box-shadow: 0 1px 3px rgba(0,0,0,0.08) !important; padding: 8px 15px !important; margin-bottom: 5px !important; border-radius: 4px !important; }
.card-importance-1 { border-left: 5px solid #0dcaf0 !important; }
.card-importance-2 { border-left: 5px solid #198754 !important; }
.card-importance-3 { border-left: 5px solid #ffc107 !important; }
.card-importance-4 { border-left: 5px solid #dc3545 !important; }

/* TreeView */
.node-disabled { color: #999 !important; pointer-events: none; cursor: default !important; }
#navigation.menu-kapali { display: none !important; }

/* Confirm Penceresi İçeriği */
.radconfirm-modern { height: 100%; display: flex; flex-direction: column; justify-content: center; box-sizing: border-box; }

/* Telerik Window Scrollbar Engelleme */
.RadWindow .rwWindowContent { overflow: hidden !important; }

/* 1. Resmin blok özelliğini kaldırıp yanına eleman gelmesine izin veriyoruz */
.buttonCaptcha img[id*="CaptchaImage"] { display: inline-block !important; vertical-align: middle !important; margin: 0 !important; }

/* 2. Input'u saran <p> etiketinin tüm satırı kaplamasını engelliyoruz */
.buttonCaptcha p { display: inline-block !important; margin: 0 !important; padding: 0 !important; vertical-align: middle !important; }

/* 3. Resim ve input'un içinde bulunduğu paneli flex yaparak hizalıyoruz */
.buttonCaptcha div[id*="SpamProtectorPanel"] { display: inline-flex !important; align-items: center !important; gap: 5px !important; /* Resim ile kutu arasındaki boşluk */ }

/* 4. Input'un kendi stilini netleştiriyoruz */
.buttonCaptcha input[id*="CaptchaTextBox"] { display: inline-block !important; margin: 0 !important; }

/* -------------------------------------------------------------------------- */
/* 8. TOOLTIP AYARLARI                                                        */
/* -------------------------------------------------------------------------- */
.RadToolTip:not(.ttTopMenu) .rtWrapper,
.RadToolTip:not(.ttTopMenu) .rtWrapperContent { background-color: #ffffff !important; border: 1px solid #ced4da !important; box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important; color: #212529 !important; border-radius: 4px !important; padding: 0.6em 0.9em !important; }
.RadToolTip:not(.ttTopMenu) .rtCallout { background-image: none !important; }

.RadToolTip.ttTopMenu,
.RadToolTip.ttTopMenu .rtWrapper,
.RadToolTip.ttTopMenu .rtWrapperContent,
.RadToolTip.ttTopMenu table.rtWrapper,
.RadToolTip.ttTopMenu tr,
.RadToolTip.ttTopMenu td { background-color: transparent !important; background-image: none !important; border: none !important; box-shadow: none !important; padding: 0 !important; }
    .RadToolTip.ttTopMenu .rtCallout { display: none !important; }
    .RadToolTip.ttTopMenu .chooseAppTabTextMain,
    .RadToolTip.ttTopMenu .chooseAppTabTextSub { color: #ffffff !important; text-shadow: 0 1px 2px rgba(0,0,0,0.3); }

.chooseAppTabToolTipImg { border-radius: 4px !important; box-shadow: 0 4px 15px rgba(0,0,0,0.2) !important; padding: 10px !important; }

/* -------------------------------------------------------------------------- */
/* 9. MODERN LOGIN VE FORM YAPISI (GENERIC - ORANSAL)                         */
/* -------------------------------------------------------------------------- */
/* Kapsayıcı */
.form-icon-group { display: flex; align-items: center; background-color: #ffffff; border: 1px solid #ced4da; border-radius: 0.25rem; padding: 0; transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; overflow: hidden; position: relative; }

    .form-icon-group:focus-within { border-color: #86b7fe; box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25); z-index: 1; }

/* İkon Alanı */
.form-icon-addon { display: flex; align-items: center; justify-content: center; padding: 0.5em 0.75em; background-color: #f8f9fa; color: #6c757d; border-right: 1px solid #ced4da; min-width: 3em; }

.form-icon-group:focus-within .form-icon-addon { color: #0d6efd; background-color: #e9ecef; }

/* Telerik Input Reset (REM yerine EM kullanarak Body Skin boyutuna uyduruldu) */
.form-icon-group .riTextBox.RadInput_MetroTouch,
.form-icon-group .riTextBox,
.form-icon-group .RadInput { border: none !important; background: transparent !important; box-shadow: none !important; margin: 0 !important; padding: 0.3em 0.6em !important; height: auto !important; flex-grow: 1; /* ÖNEMLİ DEĞİŞİKLİK: 1rem yerine 1em. Böylece Body'deki 12px-15px ayarına uyar. */ font-size: 1em !important; color: #212529 !important; }

/* -------------------------------------------------------------------------- */
/* 10. LOGIN EKRANI BİLEŞENLERİ (VALIDATOR & CAPTCHA - ORANSAL)               */
/* -------------------------------------------------------------------------- */
/* Header Row */
.login-header-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.3em; min-height: 1.8em; }

/* Validator (PX yerine EM) */
.login-validator { color: #ffcccc !important; /* ÖNEMLİ DEĞİŞİKLİK: 11px yerine 0.85em (%85) */ font-size: 0.85em !important; font-weight: 600 !important; letter-spacing: 0.05em; background-color: rgba(255, 0, 0, 0.15); padding: 0.15em 0.6em; border-radius: 4px; animation: fadeIn 0.3s ease-in-out; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(0.4em); }
    to { opacity: 1; transform: translateY(0); }
}

/* Captcha Wrapper */
.captcha-wrapper { margin: 0 !important; padding: 0 !important; min-height: 0; }

/* Footer Links */
.login-footer-links { display: flex; justify-content: center; gap: 1em; font-size: 90%; /* % olarak küçültüldü */ }

    .login-footer-links a { color: #6c757d; text-decoration: none; font-weight: 500; transition: color 0.2s ease; display: flex; align-items: center; }

    .login-footer-links span.divider { color: #dee2e6; }

