/*
 * Empati panel teması.
 * Filament'in kendi bileşen sınıflarının (fi-*) üzerine yazılır; derleme gerektirmez.
 * Marka: mor (#8d43bd) ve lila (#c373f9).
 */

:root {
    --emp-bg: #f6f4fa;
    --emp-surface: #ffffff;
    --emp-border: #ebe7f2;
    --emp-border-strong: #ddd6ea;
    --emp-text: #1d1529;
    --emp-muted: #6e6680;
    --emp-brand: #8d43bd;
    --emp-brand-dark: #6f2f9a;
    --emp-brand-soft: #f4ecfb;
    --emp-brand-ring: rgba(141, 67, 189, 0.18);
    --emp-radius: 14px;
    --emp-radius-sm: 10px;
    --emp-shadow: 0 1px 2px rgba(29, 21, 41, 0.04), 0 4px 16px rgba(29, 21, 41, 0.04);
    --emp-shadow-lg: 0 24px 60px rgba(29, 21, 41, 0.18);
}

.dark {
    --emp-bg: #0f0c15;
    --emp-surface: #17131f;
    --emp-border: rgba(255, 255, 255, 0.08);
    --emp-border-strong: rgba(255, 255, 255, 0.14);
    --emp-text: #f3f0f8;
    --emp-muted: #a49db3;
    --emp-brand-soft: rgba(195, 115, 249, 0.12);
    --emp-brand-ring: rgba(195, 115, 249, 0.28);
    --emp-shadow: none;
}

/* ---------- Genel ---------- */

.fi-body {
    background: var(--emp-bg);
}

.fi-header-heading {
    letter-spacing: -0.02em;
    font-weight: 750;
}

.fi-breadcrumbs .fi-breadcrumbs-item-label {
    font-weight: 500;
}

/* ---------- Üst bar ---------- */

.fi-topbar > nav,
.fi-topbar {
    background: color-mix(in srgb, var(--emp-surface) 88%, transparent);
    backdrop-filter: saturate(160%) blur(10px);
    box-shadow: none !important;
    border-bottom: 1px solid var(--emp-border);
}

.fi-topbar .fi-ring,
.fi-topbar nav {
    --tw-ring-shadow: 0 0 #0000 !important;
}

/* ---------- Sol menü ---------- */

@media (min-width: 1024px) {
    .fi-sidebar {
        background: var(--emp-surface) !important;
        border-right: 1px solid var(--emp-border);
    }
}

.fi-sidebar-nav {
    padding: 1.25rem 1rem 1.5rem;
    gap: 1.25rem;
}

.fi-sidebar-nav-groups {
    gap: 1.25rem;
    margin-inline: 0;
}

.fi-sidebar-group-btn {
    padding: 0.25rem 0.75rem;
}

.fi-sidebar-group-label {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--emp-muted);
}

.fi-sidebar-group-items {
    gap: 0.125rem;
}

