/* Notification bell and dropdown in top bar */
.notification-bell-wrap {
    position: relative;
    display: inline-flex;
}

.notification-bell-btn {
    position: relative;
    background: none;
    border: none;
    padding: 6px;
    cursor: pointer;
}

.notification-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    font-size: 10px;
    font-weight: 700;
    line-height: 16px;
    text-align: center;
    color: #fff;
    background: #ef4444;
    border-radius: 8px;
    border: 1px solid #1a1f2e;
}

.notification-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    width: 360px;
    max-height: 420px;
    background: rgba(21, 26, 37, 0.98);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    z-index: 1100;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.notification-dropdown-header {
    padding: 12px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.notification-dropdown-header span {
    font-weight: 600;
    color: #e0e6ed;
}

.notification-mark-all {
    font-size: 12px;
    color: #93c5fd;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px 8px;
}

.notification-mark-all:hover {
    text-decoration: underline;
}

.notification-dropdown-list {
    overflow-y: auto;
    max-height: 320px;
}

.notification-dropdown-item {
    padding: 12px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    cursor: pointer;
    transition: background 0.15s;
}

.notification-dropdown-item:hover {
    background: rgba(59, 130, 246, 0.1);
}

.notification-dropdown-item.read {
    opacity: 0.75;
}

.notification-item-title {
    font-weight: 600;
    color: #e0e6ed;
    font-size: 13px;
    margin-bottom: 4px;
}

.notification-item-message {
    font-size: 12px;
    color: #9ca3af;
    line-height: 1.35;
}

.notification-item-time {
    font-size: 11px;
    color: #6b7280;
    margin-top: 4px;
}

.notification-dropdown-empty {
    padding: 24px;
    text-align: center;
    color: #6b7280;
    font-size: 13px;
}

.notification-dropdown-footer {
    padding: 10px 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.notification-dropdown-footer a {
    color: #93c5fd;
    text-decoration: none;
    font-size: 13px;
}

.notification-dropdown-footer a:hover {
    text-decoration: underline;
}

/* Notifications page */
.notifications-page {
    max-width: 720px;
    margin: 0 auto;
}

.notifications-page h1 {
    margin-bottom: 1rem;
    color: #e0e6ed;
}

.notifications-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 12px;
}

.notification-card {
    background: rgba(21, 26, 37, 0.85);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 8px;
    padding: 14px 16px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: background 0.15s;
}

.notification-card:hover {
    background: rgba(59, 130, 246, 0.08);
}

.notification-card.read {
    opacity: 0.8;
}

.notification-card .notification-type-icon {
    margin-right: 8px;
    font-size: 1.1rem;
}

.notification-card .notification-title {
    font-weight: 600;
    color: #e0e6ed;
    margin-bottom: 4px;
}

.notification-card .notification-message {
    font-size: 0.9rem;
    color: #9ca3af;
    margin-bottom: 6px;
}

.notification-card .notification-meta {
    font-size: 0.8rem;
    color: #6b7280;
}

/* Deployment report page */
.deployment-report-page .deployment-report-card {
    background: rgba(21, 26, 37, 0.9);
    border: 1px solid rgba(59, 130, 246, 0.25);
    color: #e0e6ed;
}

.deployment-report-page .card-header {
    background: rgba(0, 0, 0, 0.25);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: #e0e6ed;
}

.deployment-report-page .report-section {
    margin-bottom: 1.25rem;
}

.deployment-report-page .report-section h5 {
    color: #93c5fd;
    font-size: 1rem;
    margin-bottom: 0.35rem;
}

.deployment-report-page .report-value {
    font-size: 1.25rem;
    color: #fbbf24;
}
