/* Main Header Styles */

/* Header Button Styling */
.header-actions .btn {
    min-width: 80px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
    padding: 0 16px;
}

.header-actions .btn-outline-primary {
    border: 1px solid var(--primary-main);
    color: var(--primary-main);
    background: transparent;
}

.header-actions .btn-outline-primary:hover {
    background: var(--primary-main);
    color: white;
    transform: translateY(-1px);
}

.header-actions .btn-primary {
    background: var(--primary-main);
    color: white;
    border: 1px solid var(--primary-main);
}

.header-actions .btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-1px);
}

.header-profile-picture {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border-light);
}

/* Workspace Mode Header Styling */
.header-workspace-mode {
    background: linear-gradient(135deg, #f59e0b, #f97316) !important;
    border-bottom: 2px solid rgba(251, 146, 60, 0.3);
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.15);
    position: relative;
}

.header-workspace-mode::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #f59e0b, #f97316, #dc2626, #f59e0b);
    background-size: 200% 100%;
    animation: workspaceIndicator 3s ease-in-out infinite;
}

@keyframes workspaceIndicator {
    0%, 100% { background-position: 200% 0; }
    50% { background-position: -200% 0; }
}

.header-workspace-mode .brand-text,
.header-workspace-mode .brand-icon {
    color: white !important;
}

.header-workspace-mode .action-button {
    color: white !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
}

.header-workspace-mode .action-button:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
}

.header-workspace-mode .search-input {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: white !important;
}

.header-workspace-mode .search-input::placeholder {
    color: rgba(255, 255, 255, 0.7) !important;
}

.header-workspace-mode .search-icon {
    color: rgba(255, 255, 255, 0.7) !important;
}

/* Notification styles */
.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--danger-main);
    color: white;
    border-radius: 10px;
    padding: 2px 6px;
    font-size: 10px;
    font-weight: 600;
    min-width: 18px;
    text-align: center;
    line-height: 1.2;
    border: 2px solid var(--background-main);
}

.notification-dropdown {
    min-width: 320px;
    max-width: 400px;
    max-height: 500px;
    overflow-y: auto;
}

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

.notification-item {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-light);
    transition: background-color 0.2s ease;
}

.notification-item:last-child {
    border-bottom: none;
}

.notification-item.unread {
    background-color: rgba(var(--primary-main-rgb), 0.05);
    border-left: 3px solid var(--primary-main);
}

.notification-item:hover {
    background-color: var(--background-light);
}

.notification-title {
    font-weight: 600;
    font-size: 14px;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.notification-message {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.4;
    margin-bottom: 6px;
}

.notification-time {
    font-size: 11px;
    color: var(--text-muted);
}

.notification-actions {
    display: flex;
    gap: 8px;
}

.notification-actions .btn {
    font-size: 12px;
    padding: 4px 12px;
}
