/* ATS Custom Styles */
:root {
    --sidebar-width: 250px;
    --header-height: 60px;
    --primary: #1677ff;
    --success: #52c41a;
    --warning: #faad14;
    --danger: #f5222d;
    --info: #13c2c2;
    --purple: #722ed1;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #f5f5f5;
}

/* Sidebar */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: var(--sidebar-width);
    height: 100vh;
    background: #001529;
    color: #fff;
    z-index: 1000;
    overflow-y: auto;
    transition: width 0.2s;
}

.sidebar-brand {
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 20px;
    font-weight: 700;
    color: #fff;
}

.sidebar .nav-link {
    color: rgba(255, 255, 255, 0.65);
    padding: 12px 24px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: all 0.2s;
    font-size: 14px;
}

.sidebar .nav-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.sidebar .nav-link.active {
    color: #fff;
    background: var(--primary);
}

.sidebar .nav-link i {
    width: 20px;
    text-align: center;
}

/* Header */
.top-header {
    position: fixed;
    top: 0;
    left: var(--sidebar-width);
    right: 0;
    height: var(--header-height);
    background: #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    z-index: 999;
}

.top-header .brand-text {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary);
}

/* Main content */
.main-content {
    margin-left: var(--sidebar-width);
    margin-top: var(--header-height);
    padding: 24px;
    min-height: calc(100vh - var(--header-height));
}

.content-card {
    background: #fff;
    border-radius: 8px;
    padding: 24px;
    min-height: 280px;
}

/* Stats cards */
.stats-card {
    border-radius: 10px;
    border: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.stats-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.stats-card .stats-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #fff;
}

.stats-card .stats-value {
    font-size: 28px;
    font-weight: 700;
    margin: 0;
}

.stats-card .stats-label {
    font-size: 13px;
    color: #8c8c8c;
    margin: 0;
}

/* Status badges */
.badge-NEW { background-color: #1677ff; }
.badge-VALIDATED { background-color: #13c2c2; }
.badge-IN_PROGRESS { background-color: #722ed1; }
.badge-ON_HOLD { background-color: #faad14; color: #000; }
.badge-CLOSED { background-color: #8c8c8c; }
.badge-CANCELLED { background-color: #f5222d; }
.badge-ACTIVE { background-color: #52c41a; }
.badge-INACTIVE { background-color: #8c8c8c; }
.badge-BLACKLISTED { background-color: #f5222d; }
.badge-PASSED { background-color: #52c41a; }
.badge-FAILED { background-color: #f5222d; }
.badge-SUBMITTED { background-color: #1677ff; }
.badge-CLIENT_REVIEWING { background-color: #13c2c2; }
.badge-SHORTLISTED { background-color: #52c41a; }
.badge-REJECTED { background-color: #f5222d; }
.badge-NO_RESPONSE { background-color: #faad14; color: #000; }
.badge-PENDING { background-color: #faad14; color: #000; }
.badge-COMPLETED { background-color: #52c41a; }
.badge-OVERDUE { background-color: #f5222d; }
.badge-SCHEDULED { background-color: #1677ff; }
.badge-RESCHEDULED { background-color: #fa8c16; }
.badge-NO_SHOW { background-color: #f5222d; }
.badge-SELECTED { background-color: #13c2c2; }
.badge-OFFER_EXTENDED { background-color: #1890ff; }
.badge-OFFER_ACCEPTED { background-color: #52c41a; }
.badge-OFFER_DECLINED { background-color: #f5222d; }
.badge-JOINED { background-color: #389e0d; }
.badge-PRIMARY { background-color: #1677ff; }
.badge-SUPPORTING { background-color: #722ed1; }
.badge-HIGH { background-color: #f5222d; }
.badge-MEDIUM { background-color: #faad14; color: #000; }
.badge-LOW { background-color: #52c41a; }
.badge-DO_NOT_CONTACT { background-color: #f5222d; }

/* Page header */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
}

.page-header h3 {
    margin: 0;
    font-weight: 600;
}

.page-header .subtitle {
    color: #8c8c8c;
    margin-top: 4px;
    font-size: 14px;
}

/* Login page */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 24px;
}

.login-card {
    width: 420px;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    border: none;
}

/* Pipeline cards */
.pipeline-card {
    cursor: pointer;
    transition: transform 0.2s;
    border: none;
}

.pipeline-card:hover {
    transform: translateY(-2px);
}

/* Tab navigation */
.nav-tabs .nav-link {
    font-size: 14px;
}

/* Table styles */
.table th {
    font-weight: 600;
    font-size: 13px;
    color: #595959;
    white-space: nowrap;
}

.table td {
    vertical-align: middle;
}

/* Notification bell */
.notification-bell {
    position: relative;
    cursor: pointer;
}

.notification-bell .badge {
    position: absolute;
    top: -5px;
    right: -5px;
    font-size: 10px;
}

/* Role badges */
.role-badge-ADMIN { background-color: #f5222d; }
.role-badge-ACCOUNT_MANAGER { background-color: #1677ff; }
.role-badge-TEAM_LEAD { background-color: #722ed1; }
.role-badge-RECRUITER { background-color: #52c41a; }
