/* Bildirim Paneli Stilleri */

.notifications-panel {
    position: fixed;
    top: 64px;
    right: 16px;
    width: 400px;
    max-height: calc(100vh - 80px);
    background: #fff;
    border: 3px solid #000;
    box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.2);
    z-index: 10003;
    display: none;
    flex-direction: column;
    font-family: 'Google Sans Code', monospace;
}

.notifications-panel.active {
    display: flex;
}

.notifications-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 2px solid #000;
    background: #fff;
}

.notifications-panel-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #000;
}

.notifications-panel-close {
    background: none;
    border: 2px solid #000;
    width: 28px;
    height: 28px;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.notifications-panel-close:hover {
    background: #000;
    color: #fff;
}

.notifications-panel-content {
    flex: 1;
    overflow-y: auto;
    padding: 0;
}

.notifications-loading {
    text-align: center;
    padding: 40px;
    color: #666;
}

.notifications-list {
    display: flex;
    flex-direction: column;
}

.notification-item {
    padding: 16px 20px;
    border-bottom: 1px solid #e5e7eb;
    cursor: pointer;
    transition: all 0.2s;
}

.notification-item:hover {
    background: #f9fafb;
}

.notification-item.unread {
    background: #fef3c7;
    border-left: 4px solid #000;
}

.notification-type {
    font-size: 12px;
    font-weight: 700;
    color: #000;
    margin-bottom: 4px;
    text-transform: uppercase;
}

.notification-message {
    font-size: 14px;
    color: #000;
    margin-bottom: 8px;
    line-height: 1.5;
}

.notification-meta {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: #666;
}

.no-notifications {
    text-align: center;
    padding: 40px;
    color: #666;
    font-size: 14px;
}

/* Notifications icon in navbar */
.notifications-icon-container {
    position: relative;
    display: inline-block;
}

.notifications-icon {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: #000;
    transition: all 0.2s;
}

.notifications-icon:hover {
    color: #374151;
}

.notifications-badge {
    position: absolute;
    top: 4px;
    right: 4px;
    background: #ef4444;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
    line-height: 1.4;
}

.notifications-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    width: 400px;
    max-height: 500px;
    background: #fff;
    border: 3px solid #000;
    box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.2);
    z-index: 10004;
    display: flex;
    flex-direction: column;
}

.notifications-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    border-bottom: 2px solid #000;
}

.notifications-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
}

.notifications-mark-all-read {
    background: #000;
    color: #fff;
    border: none;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.notifications-mark-all-read:hover {
    background: #374151;
}

.notifications-list {
    max-height: 400px;
    overflow-y: auto;
}

.notification-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 12px 16px;
    border-bottom: 1px solid #e5e7eb;
    cursor: pointer;
    transition: all 0.2s;
}

.notification-item:hover {
    background: #f9fafb;
}

.notification-item.unread {
    background: #fef3c7;
    border-left: 3px solid #000;
}

.notification-content {
    flex: 1;
}

.notification-mark-read {
    background: #000;
    color: #fff;
    border: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.notification-mark-read:hover {
    background: #374151;
}

.notifications-empty,
.notifications-error,
.notifications-loading {
    text-align: center;
    padding: 40px;
    color: #666;
    font-size: 14px;
}

