/* =========================================================
    KAYDIRMA ZİNCİRİ
========================================================= */
#profile.container-card {
    overflow: hidden;
}

    #profile.container-card.dashboard-menu-show {
        display: flex;
        flex-direction: column;
    }

.prf-container {
    width: 100%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
}

.prf-tab-content {
    flex: 1 1 auto;
    min-height: 0;
    margin-right: -8px;
    overflow: auto;
}

.prf-form .row {
    margin-left: 0;
    margin-right: 0;
}

/* =========================================================
    ÜST BİLGİ ALANI
========================================================= */
.prf-header {
    flex: none;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-rows: 1fr auto;
    grid-template-areas:
        "photo info actions"
        "photo meta meta";
    align-items: start;
    column-gap: 24px;
    row-gap: 16px;
    padding: 24px 28px;
    border-radius: 12px;
    background: linear-gradient(120deg, #1b4f8a 0%, #2f6fb5 55%, #3f83c9 100%);
    color: #fff;
    position: relative;
}

/* ---------------- Fotoğraf, Rozet ve Menü ---------------- */
.prf-header-photo {
    --prf-photo-badge-size: 32px;
    grid-area: photo;
    align-self: center;
    position: relative;
    line-height: 0;
}

    .prf-header-photo img {
        width: 116px;
        height: 116px;
        border-radius: 50%;
        object-fit: cover;
        border: 1px solid rgba(255,255,255,.85);
        background: #fff;
    }

.prf-photo-input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    pointer-events: none;
}

.prf-photo-badge {
    position: absolute;
    inset: auto 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: var(--prf-photo-badge-size);
    height: var(--prf-photo-badge-size);
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(0,0,0,.65);
    box-shadow: 0 0 0 2px #fff;
    color: #fff;
    line-height: 1;
    cursor: pointer;
}

    .prf-photo-badge:hover {
        background: rgba(0,0,0,.8);
    }

    .prf-photo-badge:focus {
        outline: 2px solid #fff;
        outline-offset: 2px;
    }

.prf-photo-badge-icon {
    width: 18px;
    height: 18px;
    flex: none;
    pointer-events: none;
}

.prf-photo-menu {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: calc(100% - var(--prf-photo-badge-size));
    z-index: 20;
    min-width: 170px;
    padding: 4px 0;
    background: #fff;
    border: 1px solid #e3e6ea;
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(16,24,40,.18);
    line-height: normal;
    text-align: left;
}

.prf-photo-menu-open {
    display: block;
}

.prf-photo-menu-item {
    display: block;
    width: 100%;
    padding: 8px 14px;
    border: none;
    background: transparent;
    font-size: 12px;
    color: #1f2a37;
    text-align: left;
    white-space: nowrap;
    cursor: pointer;
}

    .prf-photo-menu-item:hover {
        background: #f2f4f7;
    }

.prf-header-info {
    grid-area: info;
    min-width: 0;
}

.prf-header-name {
    font-size: 26px;
    font-weight: 600;
    line-height: 1.2;
}

.prf-header-title {
    font-size: 14px;
    opacity: .9;
    margin-top: 4px;
}

.prf-header-meta {
    grid-area: meta;
    align-self: end;
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
}

.prf-header-meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.prf-header-meta-icon {
    width: 24px;
    height: 24px;
    flex: none;
    opacity: .85;
}

.prf-header-meta-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.prf-header-meta-label {
    font-size: 11px;
    opacity: .75;
}

.prf-header-meta-value {
    font-size: 13px;
    font-weight: 500;
    word-break: break-word;
}

.prf-header-actions {
    grid-area: actions;
    display: flex;
    align-items: center;
    gap: 8px;
}

.prf-quick-action {
    position: relative;
}

.prf-quick-action-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 32px;
    border: none;
    border-radius: 20px;
    padding: 0 14px 0 16px;
    background: rgba(255,255,255,.18);
    color: #fff;
    cursor: pointer;
}

    .prf-quick-action-button:hover {
        background: rgba(255,255,255,.3);
    }

    .prf-quick-action-button:active {
        background: rgba(255,255,255,.38);
    }

    .prf-quick-action-button:focus-visible {
        outline: 2px solid #fff;
        outline-offset: 2px;
    }

.prf-quick-action-caret {
    width: 14px;
    height: 14px;
    flex: none;
    pointer-events: none;
    transition: transform .15s ease;
}

