:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --success-color: #27ae60;
    --danger-color: #e74c3c;
    --warning-color: #f39c12;
    --info-color: #16a085;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #f8f9fa;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

/* Sidebar for desktop */
.sidebar {
    min-width: 250px;
    max-width: 250px;
    background: white;
    border-right: 1px solid #dee2e6;
    min-height: calc(100vh - 56px);
}

/* Cards */
.stat-card {
    border-left: 4px solid;
    transition: transform 0.2s;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-card.primary { border-left-color: var(--primary-color); }
.stat-card.success { border-left-color: var(--success-color); }
.stat-card.info { border-left-color: var(--info-color); }
.stat-card.warning { border-left-color: var(--warning-color); }

/* Dashboard widgets */
.widget {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 20px;
    margin-bottom: 20px;
}

.widget-header {
    border-bottom: 2px solid #f1f3f4;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

/* Candidate cards */
.candidate-card {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    transition: all 0.3s;
}

.candidate-card:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.candidate-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--secondary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
}

/* Status badges */
.status-badge {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.status-new { background: #e3f2fd; color: #1976d2; }
.status-reviewing { background: #fff3e0; color: #f57c00; }
.status-qualified { background: #e8f5e9; color: #388e3c; }
.status-interviewing { background: #f3e5f5; color: #7b1fa2; }
.status-hired { background: #e0f2f1; color: #00796b; }
.status-rejected { background: #ffebee; color: #c62828; }

/* Pipeline view */
.pipeline-column {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    min-height: 500px;
}

.pipeline-card {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: 10px;
    margin-bottom: 10px;
    cursor: move;
}

/* Login page */
.login-container {
    max-width: 400px;
    margin: 100px auto;
}

.login-box {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Responsive */
@media (max-width: 768px) {
    .sidebar {
        display: none;
    }
}

/* Footer */
.footer {
    margin-top: auto;
}
