/* OTEK İK portal — Qerza shell + mevcut içerik sınıfları */
.text-otek-navy { color: #3e4954 !important; }
.text-otek-sky { color: var(--primary) !important; }
.otek-gradient {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 55%, var(--secondary) 100%);
}
.otek-mesh {
    background-color: #f5f5f5;
}
.otek-card {
    background: #fff;
    border-radius: 0.75rem;
    border: 1px solid #ebebeb;
    box-shadow: 0 0 35px 0 rgba(154, 161, 171, 0.15);
}
.otek-input,
.content-body input.otek-input,
.content-body select.otek-input,
.content-body textarea.otek-input,
.content-body .otek-input {
    width: 100%;
    border-radius: 0.5rem;
    border: 1px solid #e6e6e6;
    background: #fff !important;
    background-color: #fff !important;
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
    color: #3e4954 !important;
    -webkit-text-fill-color: #3e4954 !important;
    caret-color: #3e4954 !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    user-select: text !important;
    -webkit-user-select: text !important;
    position: relative;
    z-index: 1;
}
.otek-input:focus,
.content-body .otek-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem var(--rgba-primary-2);
    outline: 0;
    color: #3e4954 !important;
    -webkit-text-fill-color: #3e4954 !important;
}
.content-body .otek-input::placeholder {
    color: #94a3b8 !important;
    -webkit-text-fill-color: #94a3b8 !important;
    opacity: 1;
}
textarea.otek-input,
.content-body textarea.otek-input {
    resize: vertical;
    min-height: 4.5rem;
}
/*
 * Tailwind CDN preflight, button/[type=submit] için background:transparent verir
 * ve .otek-btn'den daha yüksek özgüllükle ezer → mor butonlar görünmez kalır.
 */
button.otek-btn,
a.otek-btn,
input.otek-btn,
.otek-btn[type="submit"],
.otek-btn[type="button"],
.otek-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: 0.5rem;
    background: var(--primary) !important;
    background-image: none !important;
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #fff !important;
    border: none;
    cursor: pointer;
    transition: background 0.15s, filter 0.15s;
    -webkit-appearance: none;
    appearance: none;
    text-decoration: none;
}
button.otek-btn:hover,
a.otek-btn:hover,
.otek-btn[type="submit"]:hover,
.otek-btn[type="button"]:hover,
.otek-btn:hover {
    background: var(--primary-hover) !important;
    color: #fff !important;
    filter: brightness(1.05);
}

/* Bootstrap primary — Tailwind CDN sonrası da görünür kalsın */
.content-body .btn.btn-primary,
button.btn.btn-primary {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #fff !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    display: inline-block !important;
}
.content-body .btn.btn-primary:hover,
button.btn.btn-primary:hover {
    background-color: var(--primary-hover, #6d28d9) !important;
    border-color: var(--primary-hover, #6d28d9) !important;
    color: #fff !important;
}
.content-body .btn.btn-outline-primary,
button.btn.btn-outline-primary {
    background-color: #fff !important;
    border: 1px solid var(--primary) !important;
    color: var(--primary) !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    display: inline-block !important;
}
.otek-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 9999px;
    background: var(--rgba-primary-1);
    padding: 0.125rem 0.625rem;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--primary);
    cursor: default;
    user-select: none;
    pointer-events: none; /* durum etiketi — tıklanabilir buton gibi durmasın */
}
/* Durum / aşama etiketleri — Türkçe metin, büyük harfe zorlanmaz */
.otek-badge-label {
    text-transform: none;
    letter-spacing: normal;
    font-size: 0.75rem;
}
.otek-badge-success {
    background: rgba(16, 185, 129, 0.12);
    color: #047857;
}
.otek-badge-warning {
    background: rgba(245, 158, 11, 0.14);
    color: #b45309;
}
.otek-badge-danger {
    background: rgba(239, 68, 68, 0.12);
    color: #b91c1c;
}
.otek-badge-info {
    background: rgba(14, 165, 233, 0.12);
    color: #0369a1;
}
#main-wrapper .content-body .container-fluid {
    max-width: 100%;
}
.portal-role-card {
    transition: transform 0.2s, box-shadow 0.2s;
}
.portal-role-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px var(--rgba-primary-2);
}

/* Qerza auth — yumuşak arka plan, göz yormayan form */
.authincation {
    min-height: 100vh;
    background:
        radial-gradient(ellipse 80% 60% at 20% 10%, rgba(135, 67, 223, 0.12), transparent 55%),
        radial-gradient(ellipse 70% 50% at 90% 80%, rgba(99, 140, 220, 0.10), transparent 50%),
        #f4f6f9;
}
.authincation .authincation-content {
    background: #ffffff;
    border-radius: 1rem;
    box-shadow: 0 12px 40px rgba(62, 73, 84, 0.08);
    border: 1px solid #e8ecf1;
}
.authincation .auth-form {
    color: #3e4954;
}
.authincation .auth-form label,
.authincation .auth-form h4,
.authincation .auth-form p {
    color: #3e4954;
}
.authincation .auth-form a {
    color: #6d4bb8;
}
.authincation .auth-brand {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #3e4954;
}
.authincation .auth-brand-sub {
    font-size: 0.85rem;
    color: #64748b;
    margin-top: 0.25rem;
}
.authincation .auth-form .form-control {
    color: #3e4954;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}
.authincation .auth-form .form-control:focus {
    background: #fff;
    border-color: #a78bdb;
    box-shadow: 0 0 0 3px rgba(135, 67, 223, 0.12);
}
.authincation .auth-form .form-control::placeholder {
    color: #94a3b8;
}
.authincation .auth-form .btn-primary {
    background: #7c4fd0 !important;
    border-color: #7c4fd0 !important;
    color: #fff !important;
}
.authincation .auth-form .btn-primary:hover {
    background: #6d3fc0 !important;
    border-color: #6d3fc0 !important;
}
.authincation .auth-hub-career {
    color: #64748b;
}
.authincation .auth-hub-career a {
    color: #6d4bb8;
    font-weight: 600;
    text-decoration: underline;
}

/* Form alanları — Qerza select/input soluk kalıyordu */
.content-body .form-label {
    color: #3e4954;
    font-weight: 500;
}
.content-body .portal-field-readable,
.content-body .portal-field-readable option,
.content-body .form-control:not(.btn) {
    color: #3e4954 !important;
    -webkit-text-fill-color: #3e4954;
}
.content-body .table td,
.content-body .table th {
    color: #3e4954;
}
.content-body .table td strong {
    color: #000;
}
.content-body p.text-muted {
    color: #5c636a !important;
}

/* Sidebar çıkış — menü linkiyle aynı görünüm */
.deznav .metismenu > li.portal-nav-logout form {
    width: 100%;
}
.deznav .metismenu > li.portal-nav-logout button.ai-icon {
    font-weight: 500;
    display: inline-block;
    padding: var(--dz-side-nav-padding);
    font-size: var(--dz-side-nav-size);
    color: var(--text-gray);
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
}
.deznav .metismenu > li.portal-nav-logout button.ai-icon i {
    color: #96A0AF;
}
.deznav .metismenu > li.portal-nav-logout:hover button.ai-icon {
    color: var(--primary);
}

/* Accordion sidebar — mm-open = açık grup, mm-active = seçili sayfa */
.deznav .metismenu ul.mm-collapse:not(.mm-show) {
    height: 0;
    opacity: 0;
    transform: translateY(-6px);
    visibility: hidden;
    pointer-events: none;
}
.deznav .metismenu ul.mm-collapse.mm-show {
    display: block;
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
}
.deznav .metismenu ul.mm-collapse {
    display: block !important;
    overflow: hidden;
    will-change: height, opacity, transform;
    transition:
        height 320ms cubic-bezier(0.22, 1, 0.36, 1),
        opacity 180ms ease,
        transform 260ms cubic-bezier(0.22, 1, 0.36, 1),
        visibility 0s linear 320ms;
}
.deznav .metismenu ul.mm-collapse.mm-show {
    transition-delay: 0s;
}
.deznav .metismenu li > .has-arrow::after {
    transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1), border-color 180ms ease !important;
}
.deznav .metismenu li.mm-open > .has-arrow::after,
.deznav .metismenu li > .has-arrow[aria-expanded="true"]::after {
    transform: rotate(-135deg) translateY(-1px) !important;
}
.deznav .metismenu ul ul {
    margin-left: 0.35rem;
    border-left: 1px solid rgba(135, 67, 223, 0.12);
}
.deznav .metismenu li li > a {
    padding-left: 1.65rem !important;
    font-size: 0.8125rem;
}
.deznav .metismenu li li li > a {
    padding-left: 2.15rem !important;
}
.deznav .metismenu li li > a.has-arrow::after {
    right: 1.25rem;
}
.deznav .metismenu .has-arrow[data-nav-toggle] {
    cursor: pointer;
}
@media (prefers-reduced-motion: reduce) {
    .deznav .metismenu ul.mm-collapse,
    .deznav .metismenu li > .has-arrow::after {
        transition-duration: 0.01ms !important;
    }
}

.nav-header .brand-logo {
    min-width: 0;
    gap: 0.9rem;
    justify-content: center;
    padding-inline: 1rem;
}
.nav-header .akademi-brand-name {
    display: block;
    min-width: 0;
    max-width: 10.5rem;
    color: #fff;
    font-size: 0.92rem;
    line-height: 1.2;
    font-weight: 800;
    white-space: normal;
    overflow-wrap: anywhere;
}
.deznav .metismenu > li > a {
    min-height: 3.15rem;
    align-items: center;
}
.deznav .metismenu > li > a .nav-text {
    min-width: 0;
    white-space: normal !important;
    overflow-wrap: anywhere;
    line-height: 1.25;
}
.deznav .metismenu > li > a.has-arrow {
    padding-right: 2.5rem !important;
}
.deznav .metismenu > li > a.has-arrow::after {
    right: 1rem !important;
}

/* Açık grup başlıkları — Qerza mm-active stillerini tamamen devre dışı bırak */
[data-sidebar-style="full"][data-layout="vertical"] .deznav .metismenu > li.mm-open > a,
.deznav .metismenu li.mm-open > a.has-arrow {
    color: var(--primary) !important;
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    font-weight: 500;
    opacity: 1 !important;
}
[data-sidebar-style="full"][data-layout="vertical"] .deznav .metismenu > li.mm-open > a i,
.deznav .metismenu li.mm-open > a.has-arrow i {
    color: var(--primary) !important;
    background: transparent !important;
    box-shadow: none !important;
    width: 2.8rem !important;
    height: 2.8rem !important;
    font-size: 1.4rem !important;
    line-height: 2.8rem !important;
    border-radius: 0.5rem !important;
    margin-right: 15px !important;
}
[data-sidebar-style="full"][data-layout="vertical"] .deznav .metismenu > li.mm-open > a:before {
    width: 0 !important;
}
.deznav .metismenu li.mm-open > a.has-arrow .nav-text {
    font-weight: 600;
    color: var(--primary) !important;
    opacity: 1 !important;
}

/* Üst seviye aktif yaprak sayfa — ikon beyaz kare olmasın, glif görünsün */
[data-sidebar-style="full"][data-layout="vertical"] .deznav .metismenu > li.mm-active > a.ai-icon:not(.has-arrow),
.deznav .metismenu > li > a.mm-active:not(.has-arrow) {
    color: #fff !important;
    background: var(--primary) !important;
    border-radius: 0.75rem;
    font-weight: 600;
    opacity: 1 !important;
}
[data-sidebar-style="full"][data-layout="vertical"] .deznav .metismenu > li.mm-active > a.ai-icon:not(.has-arrow) .nav-text,
.deznav .metismenu > li > a.mm-active:not(.has-arrow) .nav-text {
    color: #fff !important;
    opacity: 1 !important;
}
[data-sidebar-style="full"][data-layout="vertical"] .deznav .metismenu > li.mm-active > a.ai-icon:not(.has-arrow) i,
[data-sidebar-style="full"][data-layout="vertical"] .deznav .metismenu > li.mm-active > a.ai-icon:not(.has-arrow) i:before,
[data-sidebar-style="full"][data-layout="vertical"] .deznav .metismenu > li.mm-active > a.ai-icon:not(.has-arrow) i:after,
.deznav .metismenu > li.mm-active > a.mm-active:not(.has-arrow) i,
.deznav .metismenu > li.mm-active > a.mm-active:not(.has-arrow) i:before,
.deznav .metismenu > li.mm-active > a.mm-active:not(.has-arrow) i:after {
    color: #fff !important;
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    width: auto !important;
    height: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    font-size: 1.25rem !important;
    line-height: 1 !important;
    border-radius: 0 !important;
    margin-right: 0.75rem !important;
    padding: 0 !important;
    display: inline-block !important;
    opacity: 1 !important;
    visibility: visible !important;
}
[data-sidebar-style="full"][data-layout="vertical"] .deznav .metismenu > li.mm-active > a.ai-icon:not(.has-arrow):before {
    width: 0 !important;
}

/* Alt menü aktif satır */
.deznav .metismenu ul a.mm-active {
    color: var(--primary) !important;
    background: rgba(135, 67, 223, 0.12) !important;
    border-radius: 0.5rem;
    font-weight: 700;
}

