/* Kinetic HR Portal - Ortak stiller */

body {
    font-family: 'Inter', sans-serif;
    -webkit-tap-highlight-color: transparent;
}

.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    display: inline-block;
    line-height: 1;
    text-transform: none;
    letter-spacing: normal;
    word-wrap: normal;
    white-space: nowrap;
    direction: ltr;
}

.hide-scrollbar::-webkit-scrollbar { display: none; }
.hide-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

.custom-scrollbar::-webkit-scrollbar { width: 6px; }
.custom-scrollbar::-webkit-scrollbar-track { background: transparent; }
.custom-scrollbar::-webkit-scrollbar-thumb { background: #e2e8f0; border-radius: 10px; }

.login-card {
    box-shadow: 0 1px 3px rgba(0,0,0,0.05), 0 1px 2px rgba(0,0,0,0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.login-card:hover {
    box-shadow: 0 4px 6px rgba(15, 23, 42, 0.08);
}
.input-focus-ring:focus-within {
    border-color: #0058be;
    box-shadow: 0 0 0 2px rgba(0, 88, 190, 0.1);
}

.dropdown-menu { display: none; }
.dropdown-menu.aktif,
.dropdown-aktif .dropdown-menu { display: block; }

.avatar-harf {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    background: #d8e2ff;
    color: #001a42;
}

/* ---- Modal ---- */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 0;
    background: rgba(11, 28, 48, 0.45);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}
.modal-overlay.acik {
    opacity: 1;
    visibility: visible;
}
@media (min-width: 640px) {
    .modal-overlay {
        align-items: center;
        padding: 1.5rem;
    }
}
.modal-panel {
    width: 100%;
    max-width: 40rem;
    max-height: min(92vh, 900px);
    background: #fff;
    border-radius: 1.25rem 1.25rem 0 0;
    border: 1px solid #c6c6cd;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25);
    display: flex;
    flex-direction: column;
    transform: translateY(24px);
    transition: transform 0.22s ease;
}
.modal-overlay.acik .modal-panel {
    transform: translateY(0);
}
@media (min-width: 640px) {
    .modal-panel {
        border-radius: 1rem;
        transform: translateY(12px) scale(0.98);
    }
    .modal-overlay.acik .modal-panel {
        transform: translateY(0) scale(1);
    }
}
.modal-panel.modal-genis { max-width: 52rem; }
.modal-panel.modal-dar { max-width: 28rem; }

.modal-baslik {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.25rem 1rem;
    border-bottom: 1px solid #e5eeff;
    flex-shrink: 0;
}
.modal-govde {
    padding: 1.25rem;
    overflow-y: auto;
    flex: 1;
}
.modal-alt {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding: 1rem 1.25rem 1.25rem;
    border-top: 1px solid #e5eeff;
    background: #f8f9ff;
    border-radius: 0 0 1rem 1rem;
    flex-shrink: 0;
}
body.modal-kilit { overflow: hidden; }

.alan {
    width: 100%;
    padding: 0.75rem 1rem;
    background: #f8f9ff;
    border: 1px solid #c6c6cd;
    border-radius: 0.5rem;
    outline: none;
    font-size: 0.875rem;
    line-height: 1.25rem;
    color: #0b1c30;
    transition: box-shadow 0.15s, border-color 0.15s;
}
.alan:focus {
    border-color: #0058be;
    box-shadow: 0 0 0 2px rgba(0, 88, 190, 0.15);
}
.etiket {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #0b1c30;
    margin-bottom: 0.35rem;
}

.btn-birincil {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: #0058be;
    color: #fff;
    border-radius: 0.75rem;
    font-weight: 700;
    font-size: 0.875rem;
    border: none;
    cursor: pointer;
    transition: background 0.15s, transform 0.1s;
}
.btn-birincil:hover { background: #2170e4; }
.btn-birincil:active { transform: scale(0.98); }
.btn-koyu {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: #000;
    color: #fff;
    border-radius: 0.75rem;
    font-weight: 700;
    font-size: 0.875rem;
    border: none;
    cursor: pointer;
}
.btn-koyu:hover { background: #3f465c; }
.btn-ikincil {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: transparent;
    color: #45464d;
    border-radius: 0.75rem;
    font-weight: 700;
    font-size: 0.875rem;
    border: 1px solid #c6c6cd;
    cursor: pointer;
}
.btn-ikincil:hover { background: #eff4ff; }
.btn-tehlike {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: #ba1a1a;
    color: #fff;
    border-radius: 0.75rem;
    font-weight: 700;
    font-size: 0.875rem;
    border: none;
    cursor: pointer;
}
.btn-tehlike:hover { background: #93000a; }

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