.fi-sidebar-item-btn {
    position: relative;
    border-radius: var(--emp-radius-sm);
    padding: 0.55rem 0.75rem;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.fi-sidebar-item-btn:hover {
    background: var(--emp-brand-soft);
}

.fi-sidebar-item-label {
    font-weight: 550;
    color: var(--emp-text);
}

.fi-sidebar-item-btn > .fi-icon {
    color: var(--emp-muted);
}

.fi-sidebar-item.fi-active > .fi-sidebar-item-btn {
    background: var(--emp-brand-soft);
}

.fi-sidebar-item.fi-active > .fi-sidebar-item-btn::before {
    content: "";
    position: absolute;
    left: -1rem;
    top: 0.45rem;
    bottom: 0.45rem;
    width: 3px;
    border-radius: 0 3px 3px 0;
    background: var(--emp-brand);
}

.fi-sidebar-item.fi-active .fi-sidebar-item-label {
    color: var(--emp-brand-dark);
    font-weight: 650;
}

.fi-sidebar-item.fi-active > .fi-sidebar-item-btn > .fi-icon {
    color: var(--emp-brand);
}

.dark .fi-sidebar-item.fi-active .fi-sidebar-item-label {
    color: #e2c4fb;
}

.dark .fi-sidebar-item.fi-active > .fi-sidebar-item-btn > .fi-icon {
    color: #c373f9;
}

/* ---------- Bölümler (kartlar) ---------- */

.fi-section:not(.fi-section-not-contained):not(.fi-aside) {
    border-radius: var(--emp-radius);
    background: var(--emp-surface);
    box-shadow: var(--emp-shadow);
    --tw-ring-color: var(--emp-border);
}

.fi-section:not(.fi-section-not-contained):not(.fi-aside).fi-compact {
    border-radius: var(--emp-radius-sm);
}

.fi-section-header-heading {
    font-weight: 650;
    letter-spacing: -0.01em;
}

.fi-section-header .fi-icon {
    color: var(--emp-brand);
}

/* İç içe kartlar (tekrar eden kayıtlar) daha sade dursun. */
.fi-section .fi-section:not(.fi-section-not-contained):not(.fi-aside) {
    box-shadow: none;
}

/* ---------- Butonlar ---------- */

.fi-btn {
    border-radius: var(--emp-radius-sm);
    font-weight: 600;
    transition: background-color 0.15s ease, box-shadow 0.15s ease, transform 0.05s ease;
}

.fi-btn:active {
    transform: translateY(1px);
}

.fi-btn.fi-color-primary:not(.fi-outlined) {
    background-image: linear-gradient(135deg, var(--emp-brand) 0%, #a65ad8 100%);
    box-shadow: none;
}

.fi-btn.fi-color-primary:not(.fi-outlined):hover {
    background-image: linear-gradient(135deg, var(--emp-brand-dark) 0%, var(--emp-brand) 100%);
}

.fi-icon-btn {
    border-radius: var(--emp-radius-sm);
}

/* ---------- Form alanları ---------- */

.fi-input-wrp {
    border-radius: var(--emp-radius-sm);
}

.fi-input-wrp:focus-within {
    box-shadow: 0 0 0 4px var(--emp-brand-ring);
}

.fi-fo-field-label-content {
    font-weight: 550;
}

/* ---------- Rozetler ---------- */

.fi-badge {
    border-radius: 999px;
    font-weight: 600;
}

/* ---------- Sekmeler ---------- */

.fi-tabs.fi-contained,
.fi-tabs {
    border-radius: var(--emp-radius-sm);
}

.fi-tabs-item {
    border-radius: 8px;
    font-weight: 550;
}

.fi-tabs-item.fi-active {
    background: var(--emp-brand-soft);
    color: var(--emp-brand-dark);
}

.dark .fi-tabs-item.fi-active {
    color: #e2c4fb;
}

/* ---------- Modallar ---------- */

/* overflow kullanılmaz: modal içindeki açılır listeler (Select) kesilmesin. */
.fi-modal-window {
    border-radius: 18px !important;
    box-shadow: var(--emp-shadow-lg) !important;
}

.fi-modal-heading {
    font-weight: 700;
    letter-spacing: -0.01em;
}

.fi-modal:not(.fi-modal-slide-over) .fi-modal-footer {
    background: color-mix(in srgb, var(--emp-bg) 70%, var(--emp-surface));
    border-top: 1px solid var(--emp-border);
    padding-top: 1rem;
    padding-bottom: 1rem;
    margin-top: 0.5rem;
    border-bottom-left-radius: 18px;
    border-bottom-right-radius: 18px;
}

.fi-modal-close-overlay {
    backdrop-filter: blur(3px);
}

/* ---------- Açılır menüler ---------- */

.fi-dropdown-panel {
    border-radius: 12px !important;
    box-shadow: var(--emp-shadow-lg) !important;
}

/* ---------- Tablolar ---------- */

.fi-ta-ctn {
    border-radius: var(--emp-radius) !important;
    box-shadow: var(--emp-shadow) !important;
    --tw-ring-color: var(--emp-border);
}

.fi-ta-header-cell {
    background: color-mix(in srgb, var(--emp-bg) 60%, var(--emp-surface));
}

.fi-ta-header-cell-label {
    font-size: 0.75rem;
    font-weight: 650;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--emp-muted);
}

.fi-ta-row {
    transition: background-color 0.12s ease;
}

.fi-ta-row:hover {
    background: color-mix(in srgb, var(--emp-brand-soft) 55%, transparent);
}

/* ---------- Bildirimler ---------- */

.fi-no-notification {
    border-radius: var(--emp-radius) !important;
}

/* ---------- Personel profil kartı ---------- */

.emp-profile {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
    gap: 1.75rem;
    align-items: center;
    padding: 1.75rem;
    border-radius: 18px;
    color: #fff;
    background: linear-gradient(125deg, #5e2a86 0%, #8d43bd 50%, #b866ef 100%);
    box-shadow: 0 18px 45px -12px rgba(111, 47, 154, 0.45);
}

.emp-profile::before,
.emp-profile::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
}

.emp-profile::before {
    top: -110px;
    right: -60px;
    width: 300px;
    height: 300px;
    border: 52px solid rgba(255, 255, 255, 0.07);
}

.emp-profile::after {
    bottom: -120px;
    right: 220px;
    width: 220px;
    height: 220px;
    background: rgba(255, 255, 255, 0.05);
}

.emp-profile > * {
    position: relative;
}

.emp-profile-photo {
    flex: none;
    width: 132px;
    height: 132px;
    border-radius: 22px;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.85);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
    background: rgba(255, 255, 255, 0.15);
}

