* {
    margin:     0;
    padding:    0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background:  linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color:       #2d3748;
    line-height: 1.6;
    min-height:  100vh;
}

.container {
    max-width: 1400px;
    margin:    0 auto;
    padding:   2rem;
}

.header {
    text-align: center;
    margin-bottom: 3rem;
    color: white;
}

.header h1 {
    font-size:     3rem;
    font-weight:   800;
    margin-bottom: 1rem;
    text-shadow:   2px 2px 4px rgba(0,0,0,0.3);
}

.header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.dashboard {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.card {
    background:      rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius:   20px;
    padding:         1rem;
    box-shadow:      0 20px 40px rgba(0,0,0,0.1);
    border:          1px solid rgba(255,255,255,0.2);
    transition:      all 0.3s ease;
}

.card:hover {
    transform:  translateY(-5px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.15);
}

.card.wide {
    grid-column: span 2;
}

.card-title {
    font-size:     1.5rem;
    font-weight:   700;
    margin-bottom: 1.5rem;
    color:         #2d3748;
    display:       flex;
    align-items:   center;
    gap:           0.5rem;
}

.card-title::before {
    content:       '';
    width:         4px;
    height:        2rem;
    background:    linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 2px;
}

.metric {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    margin: 0.5rem 0;
    background: #f7fafc;
    border-radius: 12px;
    border-left: 4px solid #667eea;
}

.metric-label {
    font-weight: 600;
    color: #4a5568;
}

.metric-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: #2d3748;
}

.chart-container {
    width: 100%;
    height: 300px;
    margin-top: 1rem;
}

.tall-chart {
    height: 400px;
}

.bar {
    transition: all 0.3s ease;
    cursor: pointer;
}

.bar:hover {
    opacity: 0.8;
    stroke: #2d3748;
    stroke-width: 2;
}

.tooltip {
    position: absolute;
    padding: 12px;
    background: rgba(45, 55, 72, 0.95);
    color: white;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    backdrop-filter: blur(4px);
    z-index: 1000;
}

.pie-slice {
    transition: all 0.3s ease;
    cursor: pointer;
}

.pie-slice:hover {
    filter: brightness(1.1);
}

.legend {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
    justify-content: center;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.legend-color {
    width: 16px;
    height: 16px;
    border-radius: 50%;
}

.timeline {
    margin-top: 1rem;
}

.axis text {
    font-size: 11px;
    font-weight: 500;
}

.axis-label {
    font-size: 12px;
    font-weight: 600;
    fill: #4a5568;
}

.trend-line {
    fill: none;
    stroke: #667eea;
    stroke-width: 3;
    stroke-linecap: round;
}

.data-point {
    fill: #667eea;
    stroke: white;
    stroke-width: 2;
    cursor: pointer;
}

.data-point:hover {
    fill: #764ba2;
    r: 6;
}

@media (max-width: 1200px) {
    .card.wide {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    .dashboard {
        grid-template-columns: 1fr;
    }
    
    .header h1 {
        font-size: 2rem;
    }
    
    .container {
        padding: 1rem;
    }
}

.status-rejected    { color: #e53e3e; }
.status-interviewed { color: #3182ce; }
.status-pending     { color: #d69e2e; }
.status-offered     { color: #38a169; }
