*{box-sizing:border-box}body{margin:0;font-family:'Segoe UI',Arial,Helvetica,sans-serif;background:#eef2f7;color:#172033;font-size:14px}a{color:inherit}.login-page{min-height:100vh;display:flex;background:linear-gradient(135deg,#12284c 0%,#1f5fbf 55%,#f4f7fb 55%)}.login-hero{flex:1;color:#fff;padding:70px 55px}.login-hero h1{font-size:38px;margin:0 0 14px}.login-hero p{font-size:17px;line-height:1.6;opacity:.9;max-width:520px}.login-wrap{width:410px;margin:auto 8% auto auto;background:#fff;padding:34px;border-radius:20px;box-shadow:0 25px 60px rgba(15,23,42,.25)}.login-wrap h2{margin:0 0 6px;color:#12284c}.login-wrap label,.form label{display:block;font-weight:600;margin:0 0 6px;color:#3b4658}input[type=text],input[type=password],input[type=email],input[type=number],input[type=date],select,textarea{width:100%;padding:11px 12px;border:1px solid #d5dce8;border-radius:10px;font-size:14px;background:#fff}input[type=text]:focus,input[type=password]:focus,input[type=email]:focus,input[type=number]:focus,input[type=date]:focus,select:focus,textarea:focus{outline:none;border-color:#1f5fbf;box-shadow:0 0 0 3px rgba(31,95,191,.12)}.btn{background:#1f5fbf;color:#fff;border:0;border-radius:10px;padding:10px 16px;cursor:pointer;text-decoration:none;display:inline-block;font-weight:600}.btn:hover{filter:brightness(.95)}.btn.gray{background:#64748b}.btn.green{background:#16a34a}.btn.red{background:#dc2626}.btn.light{background:#eef2f7;color:#172033}.app{display:flex;min-height:100vh}.sidebar{width:270px;background:#101b33;color:#dbeafe;display:flex;flex-direction:column;position:fixed;top:0;bottom:0;left:0}.brand{height:74px;display:flex;align-items:center;padding:0 22px;border-bottom:1px solid rgba(255,255,255,.08)}.brand-logo{width:42px;height:42px;border-radius:14px;background:linear-gradient(135deg,#38bdf8,#2563eb);display:flex;align-items:center;justify-content:center;font-size:22px;margin-right:12px}.brand-title{font-weight:700;font-size:16px}.brand-sub{font-size:12px;opacity:.75}.nav{padding:14px}.nav a{display:flex;align-items:center;gap:10px;color:#dbeafe;text-decoration:none;padding:12px 14px;border-radius:12px;margin-bottom:6px}.nav a:hover,.nav a.active{background:rgba(59,130,246,.25);color:#fff}.main{margin-left:270px;flex:1;min-height:100vh}.topbar{height:74px;background:#fff;border-bottom:1px solid #e5eaf2;display:flex;align-items:center;padding:0 26px;position:sticky;top:0;z-index:5}.page-title{font-size:22px;font-weight:700;color:#172033}.topbar-actions{margin-left:auto;display:flex;align-items:center;gap:10px}.content{padding:26px}.card{background:#fff;border:1px solid #e6ebf3;border-radius:18px;padding:20px;margin-bottom:20px;box-shadow:0 10px 25px rgba(15,23,42,.04)}.card h3{margin:0 0 14px;color:#172033}.stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-bottom:20px}.stat{background:#fff;border-radius:18px;padding:20px;border:1px solid #e6ebf3;box-shadow:0 10px 25px rgba(15,23,42,.04);position:relative;overflow:hidden}.stat:after{content:'';position:absolute;right:-25px;top:-25px;width:90px;height:90px;border-radius:50%;background:#e0edff}.stat .label{color:#64748b;font-weight:600}.stat b{display:block;font-size:28px;margin-top:8px;color:#12284c}.stat small{color:#64748b}.stat.green:after{background:#dcfce7}.stat.orange:after{background:#ffedd5}.stat.red:after{background:#fee2e2}.formgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.filtergrid{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;align-items:end}.tabs{display:flex;gap:8px;border-bottom:1px solid #e5eaf2;margin-bottom:18px;flex-wrap:wrap}.tabs a{padding:11px 15px;background:#f3f6fa;border:1px solid #e5eaf2;border-bottom:0;border-radius:12px 12px 0 0;text-decoration:none;color:#334155;font-weight:600}.tabs a:hover{background:#fff;color:#1f5fbf}.table-wrap{width:100%;overflow:auto}.table{width:100%;border-collapse:separate;border-spacing:0;background:#fff}.table th,.table td{border-bottom:1px solid #edf1f6;padding:11px;text-align:left;vertical-align:middle}.table th{background:#f8fafc;color:#475569;font-weight:700;position:sticky;top:0}.table tr:hover td{background:#fbfdff}.badge{display:inline-block;padding:5px 10px;border-radius:999px;font-weight:700;font-size:12px;background:#e2e8f0;color:#334155}.badge.green{background:#dcfce7;color:#166534}.badge.blue{background:#dbeafe;color:#1e40af}.badge.red{background:#fee2e2;color:#991b1b}.badge.orange{background:#ffedd5;color:#9a3412}.muted{color:#64748b}.quick{display:grid;grid-template-columns:2fr 1fr;gap:20px}.progress{height:10px;background:#edf2f7;border-radius:999px;overflow:hidden}.progress span{display:block;height:100%;background:#1f5fbf}.footer-brand{position:fixed;right:18px;bottom:10px;font-family:'Bookman Old Style';font-weight:bold;z-index:9}.footer-brand a{color:#12284c;text-decoration:none;background:#fff;border:1px solid #e6ebf3;border-radius:10px;padding:6px 10px;box-shadow:0 6px 18px rgba(15,23,42,.08)}@media(max-width:1100px){.stat-grid{grid-template-columns:repeat(2,1fr)}.filtergrid,.formgrid{grid-template-columns:repeat(2,1fr)}.quick{grid-template-columns:1fr}}@media(max-width:760px){.sidebar{position:static;width:100%;min-height:auto}.app{display:block}.main{margin-left:0}.stat-grid,.filtergrid,.formgrid{grid-template-columns:1fr}.login-page{display:block}.login-wrap{width:auto;margin:30px}.login-hero{padding:40px 30px}}
.tab-content{display:none}.tab-content.active{display:block}.property-tabs .tab-link.active{background:#fff;color:#1f5fbf;border-color:#cfe0ff;box-shadow:0 -2px 0 #1f5fbf inset}.property-tabs{position:sticky;top:74px;background:#eef2f7;z-index:4;padding-top:5px}


.inline-select-action{display:flex;gap:8px;align-items:center}.inline-select-action select{flex:1}.btn-mini{white-space:nowrap;padding:10px 12px}.modal-backdrop{position:fixed;left:0;right:0;top:0;bottom:0;background:rgba(15,23,42,.55);z-index:50;align-items:center;justify-content:center;padding:18px}.modal-card{width:min(760px,96vw);background:#fff;border-radius:18px;border:1px solid #e6ebf3;box-shadow:0 25px 70px rgba(15,23,42,.35);padding:20px}.modal-head{display:flex;align-items:center;border-bottom:1px solid #e6ebf3;margin:-4px -4px 16px;padding:0 0 12px}.modal-head h3{margin:0;color:#172033}.modal-close{margin-left:auto;border:0;background:#eef2f7;border-radius:10px;width:36px;height:36px;font-size:24px;line-height:30px;cursor:pointer}.modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:14px}.modal-message{display:block;margin-top:8px;color:#dc2626;font-weight:600}
.section-title-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.section-title-row h3,.section-title-row h4{margin:0}.btn-small{padding:7px 10px;border-radius:8px;font-size:12px;line-height:1.2}.sub-card{background:#f8fafc;border:1px solid #e6ebf3;border-radius:16px;padding:16px;margin-top:18px}.table .btn-small{margin-right:4px;margin-bottom:4px}

/* V1.7: Butonlar sadece yazı kadar genişlikte kalsın. */
.btn{width:auto!important;min-width:0!important;max-width:max-content;white-space:nowrap;vertical-align:middle}
input.btn,button.btn,a.btn{width:auto!important}
.section-title-row{align-items:center}.section-title-row .btn{flex:0 0 auto}.section-title-row h3,.section-title-row h4{flex:1 1 auto}
.form-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.btn.orange{background:#f97316}

.filter-actions{display:flex;gap:8px;align-items:flex-end;flex-wrap:wrap}
.dashboard-date-filter{grid-template-columns:280px 280px auto!important}
@media(max-width:760px){.dashboard-date-filter{grid-template-columns:1fr!important}.filter-actions{align-items:center}}
.inline-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.small-select{height:42px;border:1px solid #d7e0ed;border-radius:10px;padding:0 12px;min-width:260px;background:#fff}
@media(max-width:768px){.inline-actions{justify-content:flex-start}.small-select{width:100%;min-width:0}}
.btn.small{padding:7px 10px;border-radius:8px;font-size:12px;line-height:1.2}
.btn.danger{background:#dc2626;color:#fff}
.section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}
.actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:14px}
input[type=file]{width:100%;padding:9px 12px;border:1px solid #d5dce8;border-radius:10px;background:#fff}
.alert{padding:10px 12px;border-radius:10px;margin:10px 0;font-weight:600}.alert.success{background:#dcfce7;color:#166534;border:1px solid #bbf7d0}.alert.error{background:#fee2e2;color:#991b1b;border:1px solid #fecaca}
.form-grid.one{display:grid;grid-template-columns:1fr;gap:14px}

.settings-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:12px}
.toggle-row{display:flex;align-items:center;justify-content:space-between;border:1px solid #e5e7eb;border-radius:12px;padding:12px 14px;background:#fff;font-weight:600}
.toggle-row input{width:22px;height:22px}
.modal-card.wide{max-width:760px}
.property-choice-list{display:grid;gap:10px;margin-top:12px}
.property-choice-item{display:flex;justify-content:space-between;gap:12px;align-items:center;border:1px solid #e5e7eb;border-radius:12px;padding:12px;background:#fff}

/* V1.32: Liste işlem butonları açılır menü içinde, her zaman üstte görünür. */
.table-wrap-actions{overflow:visible!important}
.table td:last-child,.table th:last-child{white-space:nowrap;min-width:120px}
.action-menu{position:relative;display:inline-block;z-index:20}
.action-menu-toggle{cursor:pointer}
.action-menu-panel{display:none;position:absolute;right:0;top:calc(100% + 6px);min-width:150px;background:#fff;border:1px solid #dbe3ef;border-radius:12px;box-shadow:0 18px 40px rgba(15,23,42,.18);padding:6px;z-index:9999}
.action-menu:hover .action-menu-panel,.action-menu:focus-within .action-menu-panel{display:block}
.action-menu-item{display:block;width:100%;padding:9px 11px;border-radius:9px;text-decoration:none;color:#172033;background:#fff;border:0;text-align:left;font-weight:600;cursor:pointer;font-family:inherit;font-size:14px}
.action-menu-item:hover{background:#eef2f7}
.action-menu-item.danger{color:#b91c1c}
.action-menu-item.danger:hover{background:#fee2e2}
.current-file{display:block;margin-top:6px;color:#64748b;font-size:12px}


/* V1.33 - İşlemler menüsü üst katman düzeltmesi */
.card, .table-wrap, .table-wrap-actions { overflow: visible !important; }
.table td { position: relative; }
.action-menu { position: relative; display: inline-block; z-index: 1; }
.action-menu:hover, .action-menu:focus-within { z-index: 2147483000; }
.action-menu-panel { z-index: 2147483000 !important; }
.action-menu-panel { right: 0; left: auto; }
.table tr, .table td { overflow: visible !important; }

/* V1.36 profesyonel login ve kullanıcı uyarıları */
.login-pro-page{min-height:100vh;display:grid;grid-template-columns:1.2fr .8fr;background:linear-gradient(135deg,#0f172a 0%,#1e3a8a 45%,#f8fafc 45%,#f8fafc 100%);font-family:Arial,sans-serif}
.login-pro-left{color:#fff;padding:54px 64px;display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden}
.login-pro-left:before{content:"";position:absolute;right:-120px;top:-120px;width:360px;height:360px;border-radius:50%;background:rgba(255,255,255,.08)}
.login-pro-brand{display:flex;gap:16px;align-items:center;position:relative;z-index:1}
.login-pro-logo{width:58px;height:58px;border-radius:18px;background:#fff;color:#1e3a8a;display:flex;align-items:center;justify-content:center;font-size:34px;font-weight:bold;box-shadow:0 18px 40px rgba(0,0,0,.18)}
.login-pro-brand h1{margin:0;font-size:28px;letter-spacing:.2px}.login-pro-brand span{opacity:.85;font-size:14px}
.login-pro-content{position:relative;z-index:1;max-width:640px}.login-pro-content h2{font-size:42px;line-height:1.12;margin:0 0 18px}.login-pro-content p{font-size:17px;line-height:1.6;opacity:.9}
.login-feature-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:30px}.login-feature-grid div{background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.18);border-radius:16px;padding:18px;backdrop-filter:blur(6px)}.login-feature-grid b{display:block;margin-top:6px}.login-feature-grid small{display:block;opacity:.8;margin-top:4px}.login-pro-maker{position:relative;z-index:1;display:inline-flex;align-items:center;gap:8px;width:max-content;background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.28);border-radius:999px;padding:9px 15px;box-shadow:0 18px 45px rgba(15,23,42,.18);backdrop-filter:blur(10px)}.login-pro-maker:before{content:"✦";color:#bfdbfe;font-size:14px}.login-pro-maker a{color:#fff;font-weight:900;text-decoration:none;letter-spacing:.7px}
.login-pro-right{display:flex;align-items:center;justify-content:center;padding:40px}.login-pro-card{width:100%;max-width:420px;background:#fff;border-radius:24px;padding:34px;box-shadow:0 24px 80px rgba(15,23,42,.22);border:1px solid #e5e7eb}.login-card-head h3{font-size:25px;margin:0 0 8px;color:#0f172a}.login-card-head p{color:#64748b;margin:0 0 22px}.login-pro-card label{display:block;margin:16px 0 7px;font-weight:700;color:#334155}.login-pro-card .form-control{width:100%;box-sizing:border-box;border:1px solid #dbe3ef;border-radius:12px;padding:13px 14px;font-size:15px;background:#f8fafc}.login-btn{width:100%;margin-top:22px;padding:13px 16px;border-radius:12px;font-size:16px}.login-pro-footer{text-align:center;color:#94a3b8;font-size:12px;margin-top:22px}.default-pass-warning{background:#fff7ed;border:1px solid #fed7aa;color:#9a3412;border-radius:14px;padding:12px 16px;margin:0 0 14px;font-weight:600}.default-pass-warning a{color:#9a3412;text-decoration:underline}.btn.red{background:#dc2626;color:#fff;border-color:#dc2626}
@media(max-width:900px){.login-pro-page{grid-template-columns:1fr;background:#f8fafc}.login-pro-left{padding:34px 24px;background:linear-gradient(135deg,#0f172a,#1e3a8a)}.login-pro-content h2{font-size:30px}.login-feature-grid{grid-template-columns:1fr}.login-pro-right{padding:24px}}


/* V1.40 - Göz alıcı login ve temiz log özeti */
.login-pro-page{background:radial-gradient(circle at 15% 15%,rgba(56,189,248,.25),transparent 28%),radial-gradient(circle at 78% 20%,rgba(37,99,235,.20),transparent 24%),linear-gradient(135deg,#07111f 0%,#0f2a55 46%,#eaf1fb 46%,#f7fbff 100%)!important;position:relative;overflow:hidden}
.login-pro-left:after{content:"";position:absolute;left:80px;bottom:92px;width:260px;height:260px;border:1px solid rgba(255,255,255,.14);border-radius:44px;transform:rotate(18deg);background:rgba(255,255,255,.035)}
.login-pro-content h2{background:linear-gradient(90deg,#fff,#bfdbfe);-webkit-background-clip:text;background-clip:text;color:transparent;text-shadow:none}
.login-feature-grid div{box-shadow:0 12px 30px rgba(0,0,0,.12)}
.login-pro-right{position:relative}
.login-pro-right:before{content:"";position:absolute;width:420px;height:420px;border-radius:50%;background:linear-gradient(135deg,rgba(37,99,235,.15),rgba(14,165,233,.08));filter:blur(2px)}
.enhanced-login-card{position:relative;overflow:hidden;background:rgba(255,255,255,.92)!important;backdrop-filter:blur(14px);border:1px solid rgba(255,255,255,.75)!important;box-shadow:0 35px 90px rgba(15,23,42,.28)!important}
.enhanced-login-card:before{content:"";position:absolute;left:0;right:0;top:0;height:7px;background:linear-gradient(90deg,#2563eb,#06b6d4,#16a34a)}
.login-card-badge{position:absolute;right:22px;top:20px;background:#eff6ff;color:#1e40af;border:1px solid #bfdbfe;border-radius:999px;padding:7px 12px;font-weight:800;font-size:12px;letter-spacing:.4px}
.login-card-icon{width:64px;height:64px;border-radius:22px;background:linear-gradient(135deg,#2563eb,#06b6d4);color:#fff;display:flex;align-items:center;justify-content:center;font-size:30px;box-shadow:0 18px 38px rgba(37,99,235,.30);margin-bottom:18px}
.login-card-head h3{font-size:28px!important}.login-card-head p{font-size:14px;line-height:1.5}
.login-pro-card .form-control{background:#fff!important;border-color:#cbd5e1!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.8)}
.login-btn{background:linear-gradient(135deg,#1d4ed8,#2563eb)!important;box-shadow:0 14px 28px rgba(37,99,235,.25)}
.login-secure-row{display:flex;gap:8px;flex-wrap:wrap;justify-content:center;margin-top:16px;color:#475569;font-size:12px;font-weight:700}
.login-secure-row span{background:#f1f5f9;border:1px solid #e2e8f0;border-radius:999px;padding:7px 10px}
@media(max-width:900px){.login-pro-page{background:#f8fafc!important}.login-pro-right:before{display:none}}


/* V1.44 - Merkezi modal uyarı */
.app-alert-backdrop{position:fixed;inset:0;background:rgba(15,23,42,.55);z-index:99999;align-items:center;justify-content:center;padding:18px}
.app-alert-card{width:min(430px,94vw);background:#fff;border-radius:22px;border:1px solid #e5eaf2;box-shadow:0 30px 90px rgba(15,23,42,.35);padding:28px;text-align:center;animation:appAlertPop .16s ease-out}
.app-alert-card h3{margin:12px 0 8px;color:#0f172a;font-size:22px}.app-alert-message{font-size:16px;line-height:1.5;color:#334155;margin:0 0 20px;white-space:pre-wrap}.app-alert-icon{width:58px;height:58px;border-radius:50%;margin:0 auto;display:flex;align-items:center;justify-content:center;font-size:28px;font-weight:900;background:#dbeafe;color:#1d4ed8}.app-alert-icon.success{background:#dcfce7;color:#15803d}.app-alert-icon.error{background:#fee2e2;color:#b91c1c}.app-alert-icon.info{background:#dbeafe;color:#1d4ed8}@keyframes appAlertPop{from{transform:translateY(8px) scale(.98);opacity:.65}to{transform:translateY(0) scale(1);opacity:1}}


/* V1.45 - İçerik kaydırma, merkezi uyarı ve tablo taşma düzeltmeleri */
html,body{overflow-x:hidden!important;}
.main{width:calc(100% - 270px);max-width:calc(100% - 270px);overflow-x:hidden;}
.content{max-width:100%;overflow-x:hidden;}
.table-wrap{max-width:100%;overflow-x:auto;}
.log-table-wrap{overflow-x:auto!important;overflow-y:visible;max-width:100%;}
.log-table-wrap .table{min-width:1320px;table-layout:auto;}
.log-table-wrap td,.log-table-wrap th{white-space:nowrap;}
.log-table-wrap td:last-child{white-space:normal;min-width:420px;max-width:720px;}
@media(max-width:760px){.main{width:100%;max-width:100%;}}
/* Eski satır içi uyarıların altta görünmesini engelle */
.card > .alert, .content > .alert, span.alert, div.alert.inline-old{display:none!important;}

/* V1_46 modal onay standardı */
.confirm-actions{display:flex;gap:12px;justify-content:center;margin-top:18px;}
.confirm-card{max-width:420px;}