.emp-profile-initials {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.75rem;
    font-weight: 750;
    letter-spacing: -0.02em;
}

.emp-profile-main {
    flex: 1 1 320px;
    min-width: 0;
}

.emp-profile-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.6rem;
}

.emp-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 650;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.22);
    white-space: nowrap;
}

.emp-chip svg {
    width: 14px;
    height: 14px;
}

.emp-chip-success { background: rgba(34, 197, 94, 0.25); border-color: rgba(134, 239, 172, 0.5); }
.emp-chip-danger { background: rgba(239, 68, 68, 0.25); border-color: rgba(252, 165, 165, 0.5); }
.emp-chip-warning { background: rgba(245, 158, 11, 0.28); border-color: rgba(253, 211, 77, 0.5); }

.emp-profile-name {
    margin: 0;
    font-size: 1.85rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.025em;
}

.emp-profile-sub {
    margin: 0.35rem 0 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.9rem;
}

.emp-profile-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
    margin-top: 1.1rem;
    font-size: 0.875rem;
}

.emp-fact {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: rgba(255, 255, 255, 0.95);
}

.emp-fact svg {
    width: 17px;
    height: 17px;
    opacity: 0.75;
}

.emp-fact a {
    color: inherit;
    text-decoration: none;
}

.emp-fact a:hover {
    text-decoration: underline;
}

.emp-profile-positions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 1rem;
}

.emp-profile-positions .emp-chip {
    background: #fff;
    color: var(--emp-brand-dark);
    border-color: #fff;
}

@media (max-width: 640px) {
    .emp-profile {
        padding: 1.25rem;
        gap: 1rem;
    }

    .emp-profile-photo {
        width: 96px;
        height: 96px;
    }

    .emp-profile-name {
        font-size: 1.45rem;
    }
}

/* Mor zeminli butonlarda yazı ve simge her zaman beyaz. */
.fi-btn.fi-color-primary:not(.fi-outlined),
.fi-btn.fi-color-primary:not(.fi-outlined) .fi-icon {
    color: #fff !important;
}

/* Sayfa başlığındaki gri butonlar kart gibi dursun. */
.fi-header .fi-btn.fi-color-gray:not(.fi-outlined) {
    background: var(--emp-surface);
    box-shadow: var(--emp-shadow);
}

/* Profil sekmeleri kart dışında, sade bir şerit olarak dursun. */
.fi-sc-tabs:not(.fi-contained) > .fi-tabs,
.fi-tabs:not(.fi-contained) {
    margin-bottom: 0.25rem;
}

/* ---------- Giriş sayfası: solda form, sağda görsel ---------- */

