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

body {
    font-family: Arial, sans-serif;
    background: #f4f7fb;
    color: #1f2937;
}

.container {
    width: 92%;
    max-width: 1250px;
    margin: 30px auto;
}

.hero {
    background: linear-gradient(135deg, #111827, #2563eb);
    color: white;
    border-radius: 22px;
    padding: 35px;
    margin-bottom: 24px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.18);
    padding: 7px 12px;
    border-radius: 999px;
    margin-bottom: 12px;
    font-size: 14px;
}

.hero h1 {
    font-size: 36px;
    margin-bottom: 10px;
}

.subtitle {
    max-width: 650px;
    line-height: 1.6;
    opacity: 0.95;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.stat-card {
    background: white;
    padding: 20px;
    border-radius: 18px;
    box-shadow: 0 7px 20px rgba(0, 0, 0, 0.07);
}

.stat-card p {
    color: #6b7280;
    margin-bottom: 8px;
}

.stat-card h2 {
    font-size: 30px;
}

.layout {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 22px;
}

.card {
    background: white;
    padding: 24px;
    border-radius: 20px;
    box-shadow: 0 7px 20px rgba(0, 0, 0, 0.07);
}

.form-card h2,
.table-card h2 {
    margin-bottom: 16px;
}

label {
    display: block;
    margin-top: 14px;
    margin-bottom: 6px;
    font-weight: bold;
}

input,
select,
textarea {
    width: 100%;
    padding: 12px 13px;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    outline: none;
    font-size: 15px;
}

input:focus,
select:focus,
textarea:focus {
    border-color: #2563eb;
}

textarea {
    min-height: 95px;
    resize: vertical;
}

.btn {
    border: none;
    padding: 11px 14px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: bold;
    margin-top: 14px;
}

.primary-btn {
    background: #2563eb;
    color: white;
    width: 100%;
}

.cancel-btn {
    background: #e5e7eb;
    color: #111827;
    width: 100%;
}

.hidden {
    display: none;
}

.table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.table-header p {
    color: #6b7280;
    margin-bottom: 16px;
}

.filters {
    display: grid;
    grid-template-columns: 1fr 180px;
    gap: 12px;
    margin-bottom: 16px;
}

.table-wrapper {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    padding: 14px;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
    vertical-align: top;
}

th {
    background: #f1f5f9;
    font-size: 14px;
}

.badge {
    padding: 7px 11px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: bold;
    display: inline-block;
}

.badge.Applied {
    background: #dbeafe;
    color: #1d4ed8;
}

.badge.Interview {
    background: #fef3c7;
    color: #b45309;
}

.badge.Selected {
    background: #dcfce7;
    color: #15803d;
}

.badge.Rejected {
    background: #fee2e2;
    color: #b91c1c;
}

.action-btns {
    display: flex;
    gap: 8px;
}

.edit-btn {
    background: #f59e0b;
    color: white;
}

.delete-btn {
    background: #dc2626;
    color: white;
}

.empty-message {
    text-align: center;
    padding: 20px;
    color: #6b7280;
    display: none;
}

@media (max-width: 950px) {
    .layout {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .hero h1 {
        font-size: 28px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .filters {
        grid-template-columns: 1fr;
    }
}