/* Org şeması sekmeleri — Tailwind CDN button reset'ini kesin ez */
.content-body .org-tabs button.org-tab,
.content-body button.org-tab,
.org-tabs button.org-tab,
button.org-tab {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.55rem 1.1rem !important;
    border-radius: 0.75rem !important;
    border: 1px solid #cbd5e1 !important;
    background: #ffffff !important;
    background-color: #ffffff !important;
    background-image: none !important;
    color: #1e293b !important;
    -webkit-text-fill-color: #1e293b !important;
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
    cursor: pointer !important;
    pointer-events: auto !important;
    opacity: 1 !important;
    visibility: visible !important;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06) !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    user-select: none;
    transition: background 0.15s, color 0.15s, border-color 0.15s, box-shadow 0.15s;
}
.content-body .org-tabs button.org-tab:hover,
.content-body button.org-tab:hover,
.org-tabs button.org-tab:hover,
button.org-tab:hover {
    border-color: #008687 !important;
    color: #008687 !important;
    -webkit-text-fill-color: #008687 !important;
    background: #ffffff !important;
    background-color: #ffffff !important;
}
.content-body .org-tabs button.org-tab.is-active,
.content-body button.org-tab.is-active,
.org-tabs button.org-tab.is-active,
button.org-tab.is-active,
.content-body .org-tabs button.org-tab[aria-selected="true"],
button.org-tab[aria-selected="true"] {
    background: #008687 !important;
    background-color: #008687 !important;
    background-image: none !important;
    border-color: #008687 !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(135, 67, 223, 0.35) !important;
}
.content-body .org-tabs button.org-tab.is-active:hover,
.content-body button.org-tab.is-active:hover,
.org-tabs button.org-tab.is-active:hover,
button.org-tab.is-active:hover,
.content-body .org-tabs button.org-tab[aria-selected="true"]:hover,
button.org-tab[aria-selected="true"]:hover {
    background: #255b59 !important;
    background-color: #255b59 !important;
    border-color: #255b59 !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}
.content-body button.org-mini-btn,
button.org-mini-btn,
.content-body .org-mini-btn,
.org-mini-btn {
    display: inline-flex !important;
    align-items: center;
    padding: 0.4rem 0.75rem !important;
    border-radius: 0.5rem !important;
    border: 1px solid #cbd5e1 !important;
    background: #f1f5f9 !important;
    background-color: #f1f5f9 !important;
    background-image: none !important;
    color: #1e293b !important;
    -webkit-text-fill-color: #1e293b !important;
    font-size: 0.75rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    pointer-events: auto !important;
    opacity: 1 !important;
}
.content-body button.org-mini-btn:hover,
button.org-mini-btn:hover,
.content-body .org-mini-btn:hover,
.org-mini-btn:hover {
    background: #e2e8f0 !important;
    background-color: #e2e8f0 !important;
    color: #0f172a !important;
    -webkit-text-fill-color: #0f172a !important;
}
.org-panel.hidden,
.org-panel[hidden] {
    display: none !important;
}

/* Profil sekme butonları — seçili olan silik değil, net mor */
.profile-tabs .profile-tab {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.55rem 1rem;
    border-radius: 0.75rem;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #3e4954;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    opacity: 1;
    transition: background 0.15s, color 0.15s, border-color 0.15s, box-shadow 0.15s;
}
.profile-tabs .profile-tab:hover {
    border-color: var(--primary);
    color: var(--primary);
}
.profile-tabs .profile-tab.is-active {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #fff !important;
    opacity: 1 !important;
    box-shadow: 0 4px 14px rgba(135, 67, 223, 0.35);
}
.profile-tabs .profile-tab.is-active:hover {
    color: #fff !important;
    filter: brightness(1.05);
}

/* İçerik alanı accordion (Ayarlar hub vb.) */
.portal-accordion summary {
    list-style: none;
}
.portal-accordion summary::-webkit-details-marker {
    display: none;
}
.portal-accordion-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem;
    cursor: pointer;
    font-weight: 600;
    color: #3e4954;
}
.portal-accordion-chevron {
    width: 0.5rem;
    height: 0.5rem;
    border-right: 2px solid #94a3b8;
    border-bottom: 2px solid #94a3b8;
    transform: rotate(45deg);
    transition: transform 0.2s ease;
    flex-shrink: 0;
}
.portal-accordion[open] .portal-accordion-chevron {
    transform: rotate(-135deg);
    margin-top: 0.2rem;
}
.portal-accordion-body {
    padding: 0 1.25rem 1.25rem;
    border-top: 1px solid #f1f5f9;
    padding-top: 1rem;
}

/* Bootstrap collapse — Tailwind .collapse (visibility:collapse) ezmesin */
.collapse:not(.show) {
    display: none !important;
    visibility: visible !important;
    height: 0 !important;
    overflow: hidden !important;
}
.collapse.show {
    display: block !important;
    visibility: visible !important;
    height: auto !important;
    overflow: visible !important;
}
.collapsing {
    visibility: visible !important;
}
.navbar-collapse.collapse:not(.show) {
    display: none !important;
}
@media (min-width: 992px) {
    .navbar-expand .navbar-collapse.collapse {
        display: flex !important;
        height: auto !important;
        overflow: visible !important;
    }
}

#attendanceTeamsModal .accordion-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
#attendanceTeamsModal .attendance-team-count {
    flex: 0 0 auto;
    min-width: 3.25rem;
    margin-right: 0.75rem;
    text-align: right;
    white-space: nowrap;
}
#attendanceTeamsModal .accordion-button::after {
    position: absolute;
    right: 1rem;
}

@media (max-width: 1199.98px) {
    .nav-header .akademi-brand-name { font-size: 0.84rem; max-width: 9rem; }
}