.fi-simple-layout:has(.emp-auth-aside) {
    flex-direction: row;
    align-items: stretch;
    background: var(--emp-surface);
}

.fi-simple-layout:has(.emp-auth-aside) .fi-simple-main-ctn {
    flex: 1 1 46%;
    min-height: 100dvh;
    padding: 2rem 1.5rem;
}

.fi-simple-layout:has(.emp-auth-aside) .fi-simple-main {
    max-width: 26rem;
    margin: 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
    --tw-ring-shadow: 0 0 #0000;
}

.fi-simple-layout:has(.emp-auth-aside) .fi-simple-header {
    align-items: flex-start;
    text-align: left;
}

.fi-simple-layout:has(.emp-auth-aside) .fi-simple-header-heading {
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.025em;
}

.fi-simple-layout:has(.emp-auth-aside) .fi-logo {
    margin-bottom: 1.5rem;
}

.fi-simple-layout:has(.emp-auth-aside) .fi-btn {
    padding-top: 0.7rem;
    padding-bottom: 0.7rem;
}

.emp-auth-aside {
    position: relative;
    flex: 1 1 54%;
    display: none;
    overflow: hidden;
    margin: 0.75rem;
    border-radius: 24px;
    background: linear-gradient(135deg, #3d1a5a 0%, #8d43bd 55%, #c373f9 100%);
}

@media (min-width: 1024px) {
    .emp-auth-aside {
        display: block;
    }
}

.emp-auth-aside-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 58% center;
}

.emp-auth-aside-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(29, 12, 45, 0) 35%, rgba(29, 12, 45, 0.85) 100%),
        linear-gradient(135deg, rgba(141, 67, 189, 0.35) 0%, rgba(141, 67, 189, 0) 60%);
}

.emp-auth-aside-content {
    position: absolute;
    left: 3rem;
    right: 3rem;
    bottom: 3rem;
    color: #fff;
}

.emp-auth-aside-eyebrow {
    display: inline-block;
    margin-bottom: 1rem;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(6px);
}

.emp-auth-aside-title {
    max-width: 34rem;
    margin: 0;
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.emp-auth-aside-text {
    max-width: 30rem;
    margin: 0.85rem 0 0;
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
}

.emp-auth-aside-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: 1.5rem;
    padding: 0.4rem 0.9rem 0.4rem 0.4rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.92);
    color: #3d1a5a;
}

.emp-auth-aside-badge img {
    height: 26px;
    width: auto;
}

/* ---------- Giriş formu tarafı ---------- */

.fi-simple-layout:has(.emp-auth-aside) .fi-simple-main-ctn {
    position: relative;
    overflow: hidden;
}

/* Hafif marka ışıltısı; özellikle karanlık modda boşluk hissini kırar. */
.fi-simple-layout:has(.emp-auth-aside) .fi-simple-main-ctn::before {
    content: "";
    position: absolute;
    top: -12rem;
    left: -10rem;
    width: 34rem;
    height: 34rem;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(195, 115, 249, 0.16) 0%, rgba(195, 115, 249, 0) 70%);
    pointer-events: none;
}

.fi-simple-layout:has(.emp-auth-aside) .fi-simple-main {
    position: relative;
}

/* Logo başlıkla aynı hizada başlasın. */
.fi-simple-layout:has(.emp-auth-aside) .fi-simple-header .fi-logo {
    margin-inline-start: 0 !important;
    margin-bottom: 2rem;
}

.fi-simple-layout:has(.emp-auth-aside) .fi-simple-header-heading {
    font-size: 2rem;
    line-height: 1.15;
}

.fi-simple-layout:has(.emp-auth-aside) .fi-simple-header-subheading {
    margin-top: 0.5rem;
    max-width: 22rem;
    text-align: left;
    font-size: 0.95rem;
    line-height: 1.55;
    color: var(--emp-muted);
}

.fi-simple-layout:has(.emp-auth-aside) .fi-simple-page-content {
    gap: 2rem;
}

.fi-simple-layout:has(.emp-auth-aside) .fi-fo-field-label-content {
    font-size: 0.875rem;
    font-weight: 600;
}