.prf-quick-action-button[aria-expanded="true"] .prf-quick-action-caret {
    transform: rotate(180deg);
}

.prf-quick-menu {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    z-index: 20;
    min-width: 190px;
    padding: 4px 0;
    background: #fff;
    border: 1px solid #e3e6ea;
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(16,24,40,.18);
    line-height: normal;
    text-align: left;
}

.prf-quick-menu-open {
    display: block;
}

.prf-quick-menu-item {
    display: block;
    width: 100%;
    padding: 8px 14px;
    border: none;
    background: transparent;
    font-size: 12px;
    color: #1f2a37;
    text-align: left;
    white-space: nowrap;
    cursor: pointer;
}

    .prf-quick-menu-item:hover:not([disabled]) {
        background: #f2f4f7;
    }

    .prf-quick-menu-item[disabled] {
        color: #98a2b3;
        cursor: default;
    }

.prf-refresh-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    padding: 0;
    background: rgba(255,255,255,.18);
    color: #fff;
    cursor: pointer;
}

    .prf-refresh-button:hover {
        background: rgba(255,255,255,.3);
    }

.prf-refresh-button-icon {
    width: 18px;
    height: 18px;
}

.prf-quick-action-button[disabled],
.prf-refresh-button[disabled] {
    opacity: .65;
    cursor: default;
}

/* =========================================================
    SEKMELER
========================================================= */
.prf-tabs {
    display: flex;
    flex-wrap: nowrap;
    flex: none;
    overflow-x: auto;
    overflow-y: hidden;
    border-bottom: 1px solid #e3e6ea;
    margin-top: 6px;
    padding-bottom: 6px;
}

.prf-tab {
    flex: 0 0 auto;
    white-space: nowrap;
    border: none;
    background: transparent;
    padding: 9px 14px;
    font-size: 13px;
    color: #5b6470;
    border-bottom: 2px solid transparent;
    cursor: pointer;
}

    .prf-tab:hover {
        color: #1b4f8a;
    }

.prf-tab-active {
    color: #1b6fd0;
    font-weight: 600;
    border-bottom-color: #1b6fd0;
}

.prf-tab-pane {
    display: none;
    padding: 10px 8px 8px 0;
}

.prf-tab-pane-active {
    display: block;
}

.prf-lazy-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 160px;
}

    .prf-lazy-state .spinner {
        width: 40px;
        height: 40px;
        border: 4px solid #ccc;
        border-top-color: #1892c2;
        border-radius: 50%;
        animation: spin 1s linear infinite;
    }

.prf-lazy-error {
    color: #a94442;
    text-align: center;
}

.prf-card-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 90px;
}

    .prf-card-loading .spinner {
        width: 24px;
        height: 24px;
        border: 3px solid #e3e6ea;
        border-top-color: #1b6fd0;
        border-radius: 50%;
        animation: spin 1s linear infinite;
    }

/* =========================================================
    GENEL BAKIŞ KARTLARI
========================================================= */

.prf-summary-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(170px, 100%), 1fr));
    gap: 12px;
}

.prf-summary-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border: 1px solid #eceff3;
    border-radius: 10px;
    box-shadow: 0 1px 3px rgba(16,24,40,.06);
    padding: 10px 14px;
}

.prf-summary-main {
    flex: 1 1 auto;
    min-width: 0;
}

.prf-summary-title {
    font-size: 12px;
    color: #5b6470;
    overflow-wrap: break-word;
}

.prf-summary-icon {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

    .prf-summary-icon svg {
        width: 24px;
        height: 24px;
    }

.prf-summary-icon-purple {
    background: #f1ecfd;
    color: #7c4dff;
}

.prf-summary-icon-green {
    background: #e6f6ed;
    color: #12a150;
}

.prf-summary-icon-blue {
    background: #e8f1fe;
    color: #1b6fd0;
}

.prf-summary-icon-orange {
    background: #fff1e6;
    color: #f5811f;
}

.prf-summary-value {
    font-size: 24px;
    font-weight: 600;
    color: #1f2a37;
    margin-top: 4px;
    line-height: 1.1;
}

.prf-summary-label {
    font-size: 11px;
    color: #8b95a1;
    margin-top: 2px;
}

.prf-card-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(400px, 100%), 1fr));
    gap: 12px;
    margin-top: 12px;
}

