/* Existing styles */
:root {
    --affirm-primary: #000000;
    --affirm-secondary: #ffffff;
    --affirm-accent: #f0f0f0;
    --affirm-success: #28a745;
    --affirm-warning: #ffc107;
    --affirm-danger: #dc3545;
    --affirm-info: #17a2b8;
}

body {
    background-color: #f8f9fa;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Custom pagination styles */
.pagination .page-item .page-link {
    color: var(--affirm-primary);
}

.pagination .page-item.active .page-link {
    background-color: var(--affirm-primary);
    border-color: var(--affirm-primary);
    color: var(--affirm-secondary);
}

.pagination .page-item.disabled .page-link {
    color: #6c757d;
}

.login-container {
    max-width: 400px;
    margin: 10vh auto;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    background: white;
}

.navbar-affirm {
    background-color: var(--affirm-primary);
    color: var(--affirm-secondary);
}

.dashboard-card {
    border-radius: 8px;
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dashboard-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.applicant-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.applicant-card:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.profile-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--affirm-accent);
}

.status-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.status-pending {
    background-color: #e9ecef;
    color: #495057;
}

.status-qualified {
    background-color: #d1ecf1;
    color: #0c5460;
}

.status-disqualified {
    background-color: #fff3cd;
    color: #856404;
}

.status-rejected {
    background-color: #f8d7da;
    color: #721c24;
}

.status-hired {
    background-color: #d4edda;
    color: #155724;
}

.status-attend {
    background-color: #cce5ff;
    color: #004085;
}

.status-not-attend {
    background-color: #f8d7da;
    color: #721c24;
}

.status-hold {
    background-color: #fff3cd;
    color: #856404;
}

.status-onboard {
    background-color: #d4edda;
    color: #155724;
}

.status-resigned {
    background-color: #f8d7da;
    color: #721c24;
}

.status-failed-hire {
    background-color: #f8d7da;
    color: #721c24;
}

.activity-timeline {
    position: relative;
    padding-left: 20px;
    border-left: 2px solid #e9ecef;
    margin-left: 10px;
}

.timeline-item {
    position: relative;
    margin-bottom: 20px;
}

.timeline-item:before {
    content: '';
    position: absolute;
    left: -25px;
    top: 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--affirm-primary);
}

.action-btn {
    padding: 5px 12px;
    font-size: 0.85rem;
    margin: 2px;
}

.filter-section {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}

.page-title {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 25px;
}

.page-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--affirm-primary);
}

.email-preview {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 20px;
    background: white;
    max-width: 600px;
    margin: 0 auto;
}

.email-header {
    border-bottom: 1px solid #dee2e6;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.logo-container {
    background-color: var(--affirm-primary);
    color: var(--affirm-secondary);
    padding: 20px;
    text-align: center;
    border-radius: 8px 8px 0 0;
}

.section-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 25px;
    margin-bottom: 25px;
}

body .table-responsive .table.table-hover thead tr th a {
    text-decoration: none;
    color: inherit;
}

@media (max-width: 768px) {
    .table-responsive {
        overflow-x: auto;
    }

    .action-btns {
        display: flex;
        flex-direction: column;
    }
}