.notification-panel-nav {
    position: relative;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;

    padding: 0;

    border: 1px solid rgba(240, 193, 61, 0.28);
    border-radius: 10px;

    background:
        rgba(240, 193, 61, 0.08);

    color: #f0c13d;
    font-size: 16px;

    cursor: pointer;

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease;
}

.notification-panel-nav:hover {
    transform: translateY(-1px);

    border-color:
        rgba(240, 193, 61, 0.5);

    background:
        rgba(240, 193, 61, 0.14);
}

.notification-count {
    position: absolute;
    top: -6px;
    right: -6px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 19px;
    height: 19px;

    padding: 0 5px;

    border: 2px solid #11141c;
    border-radius: 999px;

    background: #ff4d68;

    color: #ffffff;
    font-size: 10px;
    font-weight: 900;
    line-height: 1;
}

.notification-panel {
    position: fixed;
    inset: 0;
    z-index: 9998;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 24px;

    background:
        rgba(5, 8, 14, 0.78);

    backdrop-filter: blur(7px);
}

.notification-panel-box {
    width: min(760px, 100%);
    max-height: 86vh;

    overflow: hidden;

    border:
        1px solid rgba(255, 255, 255, 0.09);

    border-radius: 18px;

    background:
        linear-gradient(
            180deg,
            #171b25 0%,
            #11151d 100%
        );

    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.45);
}

.notification-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 20px 22px;

    border-bottom:
        1px solid rgba(255, 255, 255, 0.08);
}

.notification-panel-header h2 {
    display: flex;
    align-items: center;
    gap: 10px;

    margin: 0;

    color: #ffffff;
    font-size: 20px;
}

.notification-panel-header h2 i {
    color: #f0c13d;
}

#closeNotificationPanel {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 34px;
    height: 34px;

    padding: 0;

    border:
        1px solid rgba(255, 255, 255, 0.08);

    border-radius: 9px;

    background:
        rgba(255, 255, 255, 0.04);

    color: #aab2c2;
    font-size: 15px;

    cursor: pointer;
}

#closeNotificationPanel:hover {
    color: #ffffff;

    background:
        rgba(255, 255, 255, 0.08);
}

.notification-panel-body {
    display: flex;
    flex-direction: column;
    gap: 14px;

    max-height: calc(86vh - 76px);

    padding: 18px;

    overflow-y: auto;
}

.notification-empty {
    padding: 44px 20px;

    border:
        1px dashed rgba(255, 255, 255, 0.1);

    border-radius: 14px;

    color: #8d96a7;
    text-align: center;
}

.notification-approval-card {
    padding: 16px;

    border:
        1px solid rgba(255, 255, 255, 0.08);

    border-radius: 14px;

    background:
        rgba(255, 255, 255, 0.035);
}

.notification-approval-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;

    margin-bottom: 15px;
}

.notification-user-info strong {
    display: block;

    color: #ffffff;
    font-size: 16px;
}

.notification-user-info span {
    display: block;

    margin-top: 4px;

    color: #7f899b;
    font-size: 11px;
}

.notification-status {
    padding: 6px 9px;

    border:
        1px solid rgba(240, 193, 61, 0.2);

    border-radius: 999px;

    background:
        rgba(240, 193, 61, 0.08);

    color: #f0c13d;
    font-size: 10px;
    font-weight: 800;
}

.notification-approval-fields {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 12px;
}

.notification-approval-fields select {
    width: 100%;
    min-width: 0;

    padding: 11px 12px;

    border:
        1px solid rgba(255, 255, 255, 0.08);

    border-radius: 9px;

    outline: none;

    background: #0f131b;

    color: #ffffff;
}

.notification-approval-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;

    margin-top: 14px;
}

.notification-approve-btn,
.notification-reject-btn {
    min-height: 38px;

    padding: 0 15px;

    border-radius: 9px;

    font-size: 12px;
    font-weight: 800;

    cursor: pointer;
}

.notification-approve-btn {
    border:
        1px solid rgba(73, 211, 139, 0.28);

    background:
        rgba(73, 211, 139, 0.1);

    color: #68dca0;
}

.notification-reject-btn {
    border:
        1px solid rgba(255, 77, 104, 0.28);

    background:
        rgba(255, 77, 104, 0.09);

    color: #ff7d90;
}