.fi-simple-layout:has(.emp-auth-aside) .fi-input-wrp {
    min-height: 3rem;
    background: var(--emp-surface);
}

.fi-simple-layout:has(.emp-auth-aside) .fi-input-wrp .fi-input {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.dark .fi-simple-layout:has(.emp-auth-aside) .fi-input-wrp {
    background: rgba(255, 255, 255, 0.04);
}

.fi-simple-layout:has(.emp-auth-aside) .fi-btn {
    min-height: 3rem;
    font-size: 0.95rem;
}

.emp-auth-footer {
    margin: 2.5rem 0 0;
    font-size: 0.8rem;
    color: var(--emp-muted);
}

/* Ayarlar: sağdaki özet kartı kaydırırken sabit kalsın. */
@media (min-width: 1280px) {
    .emp-sticky-aside {
        position: sticky;
        top: 5.5rem;
        align-self: start;
    }
}

/* ---------- Panel (ana sayfa) ---------- */

.emp-welcome {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem 2rem;
    padding: 2rem;
    border-radius: 18px;
    color: #fff;
    background: linear-gradient(125deg, #5e2a86 0%, #8d43bd 50%, #b866ef 100%);
    box-shadow: 0 18px 45px -14px rgba(111, 47, 154, 0.5);
}

.emp-welcome::before,
.emp-welcome::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
}

.emp-welcome::before {
    top: -120px;
    right: -70px;
    width: 320px;
    height: 320px;
    border: 56px solid rgba(255, 255, 255, 0.07);
}

.emp-welcome::after {
    bottom: -140px;
    right: 260px;
    width: 240px;
    height: 240px;
    background: rgba(255, 255, 255, 0.05);
}

.emp-welcome > * {
    position: relative;
}

.emp-welcome-main {
    flex: 1 1 420px;
    min-width: 0;
}

.emp-welcome-date {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 650;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
}

.emp-welcome-date svg {
    width: 14px;
    height: 14px;
}

.emp-welcome-title {
    margin: 0.85rem 0 0;
    font-size: 1.9rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.025em;
}

.emp-welcome-text {
    max-width: 36rem;
    margin: 0.5rem 0 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.84);
}

.emp-welcome-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 1.4rem;
}

.emp-welcome-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.6rem 1rem;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 650;
    color: #fff;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.24);
    transition: background-color 0.15s ease, transform 0.05s ease;
}

.emp-welcome-btn:hover {
    background: rgba(255, 255, 255, 0.24);
}

.emp-welcome-btn:active {
    transform: translateY(1px);
}

.emp-welcome-btn svg {
    width: 17px;
    height: 17px;
}

.emp-welcome-btn-primary {
    color: #5e2a86;
    background: #fff;
    border-color: #fff;
    box-shadow: 0 8px 20px -8px rgba(0, 0, 0, 0.35);
}

.emp-welcome-btn-primary:hover {
    background: #f4ecfb;
}

.emp-welcome-side {
    display: flex;
    gap: 0.75rem;
}

.emp-welcome-metric {
    display: flex;
    flex-direction: column;
    min-width: 9.5rem;
    padding: 1rem 1.15rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(6px);
}

.emp-welcome-metric-value {
    font-size: 1.85rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.emp-welcome-metric-label {
    margin-top: 0.3rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.82);
}

@media (max-width: 640px) {
    .emp-welcome {
        padding: 1.4rem;
    }

    .emp-welcome-title {
        font-size: 1.45rem;
    }

    .emp-welcome-side {
        width: 100%;
    }

    .emp-welcome-metric {
        flex: 1;
        min-width: 0;
    }
}

/* İstatistik kartları */
.fi-wi-stats-overview-stat {
    border-radius: var(--emp-radius) !important;
    box-shadow: var(--emp-shadow) !important;
    --tw-ring-color: var(--emp-border);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

a.fi-wi-stats-overview-stat:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px -12px rgba(111, 47, 154, 0.35) !important;
}

.fi-wi-stats-overview-stat-label {
    font-weight: 600;
    color: var(--emp-muted);
}