.prf-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: #fff;
    border: 1px solid #eceff3;
    border-radius: 10px;
    box-shadow: 0 1px 3px rgba(16,24,40,.06);
    padding: 16px 18px;
    min-height: 180px;
    max-height: 340px;
}

.prf-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.prf-card-title {
    font-size: 14px;
    font-weight: 600;
    color: #1f2a37;
}

.prf-card-range {
    margin-left: auto;
    font-size: 11px;
    color: #8b95a1;
    white-space: nowrap;
}

.prf-card-filters {
    display: flex;
    gap: 6px;
}

.prf-filter {
    border: 1px solid #e3e6ea;
    background: #f7f9fc;
    border-radius: 14px;
    padding: 3px 10px;
    font-size: 11px;
    color: #5b6470;
    cursor: pointer;
}

.prf-filter-active {
    background: #e8f1fe;
    border-color: #c7ddfb;
    color: #1b6fd0;
    font-weight: 600;
}

.prf-card-body {
    flex: 1 1 auto;
    min-height: 0;
    margin-top: 12px;
    margin-right: -8px;
    padding-right: 8px;
    overflow: auto;
}

.prf-card-foot {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 12px;
    font-size: 12px;
}

.prf-card-foot-count {
    margin-right: auto;
    color: #8b95a1;
}

.prf-card-foot a {
    color: #1b6fd0;
}

.prf-empty {
    font-size: 12px;
    color: #8b95a1;
    padding: 12px 0;
}

/* =========================================================
    HAFTALIK AJANDA
========================================================= */
.prf-agenda-nav {
    display: flex;
    align-items: center;
    gap: 6px;
}

.prf-agenda-range {
    min-width: 150px;
    text-align: center;
    font-size: 12px;
    color: #5b6470;
    white-space: nowrap;
}

.prf-agenda-nav-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e3e6ea;
    background: #fff;
    border-radius: 6px;
    width: 24px;
    height: 24px;
    padding: 0;
    color: #5b6470;
    cursor: pointer;
}

    .prf-agenda-nav-button svg {
        width: 14px;
        height: 14px;
    }

    .prf-agenda-nav-button:hover {
        border-color: #c7ddfb;
        color: #1b6fd0;
    }

    .prf-agenda-nav-button[disabled],
    .prf-agenda-today-button[disabled] {
        opacity: .5;
        cursor: default;
    }

