:root{
    --edap-dark:#111827;
    --edap-navy:#10172a;
    --edap-red:#c20d19;
    --edap-red-dark:#960812;
    --edap-soft:#f5f7fb;
    --edap-border:#e6e9f0;
    --edap-muted:#64748b;
}
body{background:var(--edap-soft); color:#172033; font-feature-settings:"liga" 1;}
.navbar{position:sticky; top:0; z-index:1040; border-bottom:1px solid rgba(17,24,39,.07); backdrop-filter:blur(18px);}
.navbar .nav-link{border-radius:999px; padding:.55rem .85rem!important; transition:.18s ease;}
.navbar .nav-link:hover,.navbar .nav-link.active{background:#fff1f2; color:var(--edap-red)!important;}
.navbar-brand img{max-height:56px; object-fit:contain;}
.account-view{display:grid; grid-template-columns:300px 1fr; align-items:start; gap:24px; padding:0 18px 32px;}
.account-navigation{position:sticky; top:96px; border:1px solid var(--edap-border); box-shadow:0 18px 50px rgba(15,23,42,.08)!important;}
@media (max-width:767px){.account-view{display:block; padding:0 10px 28px;}}
.edap-workspace-tabs{display:flex; flex-wrap:wrap; gap:10px;}
.edap-workspace-tabs a{display:inline-flex; align-items:center; gap:6px; border:1px solid var(--edap-border); background:#fff; color:#1f2937; padding:10px 14px; border-radius:999px; font-weight:700; text-decoration:none; box-shadow:0 10px 24px rgba(15,23,42,.05);}
.edap-workspace-tabs a.active,.edap-workspace-tabs a:hover{background:linear-gradient(135deg,var(--edap-red),var(--edap-red-dark)); color:#fff; border-color:transparent;}
.edap-panel-hero{background:radial-gradient(circle at 15% 20%,rgba(255,255,255,.16),transparent 30%),linear-gradient(135deg,#0f172a,#1f2937 58%,#b30a16); color:#fff; border-radius:28px; padding:34px; display:flex; justify-content:space-between; gap:24px; box-shadow:0 28px 80px rgba(15,23,42,.22); overflow:hidden; position:relative;}
.edap-panel-hero h1{font-size:clamp(26px,3vw,44px); max-width:850px; line-height:1.08; margin:8px 0 12px; font-weight:900; letter-spacing:-.04em;}
.edap-panel-hero p{color:#dbe4f0; max-width:760px; margin:0; font-size:1.05rem;}
.edap-eyebrow{display:inline-flex; align-items:center; border:1px solid rgba(255,255,255,.25); background:rgba(255,255,255,.08); padding:8px 12px; border-radius:999px; color:#fff; font-weight:800; font-size:.8rem; letter-spacing:.06em; text-transform:uppercase;}
.edap-credit-card{min-width:220px; align-self:stretch; background:rgba(255,255,255,.11); border:1px solid rgba(255,255,255,.2); border-radius:22px; padding:20px; display:flex; flex-direction:column; justify-content:center; backdrop-filter:blur(10px);}
.edap-credit-card small{color:#cbd5e1; font-weight:700; text-transform:uppercase;}
.edap-credit-card strong{font-size:1.45rem; margin:6px 0;}
.edap-credit-card span{font-size:2rem; font-weight:900;}
@media(max-width:900px){.edap-panel-hero{flex-direction:column; padding:24px}.edap-credit-card{min-width:0}}
.edap-stat-card,.edap-card,.edap-pricing-card{background:#fff; border:1px solid var(--edap-border); border-radius:22px; box-shadow:0 18px 50px rgba(15,23,42,.07);}
.edap-stat-card{padding:20px; display:flex; flex-direction:column; gap:8px; min-height:140px;}
.edap-stat-card i{width:42px; height:42px; border-radius:14px; display:grid; place-items:center; background:#fff1f2; color:var(--edap-red);}
.edap-stat-card span{color:var(--edap-muted); font-weight:700;}
.edap-stat-card strong{font-size:2rem; line-height:1; color:var(--edap-dark);}
.edap-card{padding:24px;}
.edap-card h3,.edap-card h4{font-weight:900; color:var(--edap-dark); letter-spacing:-.02em;}
.edap-progress-row{display:grid; grid-template-columns:1fr auto; gap:8px; align-items:center; margin:13px 0;}
.edap-progress-row .progress{grid-column:1 / -1; height:9px; border-radius:999px; background:#eef2f7;}
.edap-progress-row .progress-bar{background:linear-gradient(90deg,var(--edap-red),#f97316); border-radius:999px;}
.edap-mini-item{display:flex; justify-content:space-between; gap:14px; border-top:1px solid var(--edap-border); padding:13px 0;}
.edap-mini-item:first-of-type{border-top:0;}
.edap-mini-item span{font-weight:800; color:var(--edap-red); white-space:nowrap;}
.edap-pricing-card{padding:26px; position:relative; overflow:hidden;}
.edap-pricing-card:before{content:""; position:absolute; inset:0 0 auto; height:5px; background:linear-gradient(90deg,var(--edap-red),#f97316);}
.edap-price{font-size:2rem; font-weight:900; color:var(--edap-dark); margin:14px 0;}
.edap-price small{font-size:.9rem; color:var(--edap-muted);}
.table thead th{font-size:.78rem; text-transform:uppercase; letter-spacing:.05em; color:#64748b; border-bottom:1px solid var(--edap-border);}
.table td{border-color:#edf0f5;}
.btn-danger{background:linear-gradient(135deg,var(--edap-red),var(--edap-red-dark)); border-color:var(--edap-red-dark); box-shadow:0 10px 24px rgba(194,13,25,.18);}
.btn-danger:hover{filter:brightness(.95);}
.form-control,.form-select{border-radius:12px; border-color:#dce2ea; min-height:44px;}
.form-control:focus,.form-select:focus{border-color:var(--edap-red); box-shadow:0 0 0 .2rem rgba(194,13,25,.12);}
.edap-home-hero{background:radial-gradient(circle at 82% 10%,rgba(194,13,25,.18),transparent 30%),linear-gradient(135deg,#0b1220 0%,#111827 55%,#2d1115 100%); min-height:680px; display:flex; align-items:center; color:#fff; position:relative; overflow:hidden;}
.edap-home-hero:after{content:""; position:absolute; right:-120px; bottom:-180px; width:560px; height:560px; border-radius:50%; background:rgba(194,13,25,.18); filter:blur(10px);}
.edap-home-hero .container{position:relative; z-index:1;}
.edap-home-hero h1{font-size:clamp(38px,6vw,78px); font-weight:950; line-height:.98; letter-spacing:-.06em; max-width:900px;}
.edap-home-hero p{font-size:1.25rem; color:#cbd5e1; max-width:720px; margin:22px 0 30px;}
.edap-hero-search{background:rgba(255,255,255,.1); border:1px solid rgba(255,255,255,.18); border-radius:24px; padding:14px; max-width:820px; display:flex; gap:10px; backdrop-filter:blur(16px);}
.edap-hero-search input{flex:1; border:0; border-radius:16px; padding:16px 18px;}
.edap-hero-search button{border-radius:16px; padding:0 28px;}
@media(max-width:768px){.edap-hero-search{flex-direction:column}.edap-home-hero{min-height:560px}.edap-home-hero h1{font-size:42px}}
.edap-feature-grid{display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:18px; margin-top:-70px; position:relative; z-index:3;}
.edap-feature{background:#fff; border:1px solid var(--edap-border); border-radius:24px; padding:26px; box-shadow:0 24px 80px rgba(15,23,42,.1);}
.edap-feature i{font-size:26px; color:var(--edap-red); margin-bottom:14px;}
.edap-feature h3{font-size:1.1rem; font-weight:900;}
.edap-feature p{color:var(--edap-muted); margin:0;}
@media(max-width:992px){.edap-feature-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:576px){.edap-feature-grid{grid-template-columns:1fr; margin-top:24px}}
/* EDAP Faz 5 - Proje / blok / kat / bağımsız bölüm stok yönetimi */
.edap-inventory-hero{background:radial-gradient(circle at top right,rgba(220,38,38,.18),transparent 34%),linear-gradient(135deg,#111827,#7f1d1d);}
.edap-project-stock-card{position:relative;overflow:hidden;}
.edap-project-stock-card:after{content:"";position:absolute;right:-60px;bottom:-80px;width:190px;height:190px;border-radius:50%;background:rgba(220,38,38,.08);}
.edap-mini-stat{border:1px solid var(--edap-border,#e5e7eb);border-radius:16px;padding:12px;background:#fff;box-shadow:0 8px 20px rgba(15,23,42,.04)}
.edap-mini-stat span{display:block;color:#6b7280;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.04em}.edap-mini-stat strong{font-size:24px;color:#111827}.edap-stock-strip{display:flex;height:12px;border-radius:999px;background:#f3f4f6;overflow:hidden}.edap-stock-strip div{height:100%}.edap-stock-strip .available,.edap-stock-legend i.available{background:#16a34a}.edap-stock-strip .reserved,.edap-stock-legend i.reserved{background:#f59e0b}.edap-stock-strip .sold,.edap-stock-legend i.sold{background:#dc2626}.edap-stock-legend{display:flex;flex-wrap:wrap;gap:12px;color:#4b5563;font-size:12px}.edap-stock-legend i{display:inline-block;width:9px;height:9px;border-radius:50%;margin-right:4px}.edap-inventory-table th{white-space:nowrap;font-size:12px;text-transform:uppercase;letter-spacing:.04em;color:#6b7280}.edap-status-pill{display:inline-flex;align-items:center;padding:5px 10px;border-radius:999px;font-weight:800;font-size:12px;background:#f3f4f6;color:#111827}.edap-status-pill.status-available{background:#dcfce7;color:#166534}.edap-status-pill.status-optioned,.edap-status-pill.status-reserved,.edap-status-pill.status-contract{background:#fef3c7;color:#92400e}.edap-status-pill.status-sold{background:#fee2e2;color:#991b1b}.edap-status-pill.status-cancelled,.edap-status-pill.status-passive{background:#e5e7eb;color:#374151}.edap-card .form-control{border-radius:12px;border-color:#e5e7eb}.edap-card .btn{border-radius:12px;font-weight:800}

/* Phase 19 - EDAP Portföy Ağı / Admin redesign */
.edap-marketplace-admin{--market-dark:#0f172a;--market-red:#c20d19;--market-soft:#f8fafc;--market-line:#e5e7eb;}
.edap-market-hero,.edap-admin-command-hero{display:flex;justify-content:space-between;gap:24px;align-items:stretch;border-radius:30px;padding:34px;background:radial-gradient(circle at top left,rgba(194,13,25,.22),transparent 38%),linear-gradient(135deg,#0f172a,#1e293b 58%,#3f0d14);color:#fff;box-shadow:0 28px 70px rgba(15,23,42,.25);overflow:hidden;position:relative;}
.edap-market-hero:after,.edap-admin-command-hero:after{content:"";position:absolute;right:-90px;top:-90px;width:260px;height:260px;border-radius:50%;background:rgba(255,255,255,.08);}
.edap-market-hero h1,.edap-admin-command-hero h1{font-size:clamp(28px,4vw,48px);line-height:1.05;margin:8px 0 12px;font-weight:900;letter-spacing:-.04em;color:#fff;}
.edap-market-hero p,.edap-admin-command-hero p{max-width:760px;color:rgba(255,255,255,.78);font-size:16px;margin:0;}
.edap-market-hero-card,.edap-admin-revenue-card{min-width:260px;border-radius:24px;background:rgba(255,255,255,.12);backdrop-filter:blur(16px);padding:24px;border:1px solid rgba(255,255,255,.18);display:flex;flex-direction:column;justify-content:center;z-index:1;}
.edap-market-hero-card small,.edap-admin-revenue-card small{color:rgba(255,255,255,.68);font-weight:800;text-transform:uppercase;letter-spacing:.08em;}
.edap-market-hero-card strong,.edap-admin-revenue-card strong{font-size:32px;color:#fff;line-height:1.1;margin:8px 0;}
.edap-market-hero-card span,.edap-admin-revenue-card span{color:rgba(255,255,255,.75);}
.edap-network-card{border:1px solid var(--market-line);border-radius:22px;background:#fff;padding:20px;box-shadow:0 16px 42px rgba(15,23,42,.07);transition:.2s ease;}
.edap-network-card:hover{transform:translateY(-3px);box-shadow:0 24px 55px rgba(15,23,42,.12);}
.edap-network-card h5{font-weight:900;letter-spacing:-.02em;color:#111827;}
.edap-blur-box{border:1px dashed #cbd5e1;border-radius:16px;background:linear-gradient(135deg,#f8fafc,#eef2ff);padding:14px;color:#64748b;filter:none;}
.edap-blur-box:not(.unlocked){position:relative;overflow:hidden;}
.edap-blur-box:not(.unlocked):after{content:"Kilitli bilgi";position:absolute;inset:0;background:rgba(248,250,252,.82);display:grid;place-items:center;font-weight:900;color:#991b1b;backdrop-filter:blur(3px);}
.edap-admin-stat{height:100%;border-radius:24px;background:#fff;border:1px solid var(--market-line);padding:22px;box-shadow:0 18px 42px rgba(15,23,42,.07);display:flex;flex-direction:column;gap:8px;}
.edap-admin-stat i{width:42px;height:42px;border-radius:14px;background:linear-gradient(135deg,#fee2e2,#fecaca);color:#991b1b;display:grid;place-items:center;font-size:18px;}
.edap-admin-stat span{color:#64748b;font-weight:800;font-size:12px;text-transform:uppercase;letter-spacing:.07em;}
.edap-admin-stat strong{font-size:30px;line-height:1;color:#0f172a;}
.edap-shell-sidebar{background:linear-gradient(180deg,#ffffff,#f8fafc);border-right:1px solid #eef2f7;box-shadow:16px 0 45px rgba(15,23,42,.06);}
.edap-sidebar-section-title{font-size:11px;text-transform:uppercase;letter-spacing:.12em;color:#94a3b8;font-weight:900;margin:18px 0 8px;list-style:none;}
.active-link .nav-link,.account-navigation .nav-link:hover{background:linear-gradient(135deg,#c20d19,#8f0710);color:#fff!important;border-radius:14px;padding-left:12px;box-shadow:0 12px 28px rgba(194,13,25,.22);}
.account-navigation .nav-link{border-radius:14px;padding:10px 12px;font-weight:800;color:#334155;transition:.18s ease;}
@media(max-width:992px){.edap-market-hero,.edap-admin-command-hero{flex-direction:column;padding:24px}.edap-market-hero-card,.edap-admin-revenue-card{min-width:0}.edap-workspace-tabs{overflow-x:auto;flex-wrap:nowrap;padding-bottom:8px}.edap-workspace-tabs a{white-space:nowrap}}