.notification-loading {
    padding: 34px 20px;

    color: #9aa3b3;
    text-align: center;
}

@media (max-width: 640px) {

    .notification-panel {
        padding: 12px;
    }

    .notification-approval-fields {
        grid-template-columns: 1fr;
    }

    .notification-approval-actions {
        flex-direction: column;
    }

    .notification-approve-btn,
    .notification-reject-btn {
        width: 100%;
    }
}

.notification-section-title {
    margin: 4px 2px -2px;
    color: #f0c13d;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.notification-feedback-card {
    padding: 15px 16px;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    background: rgba(255,255,255,0.035);
    cursor: pointer;
}

.notification-feedback-card:hover {
    border-color: rgba(240,193,61,0.24);
}

.notification-feedback-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.notification-feedback-summary strong {
    display: block;
    color: #fff;
    font-size: 14px;
}

.notification-feedback-summary span {
    display: block;
    margin-top: 4px;
    color: #858e9e;
    font-size: 10px;
}

.notification-feedback-detail {
    display: none;
    margin-top: 14px;
    padding-top: 13px;
    border-top: 1px solid rgba(255,255,255,0.07);
}

.notification-feedback-card.open
.notification-feedback-detail {
    display: block;
}

.notification-feedback-detail p {
    margin: 0;
    white-space: pre-wrap;
    color: #d3d7de;
    font-size: 12px;
    line-height: 1.55;
}

.notification-feedback-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 14px;
}

.notification-feedback-actions button {
    min-height: 34px;
    padding: 0 12px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    background: #151a22;
    color: #d9dde4;
    font-size: 10px;
    font-weight: 800;
    cursor: pointer;
}

.notification-feedback-actions button:last-child {
    border-color: rgba(49,197,113,0.3);
    color: #55d58a;
}


/* =========================================
   GENEL KULLANICI BİLDİRİMLERİ
========================================= */

.notification-personal-card {
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 11px;
    padding: 13px 14px;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 13px;
    background: rgba(255,255,255,0.035);
    cursor: pointer;
    transition:
        border-color .18s ease,
        background .18s ease;
}

.notification-personal-card.is-unread {
    border-color: rgba(240,196,25,0.30);
    background: rgba(240,196,25,0.055);
}

.notification-personal-card:hover {
    border-color: rgba(240,196,25,0.38);
}

.notification-personal-icon {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    background: rgba(45,190,104,0.12);
    color: #54d78b;
    font-size: 16px;
}

.notification-personal-content {
    min-width: 0;
}

.notification-personal-content strong {
    display: block;
    color: #fff;
    font-size: 12px;
    font-weight: 900;
}

.notification-personal-content p {
    margin: 6px 0 7px;
    overflow: hidden;
    max-height: 22px;
    white-space: pre-line;
    color: #c4c9d1;
    font-size: 11px;
    line-height: 1.45;
    transition: max-height .18s ease;
}

.notification-personal-card.open
.notification-personal-content p {
    max-height: 160px;
}

.notification-personal-content span {
    color: #7f8795;
    font-size: 9px;
}

.notification-personal-card.is-read {
    opacity: .72;
}


/* =========================================
   ÇÖZÜM NOTU + BİLDİRİM SİLME
========================================= */

.notification-resolution-label {
    display: block;
    margin: 13px 0 6px;
    color: #f0c419;
    font-size: 10px;
    font-weight: 900;
}

.notification-resolution-note {
    width: 100%;
    min-height: 74px;
    box-sizing: border-box;
    padding: 10px 11px;
    resize: vertical;
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 9px;
    outline: none;
    background: #11151c;
    color: #f2f3f5;
    font-family: inherit;
    font-size: 11px;
    line-height: 1.45;
}

.notification-resolution-note:focus {
    border-color: rgba(240,196,25,0.48);
}

.notification-personal-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.notification-personal-delete {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-height: 27px;
    padding: 0 9px;
    border: 1px solid rgba(240,70,80,0.20);
    border-radius: 7px;
    background: rgba(240,70,80,0.07);
    color: #ef6973;
    font-size: 9px;
    font-weight: 800;
    cursor: pointer;
}

.notification-personal-delete:hover {
    border-color: rgba(240,70,80,0.40);
    background: rgba(240,70,80,0.12);
}