.prf-agenda-body {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.prf-agenda-days {
    display: flex;
    gap: 6px;
    flex: none;
    overflow-x: auto;
}

.prf-agenda-day {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    border: 1px solid #e3e6ea;
    background: #fff;
    border-radius: 8px;
    padding: 6px 8px;
    font-size: 11px;
    color: #5b6470;
    cursor: pointer;
}

.prf-agenda-day-has-plan {
    background: #eff6fe;
}

.prf-agenda-day-today {
    border-color: #1b6fd0;
}

.prf-agenda-day-active {
    background: #1b6fd0;
    border-color: #1b6fd0;
    color: #fff;
}

.prf-agenda-today-button {
    border: 1px solid #e3e6ea;
    background: #fff;
    border-radius: 6px;
    padding: 2px 8px;
    font-size: 11px;
    color: #1b6fd0;
    cursor: pointer;
}

    .prf-agenda-today-button:hover {
        border-color: #c7ddfb;
    }

.prf-agenda-day-no {
    font-size: 14px;
    font-weight: 600;
}

.prf-agenda-list {
    flex: 1 1 auto;
    margin-right: -8px;
    padding-right: 8px;
    min-height: 0;
    overflow-y: auto;
    margin-top: 12px;
}

.prf-agenda-item {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    padding: 8px 10px 8px 14px;
    margin-bottom: 2px;
    border-radius: 0 6px 6px 0;
}

    .prf-agenda-item::before {
        content: "";
        position: absolute;
        left: 0;
        top: 8px;
        bottom: 8px;
        width: 3px;
        border-radius: 2px;
        background: #d0d5dd;
    }

.prf-agenda-status-upcoming {
    background: #f4f9fe;
}

    .prf-agenda-status-upcoming::before {
        background: #60a9e5;
    }

.prf-agenda-status-active {
    background: #f3fcf5;
}

    .prf-agenda-status-active::before {
        background: #60e574;
    }

.prf-agenda-status-passive {
    background: #fafafa;
}

    .prf-agenda-status-passive::before {
        background: #afafaf;
    }

.prf-agenda-status-cancelled {
    background: #fdf5f5;
}

    .prf-agenda-status-cancelled::before {
        background: #ed7474;
    }

    .prf-agenda-status-cancelled .prf-agenda-item-title {
        text-decoration: line-through;
    }

.prf-agenda-item-time {
    flex: 0 0 auto;
    font-size: 11px;
    color: #5b6470;
}

.prf-agenda-item-conflict {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 12px;
    position: relative;
    top: -3px;
    color: #e08c1a;
}

    .prf-agenda-item-conflict svg {
        display: block;
        width: 12px;
        height: 12px;
    }

.prf-agenda-item-body {
    flex: 1 1 auto;
    min-width: 0;
}

.prf-agenda-item-title {
    font-size: 13px;
    color: #1f2a37;
}

.prf-agenda-item-place {
    font-size: 11px;
    color: #8b95a1;
}

.prf-agenda-item-tag {
    flex: 0 1 auto;
    max-width: 25%;
    font-size: 10px;
    color: #1b6fd0;
    background: #e8f1fe;
    border-radius: 10px;
    padding: 2px 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* =========================================================
    GÖREV KARTI
========================================================= */
.prf-task-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    position: relative;
    padding: 8px 10px 8px 14px;
    margin-bottom: 2px;
    background: #fafbfc;
    border-radius: 0 6px 6px 0;
}

    .prf-task-row::before {
        content: "";
        position: absolute;
        left: 0;
        top: 8px;
        bottom: 8px;
        width: 3px;
        border-radius: 2px;
        background: #d0d5dd;
    }

.prf-task-main {
    flex: 1 1 auto;
    min-width: 0;
}

.prf-task-title {
    font-size: 13px;
    color: #1f2a37;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.prf-task-meta {
    font-size: 11px;
    color: #8b95a1;
}

.prf-task-status {
    flex: 0 0 auto;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}

.prf-task-overdue::before {
    background: #d64545;
}

.prf-task-overdue .prf-task-status {
    color: #d64545;
}

.prf-task-thisweek::before {
    background: #1b6fd0;
}

.prf-task-thisweek .prf-task-status {
    color: #1b6fd0;
}

.prf-task-new::before {
    background: #22a06b;
}

.prf-task-new .prf-task-status {
    color: #22a06b;
}

.prf-task-done::before,
.prf-task-cancelled::before {
    background: #b6bdc7;
}

.prf-task-done .prf-task-status,
.prf-task-cancelled .prf-task-status {
    color: #8b95a1;
}

/* =========================================================
    ZAMAN DAĞILIMI VE LİSTE KARTLARI
========================================================= */

.prf-timedist {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    height: 100%;
}

.prf-timedist-chart {
    position: relative;
    flex: 0 0 auto;
    width: 150px;
    height: 150px;
}

.prf-timedist-donut {
    width: 100%;
    height: 100%;
}

.prf-timedist-center {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    text-align: center;
    pointer-events: none;
}

.prf-timedist-total {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.1;
    color: #1f2a37;
}

.prf-timedist-sub {
    font-size: 10px;
    color: #8b95a1;
}

.prf-timedist-arc {
    fill: none;
    stroke-width: 5;
    transition: opacity .15s ease-in-out;
}

.prf-timedist-dimmed {
    opacity: .25;
}

.prf-timedist-legend {
    flex: 1 1 auto;
    min-width: 0;
}

.prf-timedist-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 0;
    transition: opacity .15s ease-in-out;
}

.prf-timedist-row-empty {
    opacity: .5;
}

.prf-timedist-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex: 0 0 auto;
}

.prf-timedist-text {
    flex: 1 1 auto;
    min-width: 0;
}

