/* Reusable component styles */

/* Header Component */
.header {
    text-align: center;
    color: white;
    margin-bottom: 30px;
}

.header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.header .sprint-info {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Metric Widget Component */
.metric-widget {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.metric-widget-full {
    grid-column: 1 / -1;
}

.metric-widget h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #2d3748;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Alert Panel Component */
.alert-panel {
    background: linear-gradient(135deg, #e53e3e 0%, #c53030 100%);
    color: white;
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 20px;
}

.alert-panel.warning {
    background: linear-gradient(135deg, #ed8936 0%, #dd6b20 100%);
}

.alert-panel.clear {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
}

.alert-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    font-size: 1.3rem;
    font-weight: bold;
}

.alert-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
}

.alert-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 15px;
    border-left: 4px solid rgba(255, 255, 255, 0.3);
}

.alert-item strong {
    display: block;
    margin-bottom: 8px;
}

/* Badge Components */
.priority-badge, .theme-badge, .points-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.priority-badge.p0 {
    background: #e53e3e;
    color: white;
}

.priority-badge.p1 {
    background: #3182ce;
    color: white;
}

.theme-capacity {
    background: #579bfc;
    color: white;
}

.theme-scheduling {
    background: #ff007f;
    color: white;
}

.theme-operational {
    background: #037f4c;
    color: white;
}

.points-badge {
    background: #38a169;
    color: white;
}

/* Risk Indicator Component */
.risk-indicator {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.risk-low {
    background: #48bb78;
}

.risk-medium {
    background: #ed8936;
}

.risk-high {
    background: #e53e3e;
}