/* Akademi esintili portal kabuğu */
.akademi-portal {
    --akademi-coral: #009596;
    --akademi-coral-dark: #007778;
    --akademi-violet: #008687;
    --akademi-ink: #071f36;
    --akademi-muted: #52677e;
    --akademi-canvas: #f3f7fa;
    --akademi-line: #d7e1e8;
    --akademi-amber: #e5a116;
    --akademi-blue: #075fc7;
    --akademi-sky: #2587d9;
    --akademi-blue-soft: #e8f3fc;
    --akademi-green: #009463;
    --akademi-purple: #7040bd;
    --akademi-navy: #064d70;
    --primary: #008687;
    --primary-hover: #006e70;
    --rgba-primary-1: rgba(0, 134, 135, 0.12);
    --rgba-primary-2: rgba(0, 134, 135, 0.22);
    background: var(--akademi-canvas);
    color: var(--akademi-ink);
}
.akademi-portal #main-wrapper {
    background: var(--akademi-canvas);
}
.akademi-portal .nav-header,
.akademi-portal .deznav {
    background: linear-gradient(180deg, #032945 0%, #06446b 100%) !important;
    border-right: 0;
    box-shadow: none;
}
.akademi-portal .nav-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.akademi-portal .nav-header .brand-logo {
    padding: 0 1.55rem;
}
.akademi-portal .nav-header .brand-title,
.akademi-portal .nav-header .logo-compact {
    filter: grayscale(1) brightness(0) invert(1);
    opacity: 0.96;
}
.akademi-portal .nav-header .logo-abbr {
    width: 44px;
    height: 44px;
    padding: 8px;
    border-radius: 15px;
    background: #fff;
}
.akademi-portal .nav-header .portal-company-logo[src*="otek-medya-yatay-renkli-beyaz"] {
    width: 8.05rem !important;
    min-width: 8.05rem !important;
    max-width: 8.05rem !important;
    height: 2.975rem !important;
    padding: 0 !important;
    border-radius: 0 !important;
    object-fit: contain !important;
    background: transparent !important;
}
.akademi-portal .header {
    background: rgba(255, 255, 255, 0.96) !important;
    border-bottom: 1px solid var(--akademi-line);
    box-shadow: none;
    backdrop-filter: blur(12px);
}

.ak-data-table .ak-employee-actions-heading,
.ak-data-table .ak-employee-actions-cell {
    width: 4.5rem;
    min-width: 4.5rem;
    padding-left: .5rem !important;
    padding-right: 1rem !important;
    text-align: right;
}

.ak-employee-actions {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: .4rem;
    width: 100%;
}

.ak-employee-actions .ak-row-action,
.ak-employee-actions .btn {
    flex: 0 0 2.25rem;
    width: 2.25rem;
    height: 2.25rem;
    margin: 0 !important;
}
.akademi-portal .header .header-content {
    padding-left: 2rem;
    padding-right: 2rem;
}
.akademi-portal .header-left .dashboard_bar {
    color: var(--akademi-ink);
    font-size: 1.55rem;
    font-weight: 700;
    letter-spacing: -0.025em;
}
.akademi-portal .header-left p,
.akademi-portal .header-info small {
    color: var(--akademi-muted) !important;
}
.akademi-portal .header-profile .nav-link {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.35rem 0.55rem;
    border-radius: 14px;
}
.akademi-portal .header-profile .nav-link:hover {
    background: #fff;
}
.akademi-avatar {
    display: inline-flex;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: var(--akademi-violet);
    color: #fff;
    font-weight: 700;
    box-shadow: 0 7px 18px rgba(47, 111, 109, 0.2);
}
.akademi-portal .header-info {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}
.akademi-portal .header-info small {
    max-width: 130px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.7rem;
}
.akademi-profile-chevron {
    color: var(--akademi-muted);
    font-size: 0.65rem;
}
.akademi-role-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 0.8rem;
    border-radius: 12px;
    background: #fff;
    color: var(--akademi-blue);
    border: 1px solid var(--akademi-line);
    font-size: 0.76rem;
    font-weight: 500;
}
.akademi-portal .header-right {
    display: flex;
    align-items: center;
    gap: 0.55rem;
}
.akademi-search-item { min-width: clamp(220px, 20vw, 330px); }
.akademi-search {
    display: flex;
    width: 100%;
    height: 44px;
    align-items: center;
    gap: 0.65rem;
    padding: 0 0.75rem 0 0.95rem;
    border: 1px solid var(--akademi-line);
    border-radius: 14px;
    background: #fff;
    color: var(--akademi-muted);
    transition: border-color .2s, box-shadow .2s;
}
.akademi-search:focus-within {
    border-color: rgba(47, 111, 109, .35);
    box-shadow: 0 0 0 3px rgba(47, 111, 109, .08);
}
.akademi-search input {
    min-width: 0;
    flex: 1;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--akademi-ink);
    font-size: 0.76rem;
}
.akademi-search input::placeholder { color: #bbb8c9; }
.akademi-search kbd {
    padding: 0.18rem 0.4rem;
    border: 1px solid var(--akademi-line);
    border-radius: 6px;
    background: #f8f8fd;
    color: #aaa7bc;
    font-family: inherit;
    font-size: 0.58rem;
}
.akademi-header-action {
    position: relative;
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid var(--akademi-line);
    border-radius: 14px;
    background: #fff;
    color: var(--akademi-violet);
    font-size: 1rem;
}
.akademi-header-action span {
    position: absolute;
    top: 9px;
    right: 9px;
    width: 7px;
    height: 7px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: var(--akademi-coral);
    box-sizing: content-box;
}
.portal-notification-bell {
    transition: color .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.portal-notification-bell:hover {
    transform: translateY(-1px);
}
.portal-notification-bell.has-unread {
    border-color: #ef4444;
    background: linear-gradient(145deg, #ef4444, #dc2626);
    color: #fff;
    box-shadow: 0 8px 22px rgba(220, 38, 38, .28);
}
.portal-notification-bell.has-unread > i {
    font-weight: 900;
}
.portal-notification-bell #portal-notification-count {
    top: -7px;
    right: -7px;
    display: grid;
    place-items: center;
    width: auto;
    min-width: 22px;
    height: 22px;
    padding: 0 5px;
    border: 2px solid #fff;
    border-radius: 999px;
    background: #991b1b;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    line-height: 1;
    box-sizing: border-box;
}
.portal-notification-bell #portal-notification-count[hidden] {
    display: none;
}
.portal-notification-bell.has-unread::after {
    content: '';
    position: absolute;
    inset: -5px;
    border: 2px solid rgba(239, 68, 68, .35);
    border-radius: 18px;
    animation: portal-notification-pulse 2.1s ease-out infinite;
    pointer-events: none;
}
.portal-notification-bell.is-ringing > i {
    animation: portal-notification-ring .55s ease-in-out 3;
    transform-origin: 50% 0;
}
@keyframes portal-notification-pulse {
    0% { opacity: .8; transform: scale(.88); }
    75%, 100% { opacity: 0; transform: scale(1.18); }
}
@keyframes portal-notification-ring {
    0%, 100% { transform: rotate(0); }
    25% { transform: rotate(14deg); }
    75% { transform: rotate(-14deg); }
}
@media (prefers-reduced-motion: reduce) {
    .portal-notification-bell.has-unread::after,
    .portal-notification-bell.is-ringing > i { animation: none; }
}
.ak-mobile-page-title {
    display: none;
    flex-direction: column;
    margin-bottom: 1rem;
}
.ak-mobile-page-title span { color: var(--akademi-ink); font-size: 1.15rem; font-weight: 700; }
.ak-mobile-page-title small { color: var(--akademi-muted); }
.akademi-portal .deznav .metismenu {
    padding: 0.75rem 0.9rem 1.5rem;
}
.akademi-portal .deznav .metismenu > li > a {
    display: flex;
    align-items: center;
    gap: 0.72rem;
    margin: 0.18rem 0;
    padding: 0.72rem 0.82rem;
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.84rem;
    font-weight: 500;
    line-height: 1.25;
}
.akademi-portal .deznav .metismenu > li > a .nav-text {
    width: auto;
    max-width: none;
    flex: 1 1 auto;
    white-space: nowrap;
}
.akademi-portal .deznav .metismenu > li > a i {
    color: rgba(255, 255, 255, 0.9);
}
.akademi-portal .deznav .metismenu > li:hover > a {
    background: rgba(8, 150, 151, 0.22);
    color: #fff;
}
.akademi-portal .deznav .metismenu > li.mm-active > a,
.akademi-portal .deznav .metismenu > li > a.mm-active,
.akademi-portal .deznav .metismenu > li.mm-open > a,
.akademi-portal .deznav .metismenu > li > a[aria-expanded="true"] {
    background: linear-gradient(135deg, #087fa7, #00a09c) !important;
    color: #fff !important;
    box-shadow: 0 9px 20px rgba(0, 19, 35, 0.24);
}
.akademi-portal .deznav .metismenu > li.mm-active > a i,
.akademi-portal .deznav .metismenu > li.mm-open > a i,
.akademi-portal .deznav .metismenu > li > a[aria-expanded="true"] i {
    color: #fff !important;
}
.akademi-portal .deznav .metismenu > li.mm-active > a .nav-text,
.akademi-portal .deznav .metismenu > li.mm-open > a .nav-text,
.akademi-portal .deznav .metismenu > li > a.mm-active .nav-text,
.akademi-portal .deznav .metismenu > li > a[aria-expanded="true"] .nav-text {
    color: #fff !important;
    opacity: 1 !important;
}
.akademi-portal .deznav .metismenu > li.mm-active > a i::before,
.akademi-portal .deznav .metismenu > li.mm-active > a i::after,
.akademi-portal .deznav .metismenu > li.mm-open > a i::before,
.akademi-portal .deznav .metismenu > li.mm-open > a i::after,
.akademi-portal .deznav .metismenu > li > a[aria-expanded="true"] i::before,
.akademi-portal .deznav .metismenu > li > a[aria-expanded="true"] i::after {
    color: #fff !important;
}
.akademi-portal .deznav .nav-label {
    padding: 1rem 0.9rem 0.35rem;
    color: #9bbdd0;
    letter-spacing: 0.08em;
}
.akademi-portal .deznav .nav-label .nav-text {
    color: #9bbdd0 !important;
    font-size: 0.68rem;
    font-weight: 700;
    opacity: 1 !important;
}
.akademi-portal .deznav .metismenu ul {
    margin: 0.25rem 0.3rem 0.5rem 1rem;
    padding: 0.3rem;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
}
.akademi-portal .deznav .metismenu ul.mm-collapse:not(.mm-show) {
    height: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    border-left-color: transparent;
}
.akademi-portal .deznav .metismenu ul a {
    border-radius: 9px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.76rem;
    line-height: 1.25;
}
.akademi-portal .deznav .metismenu ul a.mm-active {
    background: rgba(37, 135, 217, 0.28);
    color: #fff !important;
    font-weight: 600;
}
.akademi-portal .deznav .copyright {
    color: rgba(255, 255, 255, 0.55);
}
.akademi-portal .deznav .metismenu a,
.akademi-portal .deznav .metismenu a .nav-text,
.akademi-portal .deznav .metismenu a i,
.akademi-portal .deznav .metismenu a i::before,
.akademi-portal .deznav .metismenu a i::after,
.akademi-portal .deznav .metismenu .nav-label,
.akademi-portal .deznav .metismenu .nav-label .nav-text,
.akademi-portal .deznav .metismenu button,
.akademi-portal .deznav .metismenu button .nav-text,
.akademi-portal .deznav .copyright,
.akademi-portal .deznav .copyright p,
.akademi-portal .deznav .copyright strong {
    color: #fff !important;
    opacity: 1 !important;
}

/* Sol menü okunabilirliği: tüm seviyelerde ve tüm aktif/açık durumlarda yazı beyaz kalır. */
.akademi-portal #portal-sidebar .metismenu a,
.akademi-portal #portal-sidebar .metismenu a .nav-text,
.akademi-portal #portal-sidebar .metismenu li.mm-open > a,
.akademi-portal #portal-sidebar .metismenu li.mm-open > a .nav-text,
.akademi-portal #portal-sidebar .metismenu li.mm-active > a,
.akademi-portal #portal-sidebar .metismenu li.mm-active > a .nav-text,
.akademi-portal #portal-sidebar .metismenu a[aria-expanded="true"],
.akademi-portal #portal-sidebar .metismenu a[aria-expanded="true"] .nav-text,
.akademi-portal #portal-sidebar .metismenu button,
.akademi-portal #portal-sidebar .metismenu button .nav-text {
    color: #f8fafc !important;
    opacity: 1 !important;
}
.akademi-portal #portal-sidebar .metismenu a i,
.akademi-portal #portal-sidebar .metismenu a i::before,
.akademi-portal #portal-sidebar .metismenu a i::after,
.akademi-portal #portal-sidebar .metismenu .has-arrow::after {
    color: #f8fafc !important;
}
.akademi-portal .content-body {
    background: var(--akademi-canvas);
}
@media (min-width: 992px) {
    .akademi-portal {
        --dz-sidebar-width: 15.5rem;
    }

    .akademi-portal .nav-header,
    .akademi-portal .deznav,
    .akademi-portal .header,
    .akademi-portal .content-body {
        transition: none !important;
    }

    .akademi-portal .nav-header .nav-control {
        display: none !important;
    }
}
.akademi-portal .content-body .container-fluid {
    padding: 2rem;
}
.akademi-portal .content-body h1,
.akademi-portal .content-body h2,
.akademi-portal .content-body h3,
.akademi-portal .content-body h4,
.akademi-portal .content-body h5,
.akademi-portal .content-body .text-black {
    color: var(--akademi-ink) !important;
}
.akademi-portal .content-body .card,
.akademi-portal .content-body .otek-card,
.akademi-portal .portal-accordion {
    border: 0;
    border-radius: 18px;
    box-shadow: 0 9px 30px rgba(10, 39, 64, 0.1);
    background: #fff;
}
.akademi-portal .content-body .card-header {
    padding: 1.3rem 1.45rem;
    background: transparent;
    border-color: var(--akademi-line);
}
.akademi-portal .content-body .card-body {
    padding: 1.45rem;
}
.akademi-portal .content-body .btn.btn-primary,
.akademi-portal button.btn.btn-primary,
.akademi-portal .otek-btn {
    background: var(--akademi-coral) !important;
    border-color: var(--akademi-coral) !important;
    border-radius: 11px;
    box-shadow: 0 7px 16px rgba(251, 125, 91, 0.2);
}
.akademi-portal .content-body .btn.btn-primary:hover,
.akademi-portal button.btn.btn-primary:hover,
.akademi-portal .otek-btn:hover {
    background: var(--akademi-coral-dark) !important;
    border-color: var(--akademi-coral-dark) !important;
}
.akademi-portal .content-body .table {
    --bs-table-bg: transparent;
    color: #63648a;
}
.akademi-portal .content-body .table thead th {
    padding-top: 0.9rem;
    padding-bottom: 0.9rem;
    border-bottom: 1px solid var(--akademi-line);
    color: var(--akademi-ink);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.035em;
}
.akademi-portal .content-body .table tbody td {
    padding-top: 1rem;
    padding-bottom: 1rem;
    border-color: #f0f0f8;
}
.akademi-portal .content-body .form-control,
.akademi-portal .content-body .form-select,
.akademi-portal .content-body .otek-input {
    min-height: 44px;
    border-color: var(--akademi-line);
    border-radius: 11px;
}
.akademi-portal .content-body .form-control:focus,
.akademi-portal .content-body .form-select:focus,
.akademi-portal .content-body .otek-input:focus {
    border-color: var(--akademi-coral);
    box-shadow: 0 0 0 3px rgba(251, 125, 91, 0.14);
}
.akademi-portal .dropdown-menu {
    border: 0;
    border-radius: 14px;
    box-shadow: 0 14px 38px rgba(48, 57, 114, 0.13);
}
.akademi-portal .modal-content {
    overflow: hidden;
    border: 0;
    border-radius: 20px;
    box-shadow: 0 24px 60px rgba(48, 57, 114, .18);
}
.akademi-portal .modal-header,
.akademi-portal .modal-footer {
    padding: 1.15rem 1.35rem;
    border-color: var(--akademi-line);
}
.akademi-portal .modal-body { padding: 1.35rem; }
.akademi-portal .pagination { gap: 0.35rem; }
.akademi-portal .page-link {
    display: grid;
    min-width: 36px;
    height: 36px;
    place-items: center;
    padding: 0.35rem;
    border: 0;
    border-radius: 10px !important;
    color: var(--akademi-muted);
}
.akademi-portal .page-item.active .page-link {
    background: var(--akademi-violet);
    color: #fff;
    box-shadow: 0 6px 14px rgba(47, 111, 109, .2);
}
.akademi-portal .nav-tabs {
    gap: 0.35rem;
    padding: 0.3rem;
    border: 0;
    border-radius: 13px;
    background: #f5f5fb;
}
.akademi-portal .nav-tabs .nav-link {
    border: 0;
    border-radius: 10px;
    color: var(--akademi-muted);
    font-size: 0.78rem;
    font-weight: 600;
}
.akademi-portal .nav-tabs .nav-link.active {
    background: #fff;
    color: var(--akademi-violet);
    box-shadow: 0 4px 12px rgba(48, 57, 114, .08);
}
.akademi-portal .portal-sidebar-backdrop { display: none; }
@media (max-width: 991.98px) {
    .akademi-portal .portal-sidebar-backdrop {
        display: none;
        position: fixed;
        inset: 0;
        z-index: 1000;
        border: 0;
        padding: 0;
        background: rgba(48,57,114,.28);
    }
    .akademi-portal #main-wrapper.menu-toggle .portal-sidebar-backdrop {
        display: block;
    }
    .ak-mobile-page-title {
        display: flex;
    }

    .akademi-portal .nav-header {
        width: 78px !important;
        z-index: 1002;
    }
    .akademi-portal .nav-header .brand-logo {
        display: none;
    }
    .akademi-portal .nav-header .nav-control {
        right: auto;
        left: 20px;
    }
    .akademi-portal .header {
        width: calc(100% - 78px) !important;
        margin-left: 78px !important;
    }
    .akademi-portal .deznav {
        position: fixed !important;
        top: 0;
        left: -285px !important;
        z-index: 1001;
        width: 270px !important;
        height: 100vh !important;
        padding-top: 78px;
        transition: left .25s ease;
        box-shadow: 12px 0 35px rgba(48,57,114,.14);
    }
    .akademi-portal #main-wrapper.menu-toggle .deznav {
        left: 0 !important;
        overflow: hidden auto !important;
    }
    /* Ana temanın `menu-toggle` kuralı masaüstünde menüyü daraltmak için
       metinleri gizliyor. Mobilde aynı sınıf çekmeceyi açtığından etiketler
       ve alt menüler daima tam genişlikte görünür kalmalı. */
    .akademi-portal #main-wrapper.menu-toggle .deznav .nav-text,
    .akademi-portal #main-wrapper.menu-toggle .deznav .badge,
    .akademi-portal #main-wrapper.menu-toggle .deznav .copyright {
        display: initial !important;
    }
    .akademi-portal #main-wrapper.menu-toggle .deznav .deznav-scroll {
        overflow: hidden auto !important;
    }
    .akademi-portal #main-wrapper.menu-toggle .deznav .metismenu > li > a {
        justify-content: flex-start !important;
        width: auto !important;
    }
    /* Mobil çekmecede ana temanın dar/ikon menü flyout stilini iptal et.
       Alt menüler beyaz, mutlak konumlu bir kutu yerine çekmecenin içinde
       aynı lacivert yüzeyde akordeon olarak açılır. */
    .akademi-portal #portal-sidebar .metismenu ul.mm-collapse,
    .akademi-portal #main-wrapper.menu-toggle #portal-sidebar .metismenu ul.mm-collapse {
        position: static !important;
        inset: auto !important;
        width: auto !important;
        min-width: 0 !important;
        max-width: none !important;
        margin: 0.2rem 0.55rem 0.55rem 1rem !important;
        padding: 0.3rem !important;
        border: 0 !important;
        border-left: 1px solid rgba(255, 255, 255, 0.22) !important;
        border-radius: 0 !important;
        background: transparent !important;
        background-color: transparent !important;
        box-shadow: none !important;
        transform-origin: top !important;
    }
    .akademi-portal #portal-sidebar .metismenu ul.mm-collapse.mm-show {
        display: block !important;
    }
    .akademi-portal #portal-sidebar .metismenu ul.mm-collapse:not(.mm-show):not(.is-animating),
    .akademi-portal #main-wrapper.menu-toggle #portal-sidebar .metismenu ul.mm-collapse:not(.mm-show):not(.is-animating) {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        border-left-color: transparent !important;
    }
    .akademi-portal #portal-sidebar .metismenu ul.mm-collapse a,
    .akademi-portal #portal-sidebar .metismenu ul.mm-collapse a .nav-text {
        color: #f8fafc !important;
        background-color: transparent;
        opacity: 1 !important;
        white-space: normal !important;
    }
    .akademi-portal #portal-sidebar .metismenu ul.mm-collapse a.mm-active {
        color: #fff !important;
        background: rgba(37, 135, 217, 0.28) !important;
    }
    .akademi-portal .content-body {
        width: 100% !important;
        margin-left: 0 !important;
    }
    .akademi-portal .header .header-content,
    .akademi-portal .content-body .container-fluid {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .akademi-portal .header-left .dashboard_bar {
        font-size: 1.15rem;
    }
    .akademi-portal .header-info,
    .akademi-profile-chevron {
        display: none;
    }
}