.prf-timedist-line {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.prf-timedist-label {
    flex: 1 1 auto;
    font-size: 12px;
    color: #5b6470;
}

.prf-timedist-value {
    font-size: 12px;
    font-weight: 600;
    color: #1f2a37;
}

.prf-timedist-meta {
    font-size: 10px;
    color: #8b95a1;
}

.prf-list-item {
    padding: 8px 10px 8px 8px;
    margin-bottom: 2px;
    border-bottom: 1px solid #f1f3f6;
}

.prf-list-item-today {
    background: #f4f9fe;
    border-radius: 6px;
}

.prf-list-item-iconed {
    display: flex;
    align-items: center;
    gap: 10px;
}

.prf-list-item-icon {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #e8f1fe;
    color: #1b6fd0;
}

    .prf-list-item-icon svg {
        display: block;
        width: 15px;
        height: 15px;
    }

.prf-list-item-icon-orange {
    background: #fff1e6;
    color: #f5811f;
}

.prf-list-item-icon-green {
    background: #e6f6ed;
    color: #12a150;
}

.prf-list-item-body {
    flex: 1 1 auto;
    min-width: 0;
}

.prf-list-item-iconed .prf-list-item-tag {
    flex: none;
    margin-top: 0;
}

.prf-list-item-title {
    font-size: 13px;
    color: #1f2a37;
}

.prf-list-item-meta {
    font-size: 11px;
    color: #8b95a1;
}

.prf-list-item-tag {
    display: inline-block;
    margin-top: 4px;
    font-size: 10px;
    color: #22a06b;
    background: #e7f6ef;
    border-radius: 10px;
    padding: 2px 8px;
}

.prf-list-item-tag-pending {
    color: #c2700a;
    background: #fff1e6;
}

/* =========================================================
    SEKME FORMLARI
========================================================= */
.prf-form .control-container {
    position: relative;
    margin-bottom: 14px;
}

    .prf-form .control-container label {
        display: block;
        font-size: 12px;
        color: #5b6470;
        margin-bottom: 4px;
    }

.prf-form .form-control:disabled,
.prf-form .form-control[readonly] {
    background-color: #f2f4f7;
    border-color: #e4e7ec;
    color: #6b7280;
    opacity: 1;
    cursor: default;
    box-shadow: none;
}

    .prf-form .form-control:disabled:focus,
    .prf-form .form-control[readonly]:focus {
        background-color: #f2f4f7;
        border-color: #e4e7ec;
        box-shadow: none;
    }

.prf-form textarea {
    height: auto;
    min-height: 80px;
    max-height: 200px;
    field-sizing: content;
    overflow: auto;
    resize: none;
}

    .prf-form textarea.prf-note-field {
        min-height: 54px;
    }

.prf-form .k-grid .k-edit-cell > input,
.prf-form .k-grid .k-edit-cell > textarea,
.prf-form .k-grid .k-edit-cell > .k-textbox,
.prf-form .k-grid .k-edit-cell > .k-widget {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.prf-form .k-grid textarea {
    min-height: 0;
    max-height: none;
    field-sizing: fixed;
}

.prf-form .toggle-switch-wrapper {
    max-width: none;
    min-height: 34px;
    padding: 0 2px;
}

    .prf-form .toggle-switch-wrapper label {
        margin-bottom: 0;
    }

    .prf-form .toggle-switch-wrapper .toggle-switch-label {
        font-size: 12px;
        color: #5b6470;
        line-height: 1.3;
    }

.prf-section-title {
    font-size: 14px;
    font-weight: 600;
    color: #244f82;
    margin: 8px 0 10px;
    padding-bottom: 6px;
    border-bottom: 1px solid #eceff3;
}

.prf-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin: 3px 0 10px;
    padding-bottom: 2px;
    border-bottom: 1px solid #eceff3;
}

    .prf-section-header .prf-section-title {
        margin: 0;
        padding: 0;
        border-bottom: none;
    }

    .prf-section-header .prf-file-toolbar {
        margin-bottom: 0;
    }

    .prf-section-header .tab-table-button {
        display: flex;
        align-items: center;
        flex: none;
    }

        .prf-section-header .tab-table-button img {
            width: 26px;
            height: 26px;
        }

.prf-form .k-grid td.k-command-cell {
    text-align: center;
    justify-content: center;
}

.prf-form .k-grid .prf-row-action {
    display: flex;
    align-items: center;
    justify-content: center;
}

    .prf-form .k-grid .prf-row-action img {
        width: 20px;
        height: 20px;
    }

.prf-form .k-grid-norecords-template {
    width: 100%;
    border: none;
    color: #8a94a6;
}

.prf-section-divider {
    border-top: 1px solid #eceff3;
    margin: 14px 0 12px;
}

.prf-file-toolbar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
}

.prf-file-input-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
}