.fi-wi-stats-overview-stat-label-ctn .fi-icon {
    width: 2rem;
    height: 2rem;
    padding: 0.4rem;
    border-radius: 10px;
    color: var(--emp-brand);
    background: var(--emp-brand-soft);
}

.fi-wi-stats-overview-stat-value {
    letter-spacing: -0.025em;
    font-weight: 800;
}

.fi-wi-stats-overview-stat-description {
    font-size: 0.8rem;
    font-weight: 550;
}

/* Personel listesi: küçük fotoğraf ve üzerine gelince önizleme */
.emp-photo-cell {
    display: inline-flex;
    padding: 0.25rem 0;
}

.emp-photo-thumb {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    object-fit: cover;
    box-shadow: 0 0 0 2px var(--emp-surface), 0 0 0 3px var(--emp-border);
    cursor: zoom-in;
}

.emp-photo-preview {
    position: fixed;
    z-index: 60;
    display: flex;
    gap: 12px;
    width: 400px;
    padding: 10px;
    border-radius: 16px;
    background: var(--emp-surface);
    box-shadow: var(--emp-shadow-lg);
    border: 1px solid var(--emp-border);
    pointer-events: none;
}

.emp-photo-preview > img {
    flex: none;
    width: 150px;
    height: 200px;
    border-radius: 12px;
    object-fit: cover;
    object-position: center 25%;
}

.emp-photo-preview-body {
    flex: 1;
    min-width: 0;
    padding: 2px 2px 0 0;
}

.emp-photo-preview-name {
    font-size: 0.95rem;
    font-weight: 750;
    line-height: 1.25;
    color: var(--emp-text);
}

.emp-photo-preview-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
    font-size: 0.72rem;
    color: var(--emp-muted);
}

.emp-photo-preview-status {
    padding: 1px 8px;
    border-radius: 999px;
    font-weight: 650;
    background: var(--emp-brand-soft);
    color: var(--emp-brand-dark);
}

.emp-photo-preview-status.is-success { background: #dcf5e7; color: #17613b; }
.emp-photo-preview-status.is-danger { background: #fde4e4; color: #9f2525; }
.emp-photo-preview-status.is-warning { background: #fff0d5; color: #9a5711; }

.emp-photo-preview dl {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 3px 10px;
    margin: 10px 0 0;
    font-size: 0.75rem;
}

.emp-photo-preview dt {
    color: var(--emp-muted);
}

.emp-photo-preview dd {
    margin: 0;
    font-weight: 600;
    color: var(--emp-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.emp-photo-preview-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 10px;
}

.emp-photo-preview-tags span {
    padding: 2px 7px;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 650;
    background: var(--emp-brand-soft);
    color: var(--emp-brand-dark);
}

/* Fotoğraf dar hücrede sıkışıp oval olmasın. */
.emp-photo-cell,
.emp-photo-thumb {
    flex: none;
    min-width: 38px;
}

/* Dokunmatik ekranlarda üzerine gelme yok; önizleme kartı açılmasın. */
@media (hover: none), (max-width: 767px) {
    .emp-photo-preview {
        display: none !important;
    }

    .emp-photo-thumb {
        cursor: default;
    }
}

/* Yalnızca telefonda görünen yardımcı bilgi. */
.emp-mobile-only {
    font-size: 0.75rem;
    color: var(--emp-muted);
}

@media (min-width: 768px) {
    .emp-mobile-only {
        display: none;
    }
}

/* PDF butonu: Acrobat kırmızısı zemin, beyaz yazı ve simge (açık ve karanlık modda aynı). */
.fi-btn.fi-color-acrobat:not(.fi-outlined) {
    background: #db2627 !important;
    color: #fff !important;
    box-shadow: none !important;
}

.fi-btn.fi-color-acrobat:not(.fi-outlined):hover {
    background: #b91c1d !important;
}

.fi-btn.fi-color-acrobat:not(.fi-outlined) .fi-icon,
.fi-btn.fi-color-acrobat:not(.fi-outlined) .fi-btn-label {
    color: #fff !important;
}