/* Akademi dashboard kompozisyonu */
.ak-page-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 1.8rem;
}
.ak-eyebrow,
.ak-panel-kicker {
    display: block;
    margin-bottom: 0.3rem;
    color: var(--akademi-coral);
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}
.ak-page-heading h2 {
    margin: 0;
    font-size: clamp(1.5rem, 2.1vw, 2rem);
    font-weight: 700;
    letter-spacing: -0.035em;
}
.ak-page-heading p {
    margin: 0.35rem 0 0;
    color: var(--akademi-muted);
}
.ak-heading-date {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    min-width: 205px;
    padding: 0.75rem 1rem;
    border: 1px solid var(--akademi-line);
    border-radius: 15px;
    background: #fff;
}
.ak-date-icon {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border-radius: 12px;
    background: var(--akademi-blue-soft);
    color: var(--akademi-blue);
}
.ak-heading-date div { display: flex; flex-direction: column; }
.ak-heading-date small { color: var(--akademi-muted); font-size: 0.68rem; }
.ak-heading-date strong { color: var(--akademi-ink); font-size: 0.8rem; }
.ak-dashboard-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(285px, 0.78fr);
    gap: 1.5rem;
    align-items: start;
}
.ak-dashboard-main,
.ak-dashboard-side {
    display: grid;
    gap: 1.5rem;
    min-width: 0;
}
.ak-kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}
.ak-kpi-card {
    display: flex;
    min-width: 0;
    min-height: 138px;
    align-items: center;
    gap: 0.9rem;
    padding: 1.25rem;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 30px rgba(48, 57, 114, 0.055);
}
.ak-kpi-icon {
    display: grid;
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    font-size: 1.35rem;
}
.ak-tone-violet .ak-kpi-icon { background: var(--akademi-navy); }
.ak-tone-orange .ak-kpi-icon { background: var(--akademi-green); }
.ak-tone-yellow .ak-kpi-icon { background: var(--akademi-purple); }
.ak-tone-blue .ak-kpi-icon { background: var(--akademi-amber); }
.ak-kpi-copy { display: flex; min-width: 0; flex-direction: column; }
.ak-kpi-copy > span { color: var(--akademi-muted); font-size: 0.72rem; white-space: nowrap; }
.ak-kpi-copy strong { color: var(--akademi-ink); font-size: 1.65rem; line-height: 1.25; }
.ak-kpi-copy small { color: #bbb8c9; font-size: 0.62rem; white-space: nowrap; }
.ak-panel {
    padding: 1.4rem;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 30px rgba(48, 57, 114, 0.055);
}
.ak-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.2rem;
}
.ak-panel-head h3 {
    margin: 0;
    color: var(--akademi-ink);
    font-size: 1.05rem;
    font-weight: 700;
}
.ak-chart-legend { display: flex; gap: 1rem; color: var(--akademi-muted); font-size: 0.7rem; }
.ak-chart-legend span { display: flex; align-items: center; gap: 0.4rem; }
.ak-dot { width: 8px; height: 8px; border-radius: 50%; }
.ak-dot-violet { background: var(--akademi-violet); }
.ak-dot-orange { background: var(--akademi-coral); }
.ak-chart-large { height: 305px; }
.ak-chart-medium { height: 245px; }
.ak-chart-donut { position: relative; height: 245px; }
.ak-bottom-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}
.ak-text-link {
    color: var(--akademi-coral);
    font-size: 0.7rem;
    font-weight: 600;
}
.ak-text-link i { margin-left: 0.25rem; font-size: 0.6rem; }
.ak-donut-wrap { position: relative; }
.ak-donut-summary {
    position: absolute;
    top: 45%;
    left: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: translate(-50%, -50%);
    pointer-events: none;
}
.ak-donut-summary strong { color: var(--akademi-ink); font-size: 1.55rem; line-height: 1; }
.ak-donut-summary span { margin-top: 0.3rem; color: var(--akademi-muted); font-size: 0.62rem; }
.ak-dashboard-side #portal-announcements { margin: 0 !important; }
.ak-dashboard-side #portal-announcements .pa-box {
    border: 0 !important;
    border-radius: 18px !important;
    box-shadow: 0 8px 30px rgba(48, 57, 114, 0.055);
}
.ak-dashboard-side #portal-announcements .pa-box > summary { padding: 1rem 1.1rem; background: #edf8f8 !important; }
.ak-dashboard-side #portal-announcements {
    background: transparent;
    border: 0;
}
.ak-dashboard-side #portal-announcements .pa-icon { background: #dcefee; color: var(--akademi-violet); }
.ak-calendar-card {
    position: relative;
    overflow: hidden;
    background: linear-gradient(145deg, #087d94 0%, #0767a5 100%);
    color: #fff;
}
.ak-calendar-card::after {
    content: "";
    position: absolute;
    right: -45px;
    bottom: -65px;
    width: 155px;
    height: 155px;
    border: 28px solid rgba(255,255,255,.08);
    border-radius: 50%;
}
.ak-calendar-top { display: flex; align-items: flex-start; justify-content: space-between; }
.ak-calendar-top div { display: flex; flex-direction: column; }
.ak-calendar-top span { font-size: 0.82rem; text-transform: capitalize; opacity: .8; }
.ak-calendar-top strong { font-size: 2.8rem; line-height: 1; }
.ak-calendar-top > i { font-size: 1.6rem; opacity: .65; }
.ak-calendar-card p { margin: 0.5rem 0 1.3rem; font-weight: 600; text-transform: capitalize; }
.ak-calendar-card small { position: relative; z-index: 1; color: rgba(255,255,255,.75); }
.ak-calendar-progress { height: 6px; margin-bottom: 0.55rem; overflow: hidden; border-radius: 10px; background: rgba(255,255,255,.18); }
.ak-calendar-progress span { display: block; height: 100%; border-radius: inherit; background: var(--akademi-amber); }
.ak-quick-list { display: grid; gap: 0.35rem; }
.ak-quick-list a {
    display: grid;
    grid-template-columns: 40px 1fr auto;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem;
    border-radius: 12px;
    color: var(--akademi-ink);
}
.ak-quick-list a:hover { background: #eef7fd; color: var(--akademi-blue); }
.ak-quick-list a > span {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border-radius: 12px;
    background: var(--akademi-blue-soft);
    color: var(--akademi-blue);
}
.ak-quick-list a:nth-child(2) > span { background: #e6f6f4; color: var(--akademi-violet); }
.ak-quick-list a:nth-child(3) > span { background: #edf0fc; color: #4d63b5; }
.ak-quick-list a:nth-child(4) > span { background: #e8f3fc; color: var(--akademi-sky); }
.ak-quick-list strong { font-size: 0.76rem; font-weight: 600; }
.ak-quick-list > a > i { color: #c5c2d3; font-size: 0.58rem; }
.ak-primary-action {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    padding: .75rem 1.05rem;
    border-radius: 12px;
    background: var(--akademi-coral);
    color: #fff !important;
    font-size: .76rem;
    font-weight: 600;
    box-shadow: 0 8px 18px rgba(251, 125, 91, .22);
}
.ak-manager-grid,
.ak-employee-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
    gap: 1.5rem;
}
.ak-manager-hero {
    display: flex;
    min-height: 270px;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
    background: linear-gradient(135deg, #006f72 0%, #009596 100%);
    color: #fff;
}
.ak-manager-hero .ak-panel-kicker { color: var(--akademi-amber); }
.ak-manager-hero h3 { color: #fff !important; font-size: 1.65rem; }
.ak-manager-hero p { max-width: 430px; color: rgba(255,255,255,.7); }
.ak-manager-ring {
    display: grid;
    width: 145px;
    height: 145px;
    flex: 0 0 145px;
    place-content: center;
    border: 14px solid rgba(255,255,255,.16);
    border-top-color: var(--akademi-amber);
    border-radius: 50%;
    text-align: center;
}
.ak-manager-ring strong { font-size: 2rem; line-height: 1; }
.ak-manager-ring span { margin-top: .35rem; font-size: .68rem; opacity: .7; }
.ak-approval-list { display: grid; }
.ak-approval-list a {
    display: grid;
    grid-template-columns: 42px 1fr auto;
    align-items: center;
    gap: .8rem;
    padding: .9rem 0;
    border-bottom: 1px solid #f0f0f8;
}
.ak-approval-list a:last-child { border: 0; }
.ak-mini-icon {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 12px;
    color: #fff;
}
.ak-mini-icon.ak-tone-violet { background: var(--akademi-navy); }
.ak-mini-icon.ak-tone-orange { background: var(--akademi-green); }
.ak-mini-icon.ak-tone-yellow { background: var(--akademi-purple); }
.ak-mini-icon.ak-tone-blue { background: var(--akademi-amber); }
.ak-approval-list a div { display: flex; flex-direction: column; }
.ak-approval-list strong { color: var(--akademi-ink); font-size: .76rem; }
.ak-approval-list small { color: var(--akademi-muted); font-size: .62rem; }
.ak-approval-list b { color: var(--akademi-violet); font-size: 1rem; }
.ak-service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.ak-service-card {
    display: grid;
    grid-template-columns: 52px 1fr auto;
    min-height: 125px;
    align-items: center;
    gap: .9rem;
    padding: 1.2rem;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 30px rgba(48, 57, 114, .055);
    transition: transform .2s, box-shadow .2s;
}
.ak-service-card:hover { transform: translateY(-3px); box-shadow: 0 14px 35px rgba(48,57,114,.1); }
.ak-service-icon {
    display: grid;
    width: 52px;
    height: 52px;
    place-items: center;
    border-radius: 15px;
    color: #fff;
    font-size: 1.1rem;
}
.ak-service-icon.ak-tone-violet { background: var(--akademi-navy); }
.ak-service-icon.ak-tone-orange { background: var(--akademi-green); }
.ak-service-icon.ak-tone-yellow { background: var(--akademi-purple); }
.ak-service-icon.ak-tone-blue { background: var(--akademi-amber); }
.ak-service-card h3 { margin: 0 0 .3rem; color: var(--akademi-ink); font-size: .85rem; }
.ak-service-card p { margin: 0; color: var(--akademi-muted); font-size: .65rem; line-height: 1.5; }
.ak-service-card > i { color: #cbc8d8; font-size: .7rem; }
.ak-request-list { display: grid; }
.ak-request-list > div {
    display: grid;
    grid-template-columns: 46px 1fr auto;
    align-items: center;
    gap: .85rem;
    padding: .8rem 0;
    border-bottom: 1px solid #f0f0f8;
}
.ak-request-list > div:last-child { border: 0; }
.ak-request-date {
    display: flex;
    width: 46px;
    height: 46px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #f0effb;
}
.ak-request-date strong { color: var(--akademi-violet); line-height: 1; }
.ak-request-date small { color: var(--akademi-muted); font-size: .58rem; text-transform: uppercase; }
.ak-request-list p { display: flex; margin: 0; flex-direction: column; }
.ak-request-list p strong { color: var(--akademi-ink); font-size: .76rem; }
.ak-request-list p small { color: var(--akademi-muted); font-size: .65rem; }
.ak-profile-prompt {
    position: relative;
    overflow: hidden;
    background: #fff7f4;
}
.ak-profile-illustration {
    display: grid;
    width: 72px;
    height: 72px;
    margin-bottom: 1.25rem;
    place-items: center;
    border-radius: 22px;
    background: var(--akademi-coral);
    color: #fff;
    font-size: 1.8rem;
    transform: rotate(-4deg);
}
.ak-profile-prompt h3 { color: var(--akademi-ink); font-size: 1.15rem; }
.ak-profile-prompt p { color: var(--akademi-muted); font-size: .74rem; line-height: 1.7; }
.ak-profile-prompt a { color: var(--akademi-coral); font-size: .74rem; font-weight: 700; }
.ak-empty-state {
    display: flex;
    min-height: 190px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--akademi-muted);
    text-align: center;
}
.ak-empty-state i { margin-bottom: .7rem; color: #d8d5e4; font-size: 2rem; }
.ak-empty-state strong { color: var(--akademi-ink); font-size: .8rem; }
.ak-empty-state span { margin-top: .25rem; font-size: .68rem; }

/* İzin işlemleri boşken içerik kartı dolu durumla aynı dengeli ölçüyü korur. */
.employee-leaves-workspace,
.employee-leaves-list {
    min-height: 34rem;
}
.employee-leaves-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
}
.employee-leaves-layout.has-balances {
    grid-template-columns: minmax(0, 3fr) minmax(17rem, 1fr);
}
.employee-leaves-list {
    min-width: 0;
    padding: 1.5rem;
}
.employee-leaves-layout.has-balances .employee-leaves-list {
    border-right: 1px solid #edf2f7;
}
.employee-leaves-balances {
    min-width: 0;
    padding: 1.5rem;
}
.employee-leaves-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #edf2f7;
}
.employee-leaves-toolbar h3 {
    margin: 0;
    color: var(--akademi-ink);
    font-size: 1rem;
    font-weight: 700;
}
.employee-leaves-toolbar p {
    margin: .25rem 0 0;
    color: #718096;
    font-size: .75rem;
}
.employee-leaves-export {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    min-height: 2.5rem;
    padding: .6rem .9rem;
    border: 1px solid #dce5ed;
    border-radius: .75rem;
    background: #f8fafc;
    color: #526276;
    font-size: .78rem;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
}
.employee-leaves-export:hover {
    border-color: #b8d8d6;
    background: #eefbfa;
    color: #087f7c;
}
.employee-leaves-table-wrap {
    width: 100%;
    overflow-x: auto;
}
.employee-leaves-empty {
    display: flex;
    min-height: 25rem;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    padding: 2rem;
    border: 1px dashed #d9e3ec;
    border-radius: 1rem;
    background: linear-gradient(145deg, #fbfdff 0%, #f5fbfb 100%);
    color: #718096;
    text-align: center;
}
.employee-leaves-empty-icon {
    display: inline-flex;
    width: 4rem;
    height: 4rem;
    margin-bottom: .35rem;
    align-items: center;
    justify-content: center;
    border-radius: 1.15rem;
    background: #e9f8f7;
    color: #0b9b97;
    font-size: 1.75rem;
}
.employee-leaves-empty strong {
    color: var(--akademi-ink);
    font-size: 1.05rem;
}
.employee-leaves-empty span {
    max-width: 28rem;
    font-size: .8rem;
    line-height: 1.6;
}
.employee-leaves-empty .employee-leaves-empty-action {
    width: auto;
    margin-top: .65rem;
}
@media (max-width: 991.98px) {
    .employee-leaves-layout.has-balances {
        grid-template-columns: minmax(0, 1fr);
    }
    .employee-leaves-layout.has-balances .employee-leaves-list {
        border-right: 0;
        border-bottom: 1px solid #edf2f7;
    }
}
@media (max-width: 767.98px) {
    .employee-leaves-workspace,
    .employee-leaves-list {
        min-height: 30rem;
    }
    .employee-leaves-empty {
        min-height: 17rem;
        padding-inline: 1rem;
    }
    .employee-leaves-list,
    .employee-leaves-balances {
        padding: 1rem;
    }
    .employee-leaves-toolbar {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* Filtre ve arama kontrolleri: metin hiçbir genişlikte düğmenin içine sıkışmaz. */
.akademi-portal .content-body form[method="GET"] :where(button,.btn,.otek-btn,.ak-primary-action,a.btn,a.ak-filter-reset),
.akademi-portal .content-body :where(.document-filter-actions,.annual-filter-actions,.inventory-filter-actions) :where(button,a) {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: .35rem;
    padding: .65rem 1rem;
    line-height: 1.25;
    overflow: visible;
    text-align: center;
    text-overflow: clip;
    white-space: normal;
}
.akademi-portal .content-body form[method="GET"] :where(.ak-searchable-select,.ak-searchable-select__control) {
    min-width: 0;
    max-width: 100%;
}
.akademi-portal .content-body form[method="GET"] .ak-searchable-select.is-open {
    z-index: 1090;
}
.akademi-portal .content-body form[method="GET"] .ak-searchable-select__menu {
    z-index: 1091;
}
.akademi-portal .content-body :where(.otek-card,.ak-panel):has(.ak-searchable-select.is-open) {
    position: relative;
    z-index: 1089;
    overflow: visible;
}
@media (min-width: 768px) {
    .akademi-portal .content-body form[method="GET"] > :where(button,.btn,.otek-btn,.ak-primary-action,a.btn,a.ak-filter-reset) {
        min-width: max-content;
    }
}
@media (max-width: 767.98px) {
    .akademi-portal .content-body form[method="GET"] :where(button,.btn,.otek-btn,.ak-primary-action,a.btn,a.ak-filter-reset),
    .akademi-portal .content-body :where(.document-filter-actions,.annual-filter-actions,.inventory-filter-actions) :where(button,a) {
        width: 100%;
    }
}
.ak-success-alert {
    display: flex;
    align-items: center;
    gap: .65rem;
    margin-bottom: 1rem;
    padding: .85rem 1rem;
    border: 1px solid rgba(76,188,154,.22);
    border-radius: 13px;
    background: rgba(76,188,154,.08);
    color: #27866b;
    font-size: .76rem;
}
.ak-list-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.ak-list-stats > div {
    display: flex;
    align-items: center;
    gap: .85rem;
    padding: 1rem 1.15rem;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 30px rgba(48,57,114,.045);
}
.ak-stat-icon {
    display: grid;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    place-items: center;
    border-radius: 13px;
    color: #fff;
}
.ak-bg-violet { background: var(--akademi-violet); }
.ak-bg-green { background: var(--akademi-green); }
.ak-bg-orange { background: var(--akademi-coral); }
.ak-bg-yellow { background: var(--akademi-amber); }
.ak-list-stats p { display: flex; margin: 0; flex-direction: column; }
.ak-list-stats small { color: var(--akademi-muted); font-size: .66rem; }
.ak-list-stats strong { color: var(--akademi-ink); font-size: 1.15rem; line-height: 1.2; }
.ak-list-panel { padding: 0; overflow: hidden; }
.ak-list-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.15rem 1.35rem;
    border-bottom: 1px solid var(--akademi-line);
}
.ak-list-search {
    display: flex;
    width: min(390px, 100%);
    height: 43px;
    align-items: center;
    gap: .65rem;
    padding: 0 .9rem;
    border: 1px solid var(--akademi-line);
    border-radius: 12px;
    color: var(--akademi-muted);
}
.ak-list-search:focus-within { border-color: rgba(47,111,109,.4); box-shadow: 0 0 0 3px rgba(47,111,109,.07); }
.ak-list-search input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--akademi-ink); font-size: .74rem; }
.ak-list-search input::placeholder { color: #b9b6c8; }
.ak-list-meta { color: var(--akademi-muted); font-size: .7rem; }
.ak-list-meta b { color: var(--akademi-violet); }
.ak-data-table thead th { padding: 1rem 1.35rem !important; background: #fafafd; }
.ak-data-table tbody td { padding: .95rem 1.35rem !important; vertical-align: middle; }
.ak-data-table tbody tr { transition: background .15s; }
.ak-data-table tbody tr:hover { background: #fbfbfe; }
.ak-person-cell { display: flex; min-width: 210px; align-items: center; gap: .75rem; }
.ak-person-avatar {
    display: grid;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    place-items: center;
    border-radius: 13px;
    color: #fff;
    font-size: .72rem;
    font-weight: 700;
}
.ak-avatar-violet { background: var(--akademi-violet); }
.ak-avatar-orange { background: var(--akademi-coral); }
.ak-avatar-blue { background: var(--akademi-blue); }
.ak-avatar-green { background: var(--akademi-green); }
.ak-person-cell div { display: flex; min-width: 0; flex-direction: column; }
.ak-person-cell strong { color: var(--akademi-ink); font-size: .75rem; }
.ak-person-cell small { max-width: 210px; overflow: hidden; color: var(--akademi-muted); font-size: .62rem; text-overflow: ellipsis; white-space: nowrap; }
.ak-number-tag { color: var(--akademi-violet); font-size: .7rem; font-weight: 700; }
.ak-position { color: #62638b !important; font-size: .7rem; font-weight: 600; }
.ak-status-pill {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .35rem .6rem;
    border-radius: 999px;
    font-size: .62rem;
    font-weight: 600;
}
.ak-status-pill i { width: 6px; height: 6px; border-radius: 50%; }
.ak-status-pill.is-active { background: rgba(76,188,154,.1); color: #27866b; }
.ak-status-pill.is-active i { background: var(--akademi-green); }
.ak-status-pill.is-muted { background: #f0f0f5; color: #8b899d; }
.ak-status-pill.is-muted i { background: var(--akademi-muted); }
.ak-row-action {
    display: inline-grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 1px solid var(--akademi-line);
    border-radius: 10px;
    color: var(--akademi-violet);
    font-size: .58rem;
}
.ak-row-action:hover { border-color: var(--akademi-violet); background: var(--akademi-violet); color: #fff; }
.ak-no-results { display: flex; align-items: center; justify-content: center; gap: .6rem; padding: 2rem; color: var(--akademi-muted); font-size: .74rem; }
.ak-list-pagination {
    display: flex;
    justify-content: flex-end;
    padding: 1rem 1.35rem;
    border-top: 1px solid var(--akademi-line);
}
.ak-data-table .otek-badge {
    padding: .38rem .65rem;
    border-radius: 999px;
    font-size: .6rem;
    letter-spacing: 0;
    text-transform: none;
}
.ak-error-alert {
    display: flex;
    align-items: center;
    gap: .65rem;
    margin-bottom: 1rem;
    padding: .85rem 1rem;
    border: 1px solid rgba(239,68,68,.18);
    border-radius: 13px;
    background: rgba(239,68,68,.07);
    color: #b91c1c;
    font-size: .76rem;
}
.ak-approval-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(300px, .65fr);
    gap: 1.5rem;
    align-items: start;
}
.ak-approval-layout main { display: grid; gap: 1rem; }
.ak-section-heading { display: flex; align-items: center; justify-content: space-between; }
.ak-section-heading h3 { margin: 0; color: var(--akademi-ink); font-size: 1rem; }
.ak-section-heading > span { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 10px; background: #fff0ec; color: var(--akademi-coral); font-size: .7rem; font-weight: 700; }
.ak-approval-card {
    padding: 1.25rem;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 30px rgba(48,57,114,.055);
}
.ak-approval-person { display: flex; align-items: center; gap: .75rem; padding-bottom: 1rem; border-bottom: 1px solid #f0f0f8; }
.ak-approval-person > div { display: flex; flex: 1; flex-direction: column; }
.ak-approval-person strong { color: var(--akademi-ink); font-size: .8rem; }
.ak-approval-person small { color: var(--akademi-muted); font-size: .65rem; }
.ak-status-pill.is-pending { background: rgba(252,196,62,.13); color: #a87400; }
.ak-status-pill.is-pending i { background: var(--akademi-amber); }
.ak-leave-period {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1rem;
    margin: 1rem 0;
    padding: .9rem 1rem;
    border-radius: 13px;
    background: #f8f8fd;
}
.ak-leave-period > div { display: flex; flex-direction: column; }
.ak-leave-period > div:last-child { text-align: right; }
.ak-leave-period small { color: var(--akademi-muted); font-size: .6rem; }
.ak-leave-period strong { color: var(--akademi-ink); font-size: .78rem; }
.ak-leave-period > span { display: flex; align-items: center; gap: .45rem; color: #c2bfd0; }
.ak-leave-period b { padding: .28rem .5rem; border-radius: 7px; background: #eeedf9; color: var(--akademi-violet); font-size: .62rem; white-space: nowrap; }
.ak-request-reason { display: flex; gap: .55rem; margin: 0 0 .9rem; color: #777895; font-size: .7rem; }
.ak-request-reason i { color: var(--akademi-coral); }
.ak-approval-flow { display: flex; gap: 1rem; margin-bottom: 1rem; color: var(--akademi-muted); font-size: .63rem; }
.ak-approval-flow i { margin-right: .25rem; color: var(--akademi-green); }
.ak-approval-actions { display: flex; gap: .65rem; padding-top: 1rem; border-top: 1px solid #f0f0f8; }
.ak-approve-btn {
    height: 40px;
    padding: 0 1rem;
    border: 0;
    border-radius: 11px;
    background: var(--akademi-green) !important;
    color: #fff !important;
    font-size: .7rem;
    font-weight: 600;
}
.ak-reject-form { display: flex; flex: 1; gap: .5rem; }
.ak-reject-form input { min-width: 0; flex: 1; height: 40px; padding: 0 .8rem; border: 1px solid var(--akademi-line); border-radius: 11px; outline: 0; color: var(--akademi-ink); font-size: .68rem; }
.ak-reject-form input:focus { border-color: #ef4444; box-shadow: 0 0 0 3px rgba(239,68,68,.07); }
.ak-reject-form button { height: 40px; padding: 0 .85rem; border: 1px solid rgba(239,68,68,.2); border-radius: 11px; background: #fff !important; color: #dc3545 !important; font-size: .68rem; font-weight: 600; }
.ak-recent-list { display: grid; }
.ak-recent-list > div { display: grid; grid-template-columns: 42px 1fr auto; align-items: center; gap: .7rem; padding: .75rem 0; border-bottom: 1px solid #f0f0f8; }
.ak-recent-list > div:last-child { border: 0; }
.ak-recent-list .ak-request-date { width: 42px; height: 42px; }
.ak-recent-list p { display: flex; margin: 0; flex-direction: column; }
.ak-recent-list p strong { color: var(--akademi-ink); font-size: .68rem; }
.ak-recent-list p small { color: var(--akademi-muted); font-size: .58rem; }
.ak-recent-list .otek-badge { font-size: .55rem; }
.ak-empty-compact { min-height: 120px; }
.ak-finance-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.ak-finance-stats > div,
.ak-finance-stats > button {
    display: flex;
    align-items: center;
    gap: .85rem;
    padding: 1rem 1.15rem;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 30px rgba(48,57,114,.045);
}
.ak-finance-stats p { display: flex; margin: 0; flex-direction: column; }
.ak-finance-stats small { color: var(--akademi-muted); font-size: .65rem; }
.ak-finance-stats strong { color: var(--akademi-ink); font-size: 1.05rem; }
.ak-money-block {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 1rem 0;
    padding: 1rem;
    border-radius: 14px;
    background: linear-gradient(135deg, #f6f5ff, #fbfaff);
}
.ak-money-block > div { display: flex; flex-direction: column; }
.ak-money-block small { color: var(--akademi-muted); font-size: .62rem; }
.ak-money-block strong { color: var(--akademi-violet); font-size: 1.35rem; }
.ak-money-block strong span { font-size: .7rem; }
.ak-money-block > i { color: rgba(47,111,109,.18); font-size: 2rem; }
.ak-expense-detail { margin-bottom: .8rem; }
.ak-expense-detail .ak-money-block { margin-bottom: .6rem; }
.ak-expense-meta { display: flex; gap: 1rem; color: var(--akademi-muted); font-size: .63rem; }
.ak-expense-meta i { margin-right: .3rem; color: var(--akademi-coral); }
.ak-side-stack { display: grid; gap: 1.5rem; }
.ak-count-badge { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 9px; background: #f0effb; color: var(--akademi-violet); font-size: .65rem; }
.ak-payment-list { display: grid; }
.ak-payment-list > div { display: grid; grid-template-columns: 1fr auto; gap: .25rem .6rem; padding: .8rem 0; border-bottom: 1px solid #f0f0f8; }
.ak-payment-list > div:last-child { border: 0; }
.ak-payment-list p { display: flex; margin: 0; flex-direction: column; }
.ak-payment-list p strong { color: var(--akademi-ink); font-size: .68rem; }
.ak-payment-list p small { color: var(--akademi-muted); font-size: .58rem; }
.ak-payment-list > div > b { color: var(--akademi-violet); font-size: .68rem; }
.ak-payment-list form { grid-column: 1 / -1; }
.ak-payment-list button { width: 100%; margin-top: .4rem; padding: .5rem; border: 0; border-radius: 9px; background: rgba(76,188,154,.1) !important; color: #27866b !important; font-size: .62rem; font-weight: 600; }
.ak-detail-nav { display: flex; min-height: 38px; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.ak-detail-nav > a { display: inline-flex; align-items: center; gap: .45rem; color: var(--akademi-muted); font-size: .72rem; font-weight: 600; }
.ak-detail-nav > a:hover { color: var(--akademi-violet); }
.ak-detail-nav form button { border: 1px solid rgba(239,68,68,.18); border-radius: 10px; background: #fff !important; padding: .5rem .75rem; color: #dc3545 !important; font-size: .66rem; }
.ak-profile-hero { position: relative; margin-bottom: 1.25rem; overflow: hidden; border-radius: 20px; background: #fff; box-shadow: 0 8px 30px rgba(48,57,114,.055); }
.ak-profile-cover { height: 130px; background: linear-gradient(125deg, #006f72, #00a0a0); }
.ak-profile-cover::before,
.ak-profile-cover::after { content: ""; position: absolute; border: 28px solid rgba(255,255,255,.08); border-radius: 50%; }
.ak-profile-cover::before { top: -75px; right: 12%; width: 190px; height: 190px; }
.ak-profile-cover::after { top: 25px; right: -35px; width: 120px; height: 120px; }
.ak-profile-identity { display: grid; grid-template-columns: 125px minmax(220px,.8fr) minmax(460px,1.4fr); align-items: center; gap: 1.2rem; padding: 0 1.5rem 1.5rem; }
.ak-profile-avatar {
    display: grid;
    width: 105px;
    height: 105px;
    place-items: center;
    border: 7px solid #fff;
    border-radius: 30px;
    background: var(--akademi-coral);
    color: #fff;
    font-size: 1.65rem;
    font-weight: 700;
    box-shadow: 0 10px 25px rgba(48,57,114,.13);
}
.ak-profile-identity > .ak-profile-avatar { margin-top: -50px; }
.ak-profile-avatar-wrap { position: relative; width: 105px; }
.ak-profile-identity > .ak-profile-avatar-wrap { margin-top: -50px; }
.ak-profile-avatar-image { display: block; padding: 0; object-fit: cover; }
.ak-profile-photo-form { position: absolute; right: -8px; bottom: -10px; }
.ak-profile-photo-button { display: inline-flex; align-items: center; gap: .3rem; padding: .42rem .58rem; border: 3px solid #fff; border-radius: 999px; background: #007f82; color: #fff; cursor: pointer; font-size: .58rem; font-weight: 700; box-shadow: 0 5px 15px rgba(15,23,42,.2); }
.ak-profile-photo-button:hover { background: #00696c; }
.ak-profile-photo-button input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.ak-self-photo-card { display: flex; align-items: center; gap: 1.25rem; }
.ak-self-photo-form { display: flex; align-items: center; gap: .75rem; }
.ak-self-photo-form .otek-input { max-width: 420px; }
@media (max-width: 640px) {
    .ak-self-photo-card { align-items: flex-start; flex-direction: column; }
    .ak-self-photo-form { width: 100%; align-items: stretch; flex-direction: column; }
    .ak-self-photo-form .otek-input { max-width: none; }
}
.ak-profile-name { padding-top: .8rem; }
.ak-profile-name h2 { margin: .55rem 0 .2rem; color: var(--akademi-ink); font-size: 1.35rem; }
.ak-profile-name p { margin: 0; color: var(--akademi-muted); font-size: .7rem; }
.ak-profile-contact { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .8rem; padding-top: .8rem; }
.ak-profile-contact > div,
.ak-candidate-info > div { display: flex; min-width: 0; align-items: center; gap: .65rem; }
.ak-profile-contact > div > span,
.ak-candidate-info > div > span { display: grid; width: 36px; height: 36px; flex: 0 0 36px; place-items: center; border-radius: 11px; background: #f0effb; color: var(--akademi-violet); font-size: .75rem; }
.ak-profile-contact p,
.ak-candidate-info p { display: flex; min-width: 0; margin: 0; flex-direction: column; }
.ak-profile-contact small,
.ak-candidate-info small { color: var(--akademi-muted); font-size: .56rem; }
.ak-profile-contact strong,
.ak-candidate-info strong { overflow: hidden; color: var(--akademi-ink); font-size: .66rem; text-overflow: ellipsis; white-space: nowrap; }
.akademi-portal .profile-tabs {
    position: sticky;
    top: 85px;
    z-index: 5;
    padding: .45rem;
    border: 1px solid var(--akademi-line);
    border-radius: 15px;
    background: rgba(255,255,255,.95);
    box-shadow: 0 8px 24px rgba(48,57,114,.06);
    backdrop-filter: blur(12px);
}
.akademi-portal .profile-tabs .profile-tab { border: 0; border-radius: 10px; background: transparent; color: var(--akademi-muted); box-shadow: none; }
.akademi-portal .profile-tabs .profile-tab.is-active { background: var(--akademi-violet) !important; border-color: var(--akademi-violet) !important; box-shadow: 0 6px 14px rgba(47,111,109,.2); }
.akademi-portal .profile-module { border: 0; border-radius: 18px; box-shadow: 0 8px 30px rgba(48,57,114,.055); }
.akademi-portal .profile-module { max-width: 1180px; margin-inline: auto; }
.akademi-portal .profile-module h3 { color: var(--akademi-ink) !important; }
/* Shared spacing for all six profile panels; independent of utility CSS. */
.akademi-portal .profile-workspace { width: 100%; min-width: 0; }
.akademi-portal .profile-workspace .profile-tabs { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 8px; padding: 8px; margin-bottom: 24px; }
.akademi-portal .profile-workspace .profile-tab { min-height: 48px; padding: 12px 14px; font-size: 13px; font-weight: 600; color: #31465a; white-space: normal; }
.akademi-portal .profile-workspace .profile-tab.is-active { color: #fff !important; background: #008c95 !important; }
.akademi-portal .profile-workspace .profile-module { width: 100%; max-width: none; padding: 30px 32px !important; margin: 0 0 20px; background: #fff; border: 1px solid #e7edf2; }
.akademi-portal .profile-workspace .profile-module h3 { font-size: 21px; line-height: 1.4; margin-bottom: 12px; }
.akademi-portal .profile-workspace .profile-module > p { margin-bottom: 28px; line-height: 1.7; }
.akademi-portal .profile-workspace .profile-module .grid { display: grid; gap: 24px 32px; }
.akademi-portal .profile-workspace .profile-module .grid > * { min-width: 0; }
.akademi-portal .profile-workspace .profile-module label { font-size: 12px; line-height: 1.6; color: #34475a; }
.akademi-portal .profile-workspace .profile-module .otek-input { width: 100%; min-width: 0; min-height: 46px; padding: 11px 14px; margin-top: 7px; border: 1px solid #d8e1e9; border-radius: 10px; font-size: 13px; background: #fff; }
.akademi-portal .profile-workspace .profile-module [data-sensitive-toggle] { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border: 0; border-radius: 8px; background: transparent; color: #476077; }
.akademi-portal .profile-workspace .profile-module .relative { position: relative; }
.akademi-portal .profile-workspace .profile-module [data-sensitive-toggle] { z-index: 3; }
.akademi-portal .profile-workspace .profile-module .relative .otek-input { padding-right: 50px; }
.akademi-portal .profile-module-collapsible { overflow: visible; }
.akademi-portal .profile-module-collapsible .profile-module-header { position: relative; min-height: 42px; padding-right: 3rem; margin-bottom: 1rem; }
.akademi-portal .profile-module-collapsible .profile-module-header > h3,
.akademi-portal .profile-module-collapsible > h3.profile-module-header { margin-bottom: 0 !important; }
.akademi-portal .profile-module-toggle { position: absolute; top: 0; right: 0; display: inline-flex; width: 2.5rem; height: 2.5rem; min-height: 2.5rem; align-items: center; justify-content: center; border: 1px solid #d8e1e9; border-radius: .75rem; background: #f8fafc; color: #526579; transition: transform .16s ease,background .16s ease,color .16s ease; }
.akademi-portal .profile-module-toggle:hover { background: #eef8f8; color: #087f83; }
.akademi-portal .profile-module-toggle i { transition: transform .16s ease; }
.akademi-portal .profile-module-toggle[aria-expanded="true"] i { transform: rotate(180deg); }
.akademi-portal .profile-module-content[hidden] { display: none !important; }
.akademi-portal .profile-module-collapsible.is-collapsed { padding-bottom: 1rem !important; }
.akademi-portal .profile-workspace .profile-repeat-row { padding: 22px !important; margin-bottom: 18px; background: #f8fafc !important; }
.akademi-portal .profile-workspace .profile-module dl > div { padding: 14px 16px; background: #f8fafc; border: 1px solid #e7edf2; border-radius: 10px; }
.akademi-portal .profile-workspace .profile-module dd { margin: 6px 0 0; overflow-wrap: anywhere; }
.akademi-portal .profile-workspace #module-documents > form { padding: 22px; background: #f8fafc; border: 1px solid #e7edf2; border-radius: 12px; }
.akademi-portal .profile-workspace #module-documents li { padding: 14px 0; gap: 16px; overflow-wrap: anywhere; }
.akademi-portal .profile-workspace input[type="file"] { width: 100%; max-width: 100%; font-size: 12px; }
.akademi-portal .profile-workspace .profile-save-bar { display: flex; align-items: center; gap: 16px; padding: 0 0 12px; }
.akademi-portal .profile-workspace .profile-save-bar > button { padding: 12px 22px; border-radius: 10px; }
.akademi-portal .profile-workspace .profile-phone-verification > .flex { display: flex; gap: 10px; align-items: center; }
.akademi-portal .profile-workspace .profile-phone-verification .otek-input { flex: 1; margin-top: 0; }
.akademi-portal .profile-workspace .profile-phone-verification button { flex-shrink: 0; min-height: 46px; padding-inline: 18px; border-radius: 9px; }
@media (min-width: 768px) {
    .akademi-portal .profile-workspace .profile-module .grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .akademi-portal .profile-workspace .profile-phone-field { grid-column: 1 / -1; }
    .akademi-portal .profile-workspace .profile-phone-field > input:not([type="hidden"]) { display: block; width: calc(50% - 16px); }
    .akademi-portal .profile-workspace .profile-phone-verification > p { grid-column: 1 / -1; }
    .akademi-portal .profile-workspace #module-documents form > div { grid-column: auto; }
}
@media (max-width: 767px) {
    .akademi-portal .profile-workspace .profile-tabs { position: static; grid-template-columns: repeat(3,minmax(0,1fr)); }
    .akademi-portal .profile-workspace .profile-tab { padding: 10px 6px; font-size: 12px; }
    .akademi-portal .profile-workspace .profile-module { padding: 22px 18px !important; }
    .akademi-portal .profile-workspace .profile-module .grid { grid-template-columns: minmax(0,1fr); gap: 20px; }
    .akademi-portal .profile-workspace .profile-module .grid > * { grid-column: auto; }
    .akademi-portal .profile-workspace .profile-repeat-row { padding: 16px !important; }
    .akademi-portal .profile-workspace #module-documents > form { padding: 16px; }
}
.akademi-portal .sensitive-field-button { display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid var(--akademi-line); border-radius: 9px; background: #fff; }
.akademi-portal .sensitive-field-button:hover { color: var(--akademi-violet) !important; background: #f6f4ff; }
.akademi-portal .profile-repeat-row { border-color: var(--akademi-line) !important; border-radius: 14px !important; background: #fafafd !important; }
.ak-candidate-layout { display: grid; grid-template-columns: minmax(280px,.72fr) minmax(0,1.6fr); gap: 1.5rem; align-items: start; }
.ak-candidate-profile { padding: 0; overflow: hidden; }
.ak-candidate-cover { display: grid; height: 125px; place-items: end center; background: linear-gradient(135deg, #006f72, #00a0a0); }
.ak-candidate-cover .ak-profile-avatar { margin-bottom: -52px; }
.ak-candidate-name { padding: 4.2rem 1.3rem 1.2rem; border-bottom: 1px solid #f0f0f8; text-align: center; }
.ak-candidate-name h2 { margin: 0; color: var(--akademi-ink); font-size: 1.2rem; }
.ak-candidate-name p { margin: .2rem 0 .65rem; color: var(--akademi-muted); font-size: .68rem; }
.ak-candidate-info { display: grid; gap: .8rem; padding: 1.2rem 1.3rem; }
.ak-cv-card { display: grid; grid-template-columns: 36px 1fr auto; align-items: center; gap: .65rem; margin: 0 1.3rem 1rem; padding: .75rem; border-radius: 12px; background: #fff6f3; color: var(--akademi-coral); }
.ak-cv-card > i { font-size: 1.2rem; }
.ak-cv-card p { display: flex; min-width: 0; margin: 0; flex-direction: column; }
.ak-cv-card small { color: var(--akademi-muted); font-size: .55rem; }
.ak-cv-card strong { overflow: hidden; color: var(--akademi-ink); font-size: .62rem; text-overflow: ellipsis; white-space: nowrap; }
.ak-candidate-note { margin: 0 1.3rem 1.3rem; padding: .85rem; border-radius: 12px; background: #fafafd; }
.ak-candidate-note span { color: var(--akademi-coral); font-size: .55rem; font-weight: 700; letter-spacing: .1em; }
.ak-candidate-note p { margin: .35rem 0 0; color: #70719a; font-size: .67rem; line-height: 1.6; }
.ak-comment-list { display: grid; gap: .8rem; max-height: 440px; overflow-y: auto; }
.ak-comment-list article { display: grid; grid-template-columns: 38px 1fr; gap: .7rem; padding: .85rem; border-radius: 13px; background: #fafafd; }
.ak-comment-avatar { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 12px; background: var(--akademi-violet); color: #fff; font-size: .7rem; font-weight: 700; }
.ak-comment-list header { display: flex; justify-content: space-between; gap: 1rem; }
.ak-comment-list header strong { color: var(--akademi-ink); font-size: .7rem; }
.ak-comment-list header small { color: var(--akademi-muted); font-size: .55rem; }
.ak-comment-list p { margin: .35rem 0 0; color: #6e6f8b; font-size: .68rem; line-height: 1.6; }
.ak-rating { display: flex; align-items: center; gap: .15rem; margin-top: .45rem; color: var(--akademi-amber); font-size: .65rem; }
.ak-rating span { margin-left: .35rem; color: var(--akademi-muted); }
.ak-comment-form { display: grid; gap: .8rem; margin-top: 1.2rem; padding-top: 1.2rem; border-top: 1px solid var(--akademi-line); }
.ak-comment-form label { display: flex; flex-direction: column; gap: .35rem; color: var(--akademi-ink); font-size: .65rem; font-weight: 600; }
.ak-comment-form textarea,
.ak-comment-form select { padding: .7rem .8rem; border: 1px solid var(--akademi-line); border-radius: 11px; outline: 0; color: var(--akademi-ink); font-size: .7rem; font-weight: 400; resize: vertical; }
.ak-comment-form textarea:focus,
.ak-comment-form select:focus { border-color: var(--akademi-violet); box-shadow: 0 0 0 3px rgba(47,111,109,.07); }
.ak-comment-form > div { display: flex; align-items: end; justify-content: space-between; gap: 1rem; }
.ak-comment-form select { min-width: 140px; }
.ak-form-layout { display: grid; grid-template-columns: minmax(320px,.85fr) minmax(0,1.15fr); gap: 1.5rem; align-items: start; }
.ak-form-card-head { display: flex; align-items: center; gap: .85rem; margin-bottom: 1.25rem; padding-bottom: 1rem; border-bottom: 1px solid var(--akademi-line); }
.ak-form-icon { display: grid; width: 50px; height: 50px; flex: 0 0 50px; place-items: center; border-radius: 15px; color: #fff; font-size: 1.05rem; }
.ak-form-card-head h3 { margin: 0; color: var(--akademi-ink); font-size: 1rem; }
.ak-form-card-head p { margin: .2rem 0 0; color: var(--akademi-muted); font-size: .64rem; }
.ak-modern-form { display: grid; gap: 1rem; }
.ak-modern-form > label,
.ak-form-row > label { display: flex; flex-direction: column; gap: .4rem; color: var(--akademi-ink); font-size: .67rem; font-weight: 600; }
.ak-modern-form label > span b { color: var(--akademi-coral); }
.ak-modern-form input,
.ak-modern-form select,
.ak-modern-form textarea { width: 100%; min-height: 44px; padding: .7rem .85rem; border: 1px solid var(--akademi-line); border-radius: 11px; outline: 0; background: #fff; color: var(--akademi-ink); font-size: .72rem; font-weight: 400; }
.ak-modern-form textarea { resize: vertical; }
.ak-modern-form input:focus,
.ak-modern-form select:focus,
.ak-modern-form textarea:focus { border-color: var(--akademi-violet); box-shadow: 0 0 0 3px rgba(47,111,109,.07); }
.ak-modern-form label > small { color: var(--akademi-muted); font-size: .58rem; font-weight: 400; }
.ak-input-prefix { position: relative; }
.ak-input-prefix i { position: absolute; top: 50%; left: .85rem; z-index: 1; color: var(--akademi-violet); transform: translateY(-50%); }
.ak-input-prefix input { padding-left: 2.25rem; }
.ak-form-row { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .8rem; }
.ak-form-notice { display: flex; gap: .7rem; padding: .8rem; border-radius: 11px; background: #f6f5ff; color: var(--akademi-violet); }
.ak-form-notice > i { margin-top: .12rem; }
.ak-form-notice p { display: flex; margin: 0; flex-direction: column; }
.ak-form-notice strong { font-size: .64rem; }
.ak-form-notice span { color: var(--akademi-muted); font-size: .58rem; line-height: 1.5; }
.ak-modern-form > .ak-primary-action { justify-self: start; border: 0; }
/* Keep the theme's absolute calendar indicator inside its own input. */
.akademi-portal input[type="date"] { position: relative; }
.ak-today-button { align-self: flex-start; padding: .25rem .5rem; border: 0; border-radius: 7px; background: #f0effb !important; color: var(--akademi-violet) !important; font-size: .58rem; font-weight: 600; }
.ak-self-request-list { display: grid; }
.ak-self-request-list article { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: .75rem; padding: .9rem 0; border-bottom: 1px solid #f0f0f8; }
.ak-self-request-list article:last-child { border: 0; }
.ak-self-request-icon { display: grid; width: 44px; height: 44px; place-items: center; border-radius: 13px; background: #f0effb; color: var(--akademi-violet); }
.ak-self-request-icon.ak-expense-icon { background: #fff0ec; color: var(--akademi-coral); }
.ak-self-request-list article > div { display: flex; min-width: 0; flex-direction: column; }
.ak-self-request-list strong { color: var(--akademi-ink); font-size: .76rem; }
.ak-self-request-list small { color: var(--akademi-muted); font-size: .62rem; }
.ak-self-request-list p { margin: .25rem 0 0; overflow: hidden; color: #85839f; font-size: .6rem; text-overflow: ellipsis; white-space: nowrap; }
.ak-self-request-list .otek-badge { font-size: .56rem; }
.ak-report-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem; }
.ak-report-card { display: grid; grid-template-columns: 48px 1fr; gap: .85rem; padding: 1.15rem; border-radius: 17px; background: #fff; box-shadow: 0 8px 30px rgba(48,57,114,.05); transition: transform .2s,box-shadow .2s; }
.ak-report-card:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(48,57,114,.1); }
.ak-report-icon { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 14px; color: #fff; font-size: 1.1rem; }
.ak-report-card h3 { margin: 0; color: var(--akademi-ink); font-size: .8rem; }
.ak-report-card p { margin: .3rem 0 0; color: var(--akademi-muted); font-size: .62rem; line-height: 1.55; }
.ak-report-card footer { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; padding-top: .75rem; border-top: 1px solid #f0f0f8; color: var(--akademi-muted); font-size: .62rem; }
.ak-report-card footer b { color: var(--akademi-violet); }
.ak-report-card footer i { color: var(--akademi-coral); }
.ak-settings-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; align-items: start; }
.ak-settings-card { overflow: hidden; border-radius: 17px; background: #fff; box-shadow: 0 8px 30px rgba(48,57,114,.05); }
.ak-settings-card summary,
.ak-settings-direct { display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: .85rem; padding: 1.1rem; list-style: none; cursor: pointer; }
.ak-settings-card summary::-webkit-details-marker { display: none; }
.ak-settings-icon { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 14px; color: #fff; }
.ak-settings-card h3 { margin: 0; color: var(--akademi-ink); font-size: .8rem; }
.ak-settings-card p { margin: .25rem 0 0; color: var(--akademi-muted); font-size: .62rem; line-height: 1.5; }
.ak-settings-card summary > i,
.ak-settings-direct > i { color: #c2bfd0; font-size: .65rem; transition: transform .2s; }
.ak-settings-card[open] summary > i { transform: rotate(180deg); }
.ak-settings-links { display: grid; gap: .35rem; padding: .35rem .85rem .85rem; border-top: 1px solid #f0f0f8; }
.ak-settings-links a { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .7rem .75rem; border-radius: 10px; }
.ak-settings-links a:hover { background: #f8f8fd; }
.ak-settings-links a span { display: flex; flex-direction: column; }
.ak-settings-links strong { color: var(--akademi-ink); font-size: .68rem; }
.ak-settings-links small { color: var(--akademi-muted); font-size: .56rem; }
.ak-settings-links i { color: var(--akademi-coral); font-size: .55rem; }
.ak-settings-direct { min-height: 82px; }
.ak-error-page { display: flex; min-height: 560px; max-width: 620px; margin: 0 auto; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.ak-error-visual { position: relative; display: grid; width: 190px; height: 160px; margin-bottom: 1rem; place-items: center; }
.ak-error-visual span { color: #ecebfa; font-size: 6.5rem; font-weight: 800; line-height: 1; }
.ak-error-visual i { position: absolute; display: grid; width: 58px; height: 58px; place-items: center; border-radius: 18px; background: var(--akademi-violet); color: #fff; font-size: 1.3rem; box-shadow: 0 12px 25px rgba(47,111,109,.25); }
.ak-error-page h2 { margin: 0; color: var(--akademi-ink); font-size: 1.5rem; }
.ak-error-page p { max-width: 500px; margin: .7rem 0 1.3rem; color: var(--akademi-muted); font-size: .76rem; line-height: 1.7; }
.ak-shift-stats { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem; margin-bottom: 1.5rem; }
.ak-shift-stats > div { display: flex; align-items: center; gap: .8rem; padding: 1rem 1.15rem; border-radius: 16px; background: #fff; box-shadow: 0 8px 30px rgba(48,57,114,.045); }
.ak-shift-stats p { display: flex; margin: 0; flex-direction: column; }
.ak-shift-stats small { color: var(--akademi-muted); font-size: .64rem; }
.ak-shift-stats strong { color: var(--akademi-ink); font-size: 1.1rem; }
.ak-shift-form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.5rem; margin-bottom: 1.5rem; }
.ak-input-suffix { position: relative; }
.ak-input-suffix input { padding-right: 3.4rem; }
.ak-input-suffix span { position: absolute; top: 50%; right: .8rem; color: var(--akademi-muted); font-size: .58rem; transform: translateY(-50%); }
.ak-schedule-panel { padding: 0; overflow: hidden; }
.ak-schedule-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.2rem 1.35rem; border-bottom: 1px solid var(--akademi-line); }
.ak-schedule-head h3 { margin: 0; color: var(--akademi-ink); font-size: 1rem; }
.ak-schedule-head form { display: flex; gap: .5rem; }
.ak-schedule-head input { height: 40px; padding: 0 .7rem; border: 1px solid var(--akademi-line); border-radius: 10px; color: var(--akademi-ink); font-size: .68rem; }
.ak-schedule-head button { padding: 0 .8rem; border: 0; border-radius: 10px; background: var(--akademi-violet) !important; color: #fff !important; font-size: .64rem; font-weight: 600; }
.ak-shift-filter-form { align-items: end; flex-wrap: wrap; justify-content: flex-end; }
.ak-shift-filter-form label { display: grid; gap: .3rem; margin: 0; }
.ak-shift-filter-form label > span { color: var(--akademi-muted); font-size: .62rem; font-weight: 700; }
.ak-shift-filter-form select { min-width: 220px; height: 40px; padding: 0 2rem 0 .7rem; border: 1px solid var(--akademi-line); border-radius: 10px; background: #fff; color: var(--akademi-ink); font-size: .68rem; }
.ak-filter-reset { display: inline-flex; align-items: center; justify-content: center; gap: .35rem; min-height: 40px; padding: 0 .75rem; border: 1px solid var(--akademi-line); border-radius: 10px; color: var(--akademi-muted); font-size: .64rem; font-weight: 600; text-decoration: none; }
.ak-filter-reset:hover { border-color: var(--akademi-violet); color: var(--akademi-violet); }
.ak-finance-stats > button { border: 0; width: 100%; text-align: left; cursor: pointer; font: inherit; }
.ak-finance-stats > button:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(15, 43, 68, .12); }
.ak-shift-name { display: inline-flex; align-items: center; gap: .4rem; color: var(--akademi-ink); font-size: .68rem; font-weight: 600; }
.ak-shift-name i { width: 8px; height: 8px; border-radius: 50%; background: var(--akademi-coral); }
.ak-time-range { color: var(--akademi-violet) !important; font-size: .68rem; white-space: nowrap; }
.ak-time-range i { margin: 0 .35rem; color: #c5c2d3; font-size: .5rem; }
.ak-remove-action { display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid rgba(239,68,68,.15); border-radius: 10px; background: #fff !important; color: #dc3545 !important; }
.ak-unassigned { display: inline-flex; align-items: center; gap: .45rem; color: var(--akademi-muted); font-size: .66rem; }
@media (max-width: 991.98px) {
    .ak-approval-layout { grid-template-columns: 1fr; }
    .ak-profile-identity { grid-template-columns: 110px 1fr; }
    .ak-profile-contact { grid-column: 1 / -1; }
    .ak-candidate-layout { grid-template-columns: 1fr; }
    .ak-form-layout { grid-template-columns: 1fr; }
    .ak-report-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .ak-shift-form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 575.98px) {
    .ak-approval-actions,
    .ak-reject-form { flex-direction: column; }
    .ak-approve-btn,
    .ak-reject-form button { width: 100%; }
    .ak-approval-flow { flex-direction: column; gap: .35rem; }
    .ak-finance-stats { grid-template-columns: 1fr; }
    .ak-profile-cover { height: 105px; }
    .ak-profile-identity { grid-template-columns: 1fr; text-align: center; }
    .ak-profile-identity > .ak-profile-avatar,
    .ak-profile-identity > .ak-profile-avatar-wrap { margin: -50px auto 0; }
    .ak-profile-contact { grid-template-columns: 1fr; text-align: left; }
    .ak-comment-form > div { align-items: stretch; flex-direction: column; }
    .ak-form-row { grid-template-columns: 1fr; }
    .ak-self-request-list article { grid-template-columns: 40px 1fr; }
    .ak-self-request-list article > .otek-badge { grid-column: 2; justify-self: start; }
    .ak-report-grid,
    .ak-settings-grid { grid-template-columns: 1fr; }
    .ak-shift-stats { grid-template-columns: 1fr; }
    .ak-schedule-head { align-items: stretch; flex-direction: column; }
    .ak-schedule-head form { width: 100%; }
    .ak-schedule-head input { width: 100%; }
    .ak-shift-filter-form label, .ak-shift-filter-form select { width: 100%; }
    .ak-shift-filter-form button, .ak-shift-filter-form .ak-filter-reset { flex: 1; }
}
@media (max-width: 1399.98px) {
    .ak-kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ak-kpi-card { min-height: 112px; }
}
@media (max-width: 1199.98px) {
    .ak-dashboard-grid { grid-template-columns: 1fr; }
    .ak-dashboard-side { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .ak-dashboard-side #portal-announcements { grid-column: 1 / -1; }
    .ak-service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ak-list-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767.98px) {
    .ak-page-heading { align-items: flex-start; flex-direction: column; }
    .ak-heading-date { width: 100%; }
    .ak-kpi-grid,
    .ak-bottom-grid,
    .ak-dashboard-side { grid-template-columns: 1fr; }
    .ak-dashboard-side #portal-announcements { grid-column: auto; }
    .ak-chart-legend { display: none; }
    .ak-chart-large { height: 250px; }
    .ak-manager-grid,
    .ak-employee-grid,
    .ak-service-grid { grid-template-columns: 1fr; }
    .ak-manager-hero { align-items: flex-start; flex-direction: column; gap: 1rem; }
    .ak-manager-ring { width: 110px; height: 110px; flex-basis: 110px; }
    .ak-list-toolbar { align-items: stretch; flex-direction: column; }
    .ak-list-search { width: 100%; }
    .ak-list-stats { grid-template-columns: 1fr; }
}

/* R-11 accessibility and responsive interaction baseline */
.ak-sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }
.ak-skip-link { position: fixed; top: .5rem; left: .5rem; z-index: 10000; padding: .65rem 1rem; border-radius: 8px; background: #fff; color: #083b5c; font-weight: 700; transform: translateY(-150%); box-shadow: 0 4px 16px rgba(0,0,0,.2); }
.ak-skip-link:focus { transform: translateY(0); }
.akademi-portal :where(a, button, input, select, textarea, summary, [tabindex]):focus-visible { outline: 3px solid #0b74c8 !important; outline-offset: 3px !important; box-shadow: 0 0 0 5px rgba(11,116,200,.18) !important; }
.akademi-portal :where(button, .otek-btn, .ak-primary-action, .akademi-header-action) { min-height: 40px; }
.akademi-portal [aria-invalid="true"] { border-color: #b42318 !important; }
.ak-error-alert::before { content: "⚠"; font-weight: 700; }
.ak-success-alert::before { content: "✓"; font-weight: 700; }
@media (max-width: 575.98px) {
    .ak-dashboard-main,
    .ak-dashboard-side,
    .ak-kpi-grid,
    .ak-bottom-grid,
    .otek-card.overflow-x-auto,
    .ak-panel {
        width: 100%;
        min-width: 0;
        max-width: 100%;
    }
    .ak-dashboard-side > * { width: 100%; min-width: 0; max-width: 100%; }
    .ak-panel { padding: 1rem; }
    .ak-chart-large,
    .ak-chart-medium,
    .ak-chart-donut,
    .ak-panel canvas {
        min-width: 0;
        max-width: 100% !important;
    }
    .content-body table { min-width: 680px; }
    .content-body .overflow-x-auto { overflow-x: auto !important; overscroll-behavior-inline: contain; }
    .content-body form .flex { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
.akademi-search-item{position:relative}
.portal-search-results{position:absolute;top:calc(100% + 10px);left:0;width:min(420px,calc(100vw - 32px));max-height:360px;overflow-y:auto;padding:8px;background:#fff;border:1px solid #dce5ed;border-radius:14px;box-shadow:0 18px 45px rgba(6,55,86,.18);z-index:1055}
.portal-search-result{display:grid;grid-template-columns:30px 1fr 16px;align-items:center;gap:10px;padding:11px 12px;color:#12304a;border-radius:10px;text-decoration:none;font-size:14px;font-weight:600}
.portal-search-result:hover,.portal-search-result:focus{background:#eaf6f7;color:#087f83;outline:0}
.portal-search-result>i:first-child{color:#087f83;text-align:center}
.portal-search-result>i:last-child{font-size:11px;color:#7d91a4}
.portal-search-empty{padding:16px 12px;color:#66798b;font-size:13px;text-align:center}

/* Mobil web: portalın bütün ekranlarında güvenli genişlik ve dokunma düzeni. */
@media (max-width: 767.98px) {
    html,
    body.akademi-portal,
    .akademi-portal #main-wrapper {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }
    .akademi-portal .header {
        height: 64px;
        min-width: 0;
    }
    .akademi-portal .nav-header {
        width: 64px !important;
        height: 64px;
    }
    .akademi-portal .nav-header .nav-control {
        left: 13px;
    }
    .akademi-portal .header {
        width: calc(100% - 64px) !important;
        margin-left: 64px !important;
    }
    .akademi-portal .header .header-content {
        height: 64px;
        padding: 0 .65rem;
    }
    .akademi-portal .header-left .dashboard_bar {
        max-width: 44vw;
        overflow: hidden;
        font-size: .92rem;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .akademi-portal .header-right {
        gap: .25rem;
    }
    .akademi-portal .header-right .nav-item {
        margin: 0;
    }
    .akademi-portal .header-profile .nav-link {
        padding: .35rem;
    }
    .akademi-portal .content-body {
        min-width: 0;
        padding-top: 64px;
    }
    .akademi-portal .content-body .container-fluid {
        width: 100%;
        min-width: 0;
        padding: .9rem .75rem 1.5rem;
    }
    .akademi-portal .content-body :where(.row, [class*="grid"], [class*="layout"]) > * {
        min-width: 0;
    }
    .akademi-portal :where(.card, .otek-card, .ak-panel, .modal-content, .dropdown-menu) {
        max-width: 100%;
    }
    .akademi-portal :where(input, select, textarea) {
        max-width: 100%;
        font-size: 16px;
    }
    .akademi-portal :where(.btn, .otek-btn, .ak-primary-action) {
        white-space: normal;
    }
    .akademi-portal :where(.table-responsive, .overflow-x-auto) {
        width: 100%;
        max-width: 100%;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
    }
    .akademi-portal .modal-dialog {
        width: auto;
        max-width: calc(100vw - 1rem);
        margin: .5rem;
    }
    .akademi-portal .dropdown-menu {
        max-width: calc(100vw - 1rem) !important;
    }
    .akademi-portal .ak-mobile-page-title {
        gap: .2rem;
        margin-bottom: .8rem;
    }
}

@media (max-width: 420px) {
    .akademi-portal .header-left .dashboard_bar {
        max-width: 37vw;
        font-size: .82rem;
    }
    .akademi-portal .akademi-header-action,
    .akademi-portal .header-profile .akademi-avatar {
        width: 38px;
        height: 38px;
        min-height: 38px;
    }
    .akademi-portal #portal-sidebar {
        width: min(86vw, 300px) !important;
        left: -100vw !important;
    }
    .akademi-portal #main-wrapper.menu-toggle #portal-sidebar {
        left: 0 !important;
    }
}
/* Modern portal navigation — grouped, scannable hamburger menu */
.akademi-portal #portal-sidebar{border-right:1px solid rgba(255,255,255,.08);box-shadow:14px 0 40px rgba(2,32,55,.14)}
.akademi-portal #portal-sidebar .deznav-scroll{padding:1rem .85rem 1.25rem}
.akademi-portal .portal-menu-heading{display:flex;align-items:center;justify-content:space-between;gap:.75rem;margin:.2rem .2rem 1rem;padding:.85rem .9rem;border:1px solid rgba(255,255,255,.12);border-radius:1rem;background:linear-gradient(135deg,rgba(255,255,255,.12),rgba(255,255,255,.035));box-shadow:inset 0 1px 0 rgba(255,255,255,.08)}
.akademi-portal .portal-menu-heading span{display:block;color:rgba(255,255,255,.62);font-size:.62rem;font-weight:700;letter-spacing:.14em}
.akademi-portal .portal-menu-heading strong{display:block;margin-top:.15rem;color:#fff;font-size:.92rem;font-weight:700}
.akademi-portal .portal-menu-heading>i{display:inline-flex;width:2.25rem;height:2.25rem;align-items:center;justify-content:center;border-radius:.75rem;background:rgba(43,204,205,.16);color:#67e8e8}
.akademi-portal #portal-sidebar .metismenu{display:flex;flex-direction:column;gap:.32rem;padding:0}
.akademi-portal #portal-sidebar .metismenu>.portal-nav-item>a,.akademi-portal #portal-sidebar .metismenu>.portal-nav-logout button{position:relative;display:flex;min-height:3.25rem;align-items:center;gap:.75rem;margin:0;padding:.55rem .75rem!important;border:1px solid transparent!important;border-radius:.9rem;background:transparent!important;transition:background .18s ease,border-color .18s ease,transform .18s ease,box-shadow .18s ease!important}
.akademi-portal #portal-sidebar .metismenu>.portal-nav-item>a:hover,.akademi-portal #portal-sidebar .metismenu>.portal-nav-logout button:hover{transform:translateX(2px);border-color:rgba(255,255,255,.1)!important;background:rgba(255,255,255,.075)!important}
.akademi-portal #portal-sidebar .portal-nav-icon{display:inline-flex!important;flex:0 0 2.25rem;width:2.25rem!important;height:2.25rem!important;align-items:center;justify-content:center;margin:0!important;border:1px solid rgba(255,255,255,.09);border-radius:.72rem!important;background:rgba(255,255,255,.07)!important;color:#e6fbff!important;font-size:1.05rem!important;line-height:1!important}
.akademi-portal #portal-sidebar .metismenu>.portal-nav-item.mm-open>a,.akademi-portal #portal-sidebar .metismenu>.portal-nav-item.mm-active>a{border-color:rgba(72,211,213,.3)!important;background:linear-gradient(90deg,rgba(0,166,170,.3),rgba(255,255,255,.055))!important;box-shadow:0 8px 24px rgba(0,24,43,.16)!important}
.akademi-portal #portal-sidebar .metismenu>.portal-nav-item.mm-open>a .portal-nav-icon,.akademi-portal #portal-sidebar .metismenu>.portal-nav-item.mm-active>a .portal-nav-icon{border-color:rgba(103,232,232,.35)!important;background:rgba(45,212,191,.18)!important;color:#8ff7ef!important}
.akademi-portal #portal-sidebar .metismenu>.portal-nav-item.mm-open>a:before,.akademi-portal #portal-sidebar .metismenu>.portal-nav-item.mm-active>a:before{position:absolute;left:-.86rem;width:3px!important;height:1.7rem;border-radius:0 4px 4px 0;background:#52e1da;content:""}
.akademi-portal #portal-sidebar .metismenu ul.mm-collapse{margin:.35rem 0 .2rem .95rem;padding:.35rem .3rem .35rem .65rem;border-left:1px solid rgba(103,232,232,.22);border-radius:0 .8rem .8rem 0;background:rgba(0,25,45,.16)}
.akademi-portal #portal-sidebar .metismenu ul.mm-collapse>.portal-nav-item>a{display:flex;min-height:2.5rem;align-items:center;gap:.55rem;margin:.1rem 0;padding:.5rem .65rem!important;border-radius:.65rem;font-size:.78rem;transition:background .16s ease,transform .16s ease!important}
.akademi-portal #portal-sidebar .metismenu ul.mm-collapse>.portal-nav-item>a:hover{transform:translateX(2px);background:rgba(255,255,255,.075)!important}
.akademi-portal #portal-sidebar .portal-nav-dot{display:inline-block;flex:0 0 .42rem;width:.42rem;height:.42rem;border:1px solid rgba(153,246,228,.65);border-radius:999px;background:transparent}
.akademi-portal #portal-sidebar .metismenu ul .portal-nav-item.mm-active>a{background:rgba(45,212,191,.16)!important;box-shadow:inset 0 0 0 1px rgba(94,234,212,.16)}
.akademi-portal #portal-sidebar .metismenu ul .portal-nav-item.mm-active>a .portal-nav-dot{border-color:#5eead4;background:#5eead4;box-shadow:0 0 0 3px rgba(94,234,212,.12)}
.akademi-portal #portal-sidebar .portal-favorites-item>a .portal-nav-icon{color:#fde68a!important}
.akademi-portal #portal-sidebar .portal-nav-logout{margin-top:.6rem;padding-top:.65rem;border-top:1px solid rgba(255,255,255,.09)}
.akademi-portal #portal-sidebar .portal-nav-logout button i{display:inline-flex;width:2.25rem;height:2.25rem;align-items:center;justify-content:center;margin:0!important;border-radius:.72rem;background:rgba(248,113,113,.1);color:#fecaca!important}
@media(max-width:991.98px){.akademi-portal .portal-menu-heading{margin-top:.5rem}.akademi-portal #portal-sidebar .deznav-scroll{padding-top:.75rem}}

/* Görsel QA: orta genişlikte filtreler harf harf kırılmadan yeni satıra geçer. */
.akademi-portal .ak-workflow-filter-heading { flex-wrap: wrap; gap: 1rem; }
.akademi-portal .ak-workflow-filters { flex-wrap: wrap; min-width: 0; max-width: 100%; }
.akademi-portal .content-body .ak-periods-table { min-width: 1080px; }
.akademi-portal .ak-periods-table :where(button, .btn) { white-space: nowrap; overflow-wrap: normal; word-break: normal; }
.akademi-portal .ak-candidate-toolbar { flex-wrap: wrap; gap: 1rem; }
.akademi-portal .ak-candidate-toolbar .ak-list-search { flex: 1 1 260px; min-width: 0; max-width: 100%; }
.akademi-portal .ak-candidate-toolbar form { flex: 1 1 300px; flex-wrap: wrap; min-width: 0; max-width: 100%; }
.akademi-portal .content-body .ak-candidate-toolbar form[method="GET"] > label { flex: 0 1 auto; min-width: 0; }

/* Portal arama ve filtre satırları: alanlar butonları daraltmadan dengeli yerleşir. */
.akademi-portal .content-body form[method="GET"] :where(.otek-input,.form-control,.form-select,.ak-searchable-select) {
    min-width: 0;
    max-width: 100%;
}
.akademi-portal .content-body form[method="GET"]:where(.d-flex,.flex,.my-request-filters) {
    min-width: 0;
}
.akademi-portal .content-body form[method="GET"]:where(.d-flex,.flex,.my-request-filters) > :where(label,div,.otek-input,.form-control,.form-select,.ak-searchable-select) {
    width: auto;
    min-width: min(210px, 100%);
    flex: 1 1 210px;
}
.akademi-portal .content-body form[method="GET"]:where(.d-flex,.flex,.my-request-filters) > :where(button,.btn,.otek-btn,.ak-primary-action,a.btn,a.ak-filter-reset) {
    width: auto !important;
    min-width: 110px;
    flex: 0 0 auto;
    white-space: nowrap;
}
.akademi-portal .content-body form[method="GET"] :where(.grid,.row) > * {
    min-width: 0;
}
.akademi-portal .content-body form[method="GET"] :where(.grid,.row) :where(.otek-input,.form-control,.form-select,.ak-searchable-select) {
    width: 100%;
}
@media (max-width: 767.98px) {
    .akademi-portal .content-body form[method="GET"]:where(.d-flex,.flex,.my-request-filters) > :where(label,div,.otek-input,.form-control,.form-select,.ak-searchable-select,button,.btn,.otek-btn,.ak-primary-action,a.btn,a.ak-filter-reset) {
        width: 100% !important;
        max-width: none;
        min-width: 0;
        flex: 1 1 100%;
    }
    .akademi-portal .content-body form[method="GET"]:where(.d-flex,.flex,.my-request-filters) > :where(button,.btn,.otek-btn,.ak-primary-action,a.btn,a.ak-filter-reset) {
        white-space: normal;
    }
}