.prf-file-picker {
    display: inline-flex;
    align-items: center;
    height: 30px;
    margin: 0;
    padding: 0 12px;
    font-size: 12px;
    font-weight: 500;
    color: #374151;
    background: #f2f4f7;
    border: 1px solid #d5d8dc;
    border-radius: 4px;
    cursor: pointer;
    white-space: nowrap;
}

    .prf-file-picker:hover {
        background: #e9edf2;
    }

.prf-file-input-hidden:focus-visible + .prf-file-picker {
    outline: 2px solid #1b6fd0;
    outline-offset: 2px;
}

.prf-file-name {
    max-width: 240px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 12px;
    color: #374151;
}

.prf-file-name-empty {
    color: #9aa3ae;
}

.prf-field-invalid {
    border-color: #d64545 !important;
}

.prf-field-error {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 1px;
    font-size: 11px;
    line-height: 1.2;
    color: #d64545;
}

.prf-save-bar {
    position: sticky;
    bottom: 8px;
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    padding-top: 10px;
    margin-top: 8px;
    background: #fff;
    border-top: 1px solid #eceff3;
}

.prf-save-meta {
    margin-right: auto;
    align-self: center;
    font-size: 11px;
    color: #8b95a1;
}

.prf-training-count {
    margin-top: 6px;
    font-size: 12px;
    color: #8b95a1;
}

/* =========================================================
    RESPONSIVE - GENİŞ EKRAN
========================================================= */

@media screen and (min-width: 1900px) {
    .prf-card-row {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (max-width: 1200px) {
    .prf-summary-row {
        grid-template-columns: repeat(6, 1fr);
    }

        .prf-summary-row .prf-summary-card {
            grid-column: span 2;
        }

            .prf-summary-row .prf-summary-card:nth-child(4) {
                grid-column: 2 / span 2;
            }
}

@media screen and (max-width: 700px) {
    .prf-summary-row {
        grid-template-columns: repeat(4, 1fr);
    }

        .prf-summary-row .prf-summary-card:nth-child(4) {
            grid-column: span 2;
        }

        .prf-summary-row .prf-summary-card:nth-child(5) {
            grid-column: 2 / span 2;
        }
}

/* =========================================================
    RESPONSIVE - KÜÇÜK EKRAN
========================================================= */
@media screen and (max-width: 768px) {

    .prf-header {
        grid-template-areas:
            "photo info actions"
            "meta  meta meta";
        column-gap: 16px;
        padding: 18px;
    }

    .prf-header-photo {
        --prf-photo-badge-size: 28px;
    }

        .prf-header-photo img {
            width: 88px;
            height: 88px;
        }

    .prf-photo-badge-icon {
        width: 16px;
        height: 16px;
    }

    .prf-header-name {
        font-size: 22px;
    }

    .prf-header-meta {
        gap: 16px;
    }

    .prf-card {
        min-height: 0;
    }

    .prf-card-row {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
    RESPONSIVE - DAR TELEFON
========================================================= */
@media screen and (max-width: 480px) {

    .prf-summary-row {
        grid-template-columns: 1fr;
    }

        .prf-summary-row .prf-summary-card,
        .prf-summary-row .prf-summary-card:nth-child(4),
        .prf-summary-row .prf-summary-card:nth-child(5) {
            grid-column: auto;
        }

    .prf-header {
        column-gap: 14px;
        row-gap: 12px;
        padding: 14px;
    }

    .prf-header-photo {
        --prf-photo-badge-size: 24px;
    }

        .prf-header-photo img {
            width: 64px;
            height: 64px;
        }

    .prf-photo-badge-icon {
        width: 14px;
        height: 14px;
    }

    .prf-header-name {
        font-size: 19px;
        overflow-wrap: break-word;
    }

    .prf-header-meta {
        gap: 12px;
    }

    .prf-header-actions {
        gap: 6px;
    }

    .prf-quick-action-button {
        gap: 5px;
        height: 30px;
        padding: 0 8px 0 10px;
        font-size: 11px;
    }

    .prf-quick-action-caret {
        width: 12px;
        height: 12px;
    }

    .prf-refresh-button {
        width: 30px;
        height: 30px;
    }

    .prf-refresh-button-icon {
        width: 16px;
        height: 16px;
    }

    .prf-timedist-chart {
        width: 120px;
        height: 120px;
    }

    .prf-agenda-day {
        flex: 1 1 0;
        min-width: 0;
        padding: 6px 4px;
    }

    .prf-task-title {
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }
}
