/* ZiaNeo Unified Widget Header v3.0 - Corporate Design 2026 */
/* Navy header with white text, Sage accent icon */
/* ALLE --cd-* Werte kommen aus zianeo-corporate.css (EINZIGE Quelle!) */

.widget-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    margin-bottom: 20px;
    background: var(--cd-navy);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg, 8px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: background-color 0.3s ease;
}

.widget-header-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.widget-header-icon {
    width: 42px;
    height: 42px;
    background: var(--cd-sage-bg);
    border-radius: var(--radius-md, 6px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    color: var(--cd-sage);
    font-family: var(--cd-font-body);
    flex-shrink: 0;
    box-shadow: none;
}

.widget-header-icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--cd-sage);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

.widget-header-title {
    font-family: var(--cd-font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--cd-white);
    margin: 0;
    line-height: 1.2;
}

.widget-header-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-family: var(--cd-font-body);
    font-size: 0.8rem;
    margin: 2px 0 0 0;
    line-height: 1.3;
}

.widget-header-badge {
    font-size: 0.65rem;
    background: var(--cd-sage);
    color: var(--cd-navy-dark);
    padding: 4px 8px;
    border-radius: var(--radius-sm, 4px);
    font-weight: 600;
    font-family: var(--cd-font-body);
    margin-left: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.widget-header-actions button,
.widget-header-actions .btn {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--cd-white);
    padding: 10px 18px;
    border-radius: var(--radius-md, 6px);
    cursor: pointer;
    font-family: var(--cd-font-body);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.widget-header-actions button:hover,
.widget-header-actions .btn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.35);
}

.widget-header-actions .btn-primary,
.widget-header-actions button.primary {
    background: var(--cd-sage);
    color: var(--cd-navy-dark);
    border: 1px solid var(--cd-sage);
    font-weight: 600;
}

.widget-header-actions .btn-primary:hover,
.widget-header-actions button.primary:hover {
    background: var(--cd-sage-light);
    border-color: var(--cd-sage-light);
}

.widget-header-actions select {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--cd-white);
    padding: 10px 14px;
    border-radius: var(--radius-md, 6px);
    font-family: var(--cd-font-body);
    font-size: 0.9rem;
    cursor: pointer;
}

.widget-header-actions select option {
    background: var(--cd-navy);
    color: var(--cd-white);
}
