:root {
    --primary: #1a4f8c;
    --secondary: #3b82f6;
    --accent: #f59e0b;
    --light: #f3f4f6;
    --dark: #1f2937;
    --success: #10b981;
    --danger: #ef4444;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    color: var(--dark);
    min-height: 100vh;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header Styles */
header {
    background: linear-gradient(to right, var(--primary), var(--secondary));
    color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    width: 70px;
    height: 70px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 24px;
    color: var(--primary);
}

.header-text h1 {
    font-size: 28px;
    margin-bottom: 5px;
}

.header-text p {
    font-size: 16px;
    opacity: 0.9;
}

.header-buttons {
    display: flex;
    gap: 15px;
}

.btn {
    padding: 12px 25px;
    border-radius: 50px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background: white;
    color: var(--primary);
}

.btn-primary:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid white;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* Admin Panel */
.admin-panel {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.admin-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.admin-card {
    background: #f8fafc;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.admin-card h3 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 18px;
}

.admin-card p {
    font-size: 24px;
    font-weight: bold;
    color: var(--secondary);
}

/* Search Box */
.search-box {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.search-box input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
}

/* Tables */
.candidate-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
}

.candidate-table th,
.candidate-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.candidate-table th {
    background: #f1f5f9;
    color: var(--primary);
    font-weight: 600;
}

.candidate-table tr:hover {
    background: #f8fafc;
}

.status-badge {
    padding: 5px 10px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
}

.status-completed {
    background: #d1fae5;
    color: #065f46;
}

.status-pending {
    background: #fef3c7;
    color: #92400e;
}

/* Footer */
footer {
    text-align: center;
    padding: 30px 0;
    color: var(--dark);
    border-top: 1px solid #ddd;
    margin-top: 30px;
}

/* Responsive */
@media (max-width: 768px) {
    .header-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    header {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .logo-container {
        justify-content: center;
    }
    
    .admin-header {
        flex-direction: column;
        gap: 20px;
    }
    
    .search-box {
        flex-direction: column;
    }
    
    .candidate-table {
        display: block;
        overflow-x: auto;
    }
}