@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');
:root{--navy:#213564;--blue:#00A3E7;--red:#D51F26;--ink:#24324a;--muted:#64748b;--border:#e3eaf3;--bg:#f4f7fb;--white:#fff}
*{box-sizing:border-box}body{font-family:Poppins,Arial,sans-serif;margin:0;background:var(--bg);color:var(--ink)}a{color:inherit;text-decoration:none}
.topbar{height:76px;background:#fff;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;padding:0 clamp(20px,4vw,60px)}
.brand{display:flex;gap:14px;align-items:center}.brand-mark{width:9px;height:40px;border-radius:4px;background:var(--red)}.brand strong{color:var(--navy);font-size:18px;display:block}.brand small{display:block;color:var(--muted);font-size:11px}
.top-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.text-link{font-size:12px;color:var(--navy);font-weight:600}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:12px 18px;background:var(--blue);color:#fff;border:0;border-radius:10px;font-family:inherit;font-size:12px;font-weight:700;cursor:pointer}.btn.secondary{background:#eef4fc;color:var(--navy)}.btn.danger{background:#fff0f1;color:#a92323}.btn:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #6dd0fa;outline-offset:2px}
.hero{background:radial-gradient(circle at 90% 15%,rgba(0,163,231,.22),transparent 35%),linear-gradient(135deg,#1a2c55,#213564 55%,#15274c);color:white;padding:55px clamp(20px,4vw,60px)}.hero-inner{max-width:1250px;margin:auto}.hero small{color:#9ddffa;text-transform:uppercase;letter-spacing:2px;font-size:11px;font-weight:700}.hero h1{font-size:clamp(28px,4.4vw,48px);line-height:1.2;margin:16px 0}.hero p{max-width:760px;font-size:13px;color:#d5deef;line-height:1.8}
.container{max-width:1320px;margin:auto;padding:32px clamp(20px,4vw,60px) 65px}.section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:15px;margin:18px 0}.section-head h2{margin:0;color:var(--navy);font-size:24px}.section-head p{margin:6px 0 0;color:var(--muted);font-size:12px}.group-label{font-weight:700;font-size:12px;color:var(--muted);margin:26px 0 13px}
.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:17px}.card{position:relative;background:#fff;border:1px solid var(--border);border-radius:20px;padding:23px;min-height:212px;display:flex;flex-direction:column;transition:transform .2s,border-color .2s}.card:hover{transform:translateY(-3px);border-color:#a8dbee}.card h3{margin:15px 0 7px;color:var(--navy);font-size:18px}.card p{color:var(--muted);line-height:1.7;font-size:12px;flex:1;margin:0}.card-top{display:flex;justify-content:space-between;align-items:center}.card-icon{display:grid;place-items:center;width:49px;height:49px;border-radius:15px;background:#e9f7fc;font-size:24px}.badge{font-size:10px;border-radius:30px;padding:7px 10px;color:#187b56;background:#e9f9f1;font-weight:700}.badge.pending{background:#fff7e6;color:#9e6c10}.card-foot{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #eef2f6;margin-top:18px;padding-top:14px;gap:10px}.card-foot small{font-size:10px;color:var(--muted);overflow:hidden;text-overflow:ellipsis}.card-foot span{font-size:11px;color:var(--blue);font-weight:700;white-space:nowrap}
.notice{padding:14px 17px;border-radius:12px;background:#eaf7ff;color:#225177;border:1px solid #c8e7fb;font-size:12px;line-height:1.7;margin:16px 0}.notice.error{background:#fff2f2;border-color:#ffcaca;color:#a52222}.notice.success{background:#eaf9f1;border-color:#c5ead9;color:#166744}
.panel{background:white;border:1px solid var(--border);border-radius:19px;padding:25px;margin:22px 0;overflow:auto}.panel h2{margin:0 0 18px;color:var(--navy);font-size:20px}.form-row{display:flex;gap:12px;flex-wrap:wrap;align-items:end}.field{display:flex;flex-direction:column;gap:7px;flex:1;min-width:160px}.field label{font-size:11px;color:var(--navy);font-weight:600}.field input{height:43px;border-radius:9px;border:1px solid #dce4ed;padding:0 12px;font:inherit;font-size:12px}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;font-size:12px;text-align:left}th,td{padding:13px;border-bottom:1px solid #edf0f5}th{color:var(--navy);background:#f8fafc}td small{display:block;color:var(--muted)}.checkbox-label{display:inline-flex;gap:7px;align-items:center;white-space:nowrap;font-size:11px}.checkbox-label input{accent-color:var(--blue)}
.auth-wrap{min-height:calc(100vh - 76px);display:grid;place-items:center;padding:28px}.auth-box{background:#fff;border:1px solid var(--border);width:min(440px,100%);padding:34px;border-radius:22px;box-shadow:0 24px 60px rgba(33,53,100,.09)}.auth-box h1{font-size:25px;color:var(--navy);margin:8px 0}.auth-box p{font-size:12px;color:var(--muted);line-height:1.8;margin-bottom:24px}.auth-box .field{margin-bottom:15px}.auth-box .btn{width:100%;margin-top:8px;height:45px}
.footer{background:#fff;border-top:1px solid var(--border);padding:22px clamp(20px,4vw,60px);color:var(--muted);font-size:11px;display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap}
@media(max-width:650px){.topbar{height:auto;min-height:72px;gap:13px;flex-wrap:wrap;padding-top:12px;padding-bottom:12px}.brand strong{font-size:15px}.hero{padding-top:40px;padding-bottom:40px}.panel{padding:17px}.top-actions{justify-content:flex-end}}

/* 10.11.2026 — ana portal görünümü. Mevcut yönetim/giriş ekranlarına dokunmaz. */
.portal-home{--home-navy:#213564;--home-blue:#00a3e7;--home-red:#d51f26;--home-ink:#1d2b47;--home-muted:#71809b;background:#f7f9fc;color:var(--home-ink);font-family:Poppins,Arial,sans-serif}
.portal-home [hidden]{display:none!important}
.portal-home .skip-link{position:absolute;z-index:200;top:-100px;left:20px;background:#fff;padding:12px 18px;border-radius:8px;color:var(--home-navy)}
.portal-home .skip-link:focus{top:10px}
.portal-shell{width:min(100% - 80px,1330px);margin-inline:auto}
.portal-header{height:88px;background:#fff;border-bottom:1px solid #e8edf5;position:relative;z-index:10}
.portal-header__inner{height:100%;display:flex;align-items:center;justify-content:space-between;gap:24px}
.portal-brand{display:inline-flex;align-items:center;gap:14px;flex-shrink:0}
.portal-brand__symbol{display:flex;gap:4px;align-items:center;justify-content:center;width:42px;height:44px;transform:skew(-14deg)}
.portal-brand__symbol span:first-child{height:32px;width:12px;background:var(--home-navy);border-radius:2px}
.portal-brand__symbol span:last-child{height:39px;width:12px;background:var(--home-red);border-radius:2px}
.portal-brand__copy strong{display:block;color:var(--home-navy);font-size:19px;line-height:1.15;letter-spacing:-.6px;white-space:nowrap}
.portal-brand__copy em{font-style:normal;font-weight:500}
.portal-brand__copy small{color:#8c98aa;display:block;font-size:9px;font-weight:600;letter-spacing:2.05px;margin-top:7px;white-space:nowrap}
.portal-header__links{display:flex;align-items:center;gap:21px}
.portal-navlink{font-size:12px;font-weight:600;color:#65738c;white-space:nowrap;transition:color .2s}
.portal-navlink:hover{color:var(--home-blue)}
.portal-navlink--admin{color:var(--home-navy)}
.portal-user{border-left:1px solid #e7edf4;padding-left:19px;display:flex;align-items:center;gap:9px;min-width:0}
.portal-user__icon{display:grid;place-items:center;width:37px;height:37px;background:#edf5fb;border:1px solid #dcebf7;border-radius:50%;color:var(--home-navy);flex-shrink:0}
.portal-user__icon svg{width:19px;height:19px}
.portal-user__name{font-size:12px;font-weight:600;max-width:170px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.portal-logout{display:inline-flex;align-items:center;gap:8px;font-size:12px;font-weight:600;background:#f1f4fa;border:1px solid #e9eef5;border-radius:10px;padding:11px 13px;color:var(--home-navy);white-space:nowrap;transition:background .2s}
.portal-logout:hover{background:#e5eff8}
.portal-welcome{position:relative;overflow:hidden;background:linear-gradient(110deg,#edf5fc 0%,#f6faff 46%,#fff 100%);border-bottom:1px solid #e8eef6}
.portal-welcome:before{content:"";position:absolute;width:590px;height:590px;border-radius:50%;right:-240px;top:-275px;background:radial-gradient(circle,rgba(0,163,231,.08),transparent 68%);pointer-events:none}
.portal-welcome:after{content:"";position:absolute;right:8%;bottom:-115px;width:320px;height:320px;border:1px solid rgba(0,163,231,.08);border-radius:50%;pointer-events:none}
.portal-welcome__layout{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,1.6fr) minmax(290px,.65fr);gap:80px;align-items:center;padding-top:54px;padding-bottom:54px}
.portal-eyebrow,.portal-section-kicker{display:flex;align-items:center;gap:10px;color:var(--home-blue);font-size:10px;font-weight:700;letter-spacing:2.3px}
.portal-eyebrow span{width:26px;height:2px;background:var(--home-red);display:inline-block}
.portal-welcome h1{font-size:clamp(34px,4.15vw,57px);letter-spacing:-2.2px;line-height:1.18;color:var(--home-navy);margin:20px 0 17px;font-weight:700}
.portal-welcome h1 span{color:#188bc0}
.portal-welcome__copy p{max-width:600px;font-size:13px;line-height:1.95;color:#697c98;margin:0}
.portal-welcome__buttons{display:flex;flex-wrap:wrap;gap:12px;margin-top:26px}
.portal-primary-link,.portal-secondary-link{min-height:44px;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;gap:21px;padding:0 17px;font-size:11px;font-weight:700;transition:transform .2s,box-shadow .2s}
.portal-primary-link{background:var(--home-navy);color:white;box-shadow:0 7px 18px rgba(33,53,100,.12)}
.portal-secondary-link{border:1px solid #dbe5f1;color:var(--home-navy);background:#fff}
.portal-primary-link:hover,.portal-secondary-link:hover{transform:translateY(-2px)}
.portal-primary-link span,.portal-secondary-link span{font-size:18px;font-weight:400}
.portal-overview{justify-self:end;position:relative;overflow:hidden;background:linear-gradient(130deg,#213564,#182950);color:white;border-radius:19px;padding:28px 30px;width:min(100%,332px);box-shadow:0 24px 50px rgba(22,42,82,.12)}
.portal-overview:after{content:"";position:absolute;border:1px solid rgba(255,255,255,.08);width:200px;height:200px;border-radius:50%;right:-90px;top:-100px}
.portal-overview__eyebrow{font-size:9px;letter-spacing:2px;color:#a8dafa;font-weight:700}
.portal-overview__number{font-size:66px;line-height:1.1;letter-spacing:-3px;font-weight:600;margin-top:13px}
.portal-overview__number span{font-size:23px;letter-spacing:-1px;color:#8fa4c7;font-weight:400}
.portal-overview__caption{font-size:11px;color:#d2deef}
.portal-overview__line{background:rgba(255,255,255,.14);height:1px;margin:25px 0 19px}
.portal-overview__foot{display:flex;gap:9px;align-items:center;color:#d1def0;font-size:10px}
.portal-dot{width:7px;height:7px;background:#5de2ae;border-radius:50%;box-shadow:0 0 0 4px rgba(93,226,174,.12)}
.portal-workspace{padding-top:50px;padding-bottom:6px}
.portal-workspace__heading{display:flex;justify-content:space-between;align-items:end;gap:26px;margin-bottom:20px}
.portal-workspace__heading h2{font-size:29px;letter-spacing:-1.15px;color:var(--home-navy);margin:10px 0 3px}
.portal-workspace__heading p{font-size:12px;color:var(--home-muted);margin:0}
.portal-search-wrap{width:min(100%,345px)}
.portal-search-wrap label{display:block;margin:0 0 8px 1px;font-size:10px;font-weight:600;color:#6c7890}
.portal-search{display:flex;align-items:center;gap:10px;height:45px;padding:0 15px;background:white;border:1px solid #dfe7f1;border-radius:11px;color:#91a3b9;box-shadow:0 5px 15px rgba(33,53,100,.02)}
.portal-search:focus-within{border-color:#4db8eb;box-shadow:0 0 0 3px rgba(0,163,231,.1)}
.portal-search input{min-width:0;flex:1;height:100%;border:0;outline:0;background:transparent;font:inherit;font-size:11px;color:var(--home-ink)}
.portal-search input::placeholder{color:#9aa8b9}
.portal-search-result{font-size:11px;color:#527599;margin:0;min-height:0}
.portal-search-result:not(:empty){margin-top:17px}
.portal-group{padding:18px 0 16px}
.portal-group__heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:17px}
.portal-group__title{display:flex;align-items:center;gap:12px}
.portal-group__rule{height:34px;width:4px;border-radius:4px;background:var(--home-blue)}
.portal-group:nth-of-type(2) .portal-group__rule{background:var(--home-red)}
.portal-group:nth-of-type(3) .portal-group__rule{background:var(--home-navy)}
.portal-group__title h3{font-size:16px;letter-spacing:-.35px;color:var(--home-navy);margin:0 0 3px}
.portal-group__title p{font-size:10px;color:#8190a5;margin:0}
.portal-group__count{font-size:10px;font-weight:600;color:#8795ac;background:#eaf0f7;padding:7px 11px;border-radius:50px;white-space:nowrap}
.portal-systems-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.portal-system-card{position:relative;min-width:0;min-height:224px;display:flex;flex-direction:column;background:#fff;border:1px solid #e6ecf4;border-radius:15px;padding:21px;box-shadow:0 8px 23px rgba(34,56,104,.035);transition:transform .22s,border-color .22s,box-shadow .22s}
.portal-system-card:hover{transform:translateY(-4px);border-color:#b9ddee;box-shadow:0 16px 35px rgba(34,56,104,.09)}
.portal-system-card:focus-visible{outline:3px solid var(--home-blue);outline-offset:3px}
.portal-system-card__top{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
.portal-system-card__icon{display:grid;place-items:center;height:47px;width:47px;background:#eaf6fc;color:#118dbf;border-radius:13px;flex-shrink:0}
.portal-system-card--kalite .portal-system-card__icon,.portal-system-card--personel .portal-system-card__icon{background:#edf0fa;color:#556eac}
.portal-system-card--crm .portal-system-card__icon,.portal-system-card--satinalma .portal-system-card__icon{background:#fff3f0;color:#d36f58}
.portal-system-card__arrow{font-size:21px;line-height:1;color:#adbed0;transition:transform .2s,color .2s}
.portal-system-card:hover .portal-system-card__arrow{transform:translate(2px,-2px);color:var(--home-blue)}
.portal-system-card__body{flex:1}
.portal-system-card__body h4{font-size:15px;line-height:1.35;font-weight:700;color:var(--home-navy);letter-spacing:-.35px;margin:17px 0 7px}
.portal-system-card__body p{font-size:10.5px;line-height:1.7;color:#74839b;margin:0}
.portal-system-card__footer{border-top:1px solid #edf1f6;padding-top:14px;margin-top:18px;display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:10px;color:#54708e;font-weight:600}
.portal-system-card__footer>span:last-child{white-space:nowrap;color:#188dbf}
.portal-system-card__footer>span:last-child span{font-size:14px}
.portal-status{display:inline-flex;align-items:center;gap:6px;color:#71879b;font-weight:500;white-space:nowrap}
.portal-status span{width:6px;height:6px;background:#22ba81;border-radius:50%}
.portal-empty{border:1px dashed #cddbea;background:#fff;border-radius:15px;padding:38px 25px;text-align:center;margin:25px 0}
.portal-empty h3{font-size:16px;color:var(--home-navy);margin:0 0 8px}
.portal-empty p{font-size:11px;color:var(--home-muted);margin:0}
.portal-clear-search{margin-top:20px;cursor:pointer;background:var(--home-navy);border:0;color:white;padding:11px 15px;border-radius:8px;font:inherit;font-size:11px}
.portal-bottom{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding-top:30px;padding-bottom:58px}
.portal-bottom__card{display:flex;justify-content:space-between;align-items:center;gap:20px;border-radius:15px;border:1px solid #e4ebf3;background:#fff;padding:19px 21px;min-width:0}
.portal-bottom__copy{display:flex;align-items:center;gap:13px;min-width:0}
.portal-bottom__symbol{display:grid;place-items:center;width:40px;height:40px;background:#eaf4fa;color:var(--home-navy);font-size:13px;font-weight:700;border-radius:10px;flex-shrink:0}
.portal-bottom__card--admin .portal-bottom__symbol{font-size:23px}
.portal-bottom__copy h3{font-size:13px;color:var(--home-navy);margin:0 0 3px}
.portal-bottom__copy p{font-size:9.5px;color:#8b99ad;line-height:1.5;margin:0}
.portal-bottom__card>a{color:#188dbf;font-size:10px;font-weight:700;white-space:nowrap}
.portal-bottom__card>a span{font-size:16px}
.portal-footer{background:white;border-top:1px solid #e9eef5}
.portal-footer__inner{display:flex;justify-content:space-between;gap:20px;padding-top:24px;padding-bottom:24px;color:#91a0b3;font-size:10px}
@media(max-width:1120px){.portal-systems-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.portal-welcome__layout{gap:35px}.portal-header__links{gap:13px}.portal-user__name{max-width:110px}}
@media(max-width:900px){.portal-shell{width:min(100% - 40px,1330px)}.portal-systems-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.portal-welcome__layout{grid-template-columns:1fr minmax(240px,.55fr)}.portal-welcome h1{font-size:39px}.portal-overview{padding:24px}.portal-navlink--password{display:none}.portal-bottom{grid-template-columns:1fr}}
@media(max-width:680px){.portal-header{height:auto;min-height:72px}.portal-header__inner{padding:15px 0;gap:12px;flex-wrap:wrap}.portal-header__links{width:100%;justify-content:flex-end}.portal-brand__copy strong{font-size:16px}.portal-brand__copy small{font-size:7px}.portal-user{padding-left:0;border:0}.portal-user__name{max-width:150px}.portal-welcome__layout{grid-template-columns:1fr;gap:24px;padding:38px 0}.portal-welcome h1{font-size:34px;letter-spacing:-1px}.portal-welcome__copy p{font-size:12px}.portal-overview{justify-self:start;width:100%;max-width:none;display:grid;grid-template-columns:auto 1fr;column-gap:22px;align-items:center}.portal-overview__eyebrow{grid-column:1/-1}.portal-overview__number{font-size:48px;margin-top:8px}.portal-overview__caption{max-width:160px}.portal-overview__line,.portal-overview__foot{display:none}.portal-workspace{padding-top:35px}.portal-workspace__heading{align-items:stretch;flex-direction:column}.portal-search-wrap{width:100%}.portal-workspace__heading h2{font-size:25px}.portal-bottom__card{flex-direction:column;align-items:flex-start}.portal-footer__inner{flex-direction:column;gap:7px}.portal-systems-grid{grid-template-columns:1fr}.portal-system-card{min-height:195px}.portal-group__count{font-size:9px}}
@media(max-width:400px){.portal-shell{width:calc(100% - 30px)}.portal-logout span{display:none}.portal-header__links{gap:10px}.portal-navlink--admin{font-size:10px}.portal-user__name{max-width:115px}.portal-welcome__buttons{flex-direction:column;align-items:stretch}.portal-group__title p{max-width:220px}}
@media(prefers-reduced-motion:reduce){.portal-home *, .portal-home *:before, .portal-home *:after{scroll-behavior:auto!important;transition:none!important}}
/* Statik portal: durum göstergesi çalışma garantisi değil, bağlantı bilgisidir. */
.portal-home .portal-status span{background:#00a3e7}
.portal-home .portal-bottom{grid-template-columns:minmax(0,1fr)}
.portal-home .portal-bottom__card{max-width:none}
