:root {
    --primary: #6366f1;
    --primary-hover: #4f46e5;
    --primary-light: rgba(99, 102, 241, 0.1);
    --secondary: #f97316;
    --success: #22c55e;
    --warning: #f59e0b;
    --danger: #ef4444;
    --light: #f9fafb;
    --dark: #1e293b;
    --bg-dark: #0f172a;
    --bg-card: #1e293b;
    --bg-input: #334155;
    --text-light: #f8fafc;
    --text-muted: #94a3b8;
    --border-color: #334155;
    --border-light: #475569;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

body {
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    min-height: 100vh;
}

.navbar {
    background-color: rgba(30, 41, 59, 0.9) !important;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    border-bottom: 1px solid var(--border-color);
    padding: 0.75rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-light) !important;
    display: flex;
    align-items: center;
}

.navbar-brand i {
    margin-right: 0.5rem;
    font-size: 1.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--text-muted) !important;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.navbar-nav .nav-link:hover, 
.navbar-nav .nav-link.active {
    color: var(--text-light) !important;
    background-color: rgba(99, 102, 241, 0.1);
}

.navbar-nav .nav-link.active {
    position: relative;
}

.navbar-nav .nav-link.active::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 1rem;
    right: 1rem;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
}

.card {
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: none;
    margin-bottom: 20px;
}

.card-header {
    background-color: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 15px 20px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px;
    border-radius: 8px;
    background-color: #f8f9fa;
    transition: all 0.3s ease;
}

.stat-item:hover {
    background-color: #e9ecef;
    transform: translateY(-3px);
}

.stat-value {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary);
}

.stat-label {
    color: #6c757d;
    margin-top: 5px;
}

.table {
    margin-bottom: 0;
}

.table thead th {
    border-top: none;
    border-bottom-width: 1px;
    font-weight: 600;
    color: #495057;
    background-color: #f8f9fa;
}

.table tbody tr {
    cursor: pointer;
    transition: all 0.2s ease;
}

.table tbody tr:hover {
    background-color: rgba(63, 81, 181, 0.05);
}

.recommendation-badge {
    font-size: 0.75rem;
    padding: 5px 10px;
    border-radius: 30px;
    font-weight: 600;
}

.recommendation-high {
    background-color: rgba(76, 175, 80, 0.1);
    color: var(--success);
}

.recommendation-medium {
    background-color: rgba(255, 152, 0, 0.1);
    color: var(--warning);
}

.recommendation-low {
    background-color: rgba(244, 67, 54, 0.1);
    color: var(--danger);
}

.modal-body {
    padding: 20px 30px;
}

.modal-content {
    border-radius: 12px;
    border: none;
}

.btn-action {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    border-radius: 4px;
}

#search-input {
    border-right: none;
}

#search-btn {
    border-left: none;
    background-color: #fff;
}

#modal-recommendation-alert {
    border-radius: 8px;
}

#modal-recommendation-alert.alert-success {
    background-color: rgba(76, 175, 80, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.2);
    color: var(--success);
}

#modal-recommendation-alert.alert-warning {
    background-color: rgba(255, 152, 0, 0.1);
    border: 1px solid rgba(255, 152, 0, 0.2);
    color: var(--warning);
}

#modal-recommendation-alert.alert-danger {
    background-color: rgba(244, 67, 54, 0.1);
    border: 1px solid rgba(244, 67, 54, 0.2);
    color: var(--danger);
}

@media (max-width: 768px) {
    .stat-value {
        font-size: 1.5rem;
    }
    
    .card-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .card-header .input-group {
        width: 100%;
        margin-top: 10px;
    }
}

/* Modern Login Screen */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: var(--bg-dark);
    background-image: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    position: relative;
    overflow: hidden;
}

.login-container::before {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    background: var(--primary);
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.15;
    top: -100px;
    left: -100px;
    z-index: 0;
}

.login-container::after {
    content: "";
    position: absolute;
    width: 350px;
    height: 350px;
    background: var(--secondary);
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.1;
    bottom: -120px;
    right: -120px;
    z-index: 0;
}

.login-box {
    width: 100%;
    max-width: 420px;
    padding: 2.5rem;
    background-color: rgba(30, 41, 59, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    color: var(--text-light);
    position: relative;
    z-index: 1;
    animation: fadeIn 0.6s ease-out;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.login-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2), 0 10px 10px -5px rgba(0, 0, 0, 0.1);
}

.login-box .text-center i {
    font-size: 3.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
}

.login-box h2 {
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-size: 1.75rem;
}

.login-box p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.login-box .form-label {
    color: var(--text-light);
    font-weight: 500;
    margin-bottom: 0.5rem;
    display: block;
}

.login-box .form-control {
    background-color: var(--bg-input);
    border: 1px solid var(--border-color);
    color: var(--text-light);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.login-box .form-control:focus {
    background-color: var(--bg-input);
    border-color: var(--primary);
    color: var(--text-light);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.25);
}

.login-box .btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    font-weight: 600;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    margin-top: 1rem;
}

.login-box .btn-primary:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.login-box .text-danger {
    animation: shake 0.5s ease-in-out;
    margin-top: 0.5rem;
    font-size: 0.875rem;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Stats cards */
.card {
    border: none;
    border-radius: 16px;
    box-shadow: var(--shadow);
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    overflow: hidden;
    color: var(--text-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-header {
    background-color: rgba(15, 23, 42, 0.5);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 1.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card-body {
    padding: 1.5rem;
}

.card-title {
    font-weight: 600;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.card-text {
    color: var(--text-muted);
}

/* Table styling improvements */
.table-responsive {
    margin: 0;
    border-radius: 12px;
    overflow: hidden !important;
    padding: 0;
}

.table {
    width: 100%;
    table-layout: fixed;
}

/* Define column widths */
.table th:nth-child(1), 
.table td:nth-child(1) {
    width: 35%;
    min-width: 180px; /* Ensure name column has minimum width */
}

.table th:nth-child(2), 
.table td:nth-child(2) {
    width: 25%;
    min-width: 120px;
}

.table th:nth-child(3), 
.table td:nth-child(3) {
    width: 30%;
    min-width: 140px;
}

.table th:nth-child(4), 
.table td:nth-child(4) {
    width: 10%;
}

/* Ensure all columns get proper styling */
.table th, .table td {
    vertical-align: middle;
    white-space: normal;
    overflow: visible;
}

/* Table cell background bars */
.table td:nth-child(1) {
    background-color: rgba(15, 23, 42, 0.3);
    border-radius: 6px 0 0 6px;
    color: var(--light);
    font-weight: 500;
}

.table td:nth-child(2) {
    background-color: rgba(99, 102, 241, 0.08);
    color: var(--text-light);
}

.table td:nth-child(3) {
    background-color: rgba(15, 23, 42, 0.2);
    color: var(--text-light);
}

/* Ensure all table content is properly visible */
.table td {
    color: var(--text-light);
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(51, 65, 85, 0.3);
    vertical-align: middle;
    white-space: normal;
    overflow: visible;
}

/* Make links in cells more visible */
.table td a {
    color: var(--primary);
    font-weight: 500;
}

.table td a:hover {
    color: var(--secondary);
    text-decoration: none;
}

/* Eye column improvements */
.eye-column {
    width: 60px;
    min-width: 60px;
    max-width: 60px;
    text-align: center;
    padding: 0.5rem 0 !important;
    background-color: rgba(99, 102, 241, 0.15) !important;
    position: sticky;
    right: 0;
    z-index: 2;
    border-left: 1px solid var(--border-color);
}

/* Make eye button perfectly centered */
.btn-action {
    width: 40px;
    height: 40px;
    padding: 0;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--primary);
    color: white;
    border: none;
    transition: all 0.2s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.btn-action:hover, .btn-action:focus {
    background-color: var(--primary-hover);
    color: white;
    transform: translateX(-50%) translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.btn-action i {
    font-size: 1.25rem;
}

/* Highlight the table header cells as well */
.table th {
    color: var(--text-light);
    font-weight: 600;
    padding: 1rem;
    vertical-align: middle;
}

.table th:nth-child(1) {
    background-color: rgba(15, 23, 42, 0.7);
    border-radius: 6px 0 0 0;
}

.table th:nth-child(2) {
    background-color: rgba(15, 23, 42, 0.6);
}

.table th:nth-child(3) {
    background-color: rgba(15, 23, 42, 0.5);
}

.table th.eye-column {
    background-color: rgba(99, 102, 241, 0.3) !important;
    border-radius: 0 6px 0 0;
}

/* Status and recommendation styling */
.recommendation {
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 4px;
    display: inline-block;
}

.recommendation.recommended {
    background-color: rgba(76, 175, 80, 0.2);
    color: #66bb6a;
}

.recommendation.not-recommended {
    background-color: rgba(244, 67, 54, 0.2);
    color: #ef5350;
}

/* Loading spinner */
.spinner-border {
    width: 3rem;
    height: 3rem;
}

/* Utility classes */
.cursor-pointer {
    cursor: pointer;
}

/* Modal styling */
.modal-content {
    background-color: var(--bg-card);
    color: var(--text-light);
    border: 1px solid var(--border-color);
}

.modal-header {
    background-color: #1e293b;
    border-bottom: 1px solid var(--border-color);
}

.modal-title {
    font-weight: 600;
    color: var(--text-light);
}

.modal-footer {
    border-top: 1px solid var(--border-color);
}

.btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
}

/* Experience badges */
.badge {
    font-size: 0.85em;
    padding: 0.35em 0.65em;
}

.badge-junior {
    background-color: rgba(255, 152, 0, 0.2);
    color: #ffa726;
}

.badge-mid {
    background-color: rgba(3, 169, 244, 0.2);
    color: #29b6f6;
}

.badge-senior {
    background-color: rgba(76, 175, 80, 0.2);
    color: #66bb6a;
}

/* Improved table actions */
.btn-action {
    width: 36px;
    height: 36px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--primary-light);
    color: var(--primary);
    border: none;
    transition: all 0.2s ease;
}

.btn-action:hover {
    background-color: var(--primary);
    color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Button styling */
.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover, .btn-primary:focus {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.25);
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline-primary:hover {
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-secondary {
    background-color: #455a64;
    border-color: #455a64;
}

.btn-secondary:hover {
    background-color: #37474f;
    border-color: #37474f;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fade-in {
    animation: fadeIn 0.3s ease-in-out;
}

/* Toast notifications */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1060;
}

.toast {
    background-color: var(--bg-card);
    border-radius: 4px;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    border: 1px solid var(--border-color);
    max-width: 350px;
    color: var(--text-light);
}

.toast-header {
    background-color: #1e293b;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-light);
}

/* Candidate row styles */
.candidate-row {
    transition: background-color 0.15s ease-in-out;
}

.candidate-row:hover {
    background-color: rgba(63, 81, 181, 0.1);
}

.candidate-row td {
    vertical-align: middle;
}

/* Form controls */
.form-control {
    background-color: var(--bg-input);
    border: 1px solid var(--border-color);
    color: var(--text-light);
    border-radius: 8px;
    padding: 0.5rem 1rem;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.form-control:focus {
    background-color: var(--bg-input);
    border-color: var(--primary);
    color: var(--text-light);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.25);
}

input.form-control::placeholder {
    color: #6c757d;
}

/* Error message styling */
.error-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    color: var(--text-light);
}

/* Stats item from original design */
.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    height: 100%;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: bold;
    color: white;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-muted);
    font-size: 1rem;
}

/* Mobile optimizations */
@media (max-width: 768px) {
    .container {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .btn-group {
        display: flex;
        flex-wrap: wrap;
    }
    
    .btn-group .btn {
        flex: 1;
        padding-left: 8px;
        padding-right: 8px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .table th, .table td {
        padding: 0.5rem;
    }
    
    .navbar-brand {
        max-width: 170px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .d-flex.justify-content-between {
        flex-direction: column;
    }
    
    .d-flex.justify-content-between h2 {
        margin-bottom: 1rem;
    }
    
    /* Improve form inputs on mobile */
    input.form-control {
        font-size: 16px; /* Prevents iOS zoom on focus */
    }
}

/* Improve the visibility of the page on smaller screens */
@media (max-width: 576px) {
    .container {
        padding-left: 8px;
        padding-right: 8px;
    }
    
    .card-body {
        padding: 1rem;
    }
    
    .btn {
        padding: 0.375rem 0.5rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    #current-category {
        display: block;
        margin-top: 0.25rem;
    }
}

.stat-card {
    background-color: var(--bg-dark);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 1px solid var(--border-color);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: var(--border-light);
}

.stat-card h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin: 0;
    font-weight: 500;
}

/* Phone link styling */
.phone-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    transition: all 0.2s ease;
}

.phone-link:hover, .phone-link:focus {
    color: var(--primary-hover);
    text-decoration: none;
}

.phone-link::before {
    content: "\F5B3";
    font-family: "bootstrap-icons";
    margin-right: 4px;
    font-size: 14px;
}

/* Improve mobile table */
@media (max-width: 768px) {
    .table th, .table td {
        padding: 0.7rem 0.5rem;
        font-size: 0.9rem;
    }
    
    /* Ensure phone numbers are fully visible */
    td:nth-child(3) {
        min-width: 125px;
        max-width: 125px;
        overflow: visible;
        white-space: normal;
        word-break: break-all;
    }
    
    /* Make sure eye column is visible */
    td:last-child, th:last-child {
        min-width: 46px;
        width: 46px !important;
        text-align: center !important;
        padding-left: 4px;
        padding-right: 4px;
        display: table-cell !important;
        background-color: rgba(63, 81, 181, 0.05);
    }
    
    .btn-action {
        width: 36px;
        height: 36px;
        font-size: 18px;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto;
        background-color: rgba(63, 81, 181, 0.3);
        color: #fff;
        border-radius: 50%;
    }
    
    .btn-action:hover, .btn-action:focus {
        background-color: rgba(63, 81, 181, 0.5);
        color: #fff;
    }
    
    .candidate-row {
        position: relative;
    }
    
    .candidate-row::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 1px;
        background-color: var(--border-color);
    }
    
    .table-responsive {
        border-radius: 6px;
        overflow-x: visible;
    }
    
    /* Active/pressed state for clickable rows */
    .candidate-row:active {
        background-color: rgba(63, 81, 181, 0.2);
    }
    
    /* Phone link on mobile */
    .phone-link {
        font-size: 0.9rem;
        word-break: break-all;
    }
    
    /* Improve table layout */
    .table th:first-child {
        width: 30%;
    }
    
    .table th:nth-child(2) {
        width: 25%;
    }
}

/* Eye column styling */
.eye-column {
    width: 46px;
    min-width: 46px;
    max-width: 46px;
    text-align: center;
    padding: 0.5rem 0.4rem;
}

@media (max-width: 768px) {
    .eye-column {
        background-color: rgba(99, 102, 241, 0.1);
        position: sticky;
        right: 0;
        z-index: 1;
    }
}

/* Button group and filters */
.btn-group {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.btn-group .btn {
    border: none;
    background-color: var(--bg-dark);
    color: var(--text-muted);
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: all 0.2s ease;
}

.btn-group .btn:hover {
    background-color: var(--primary-light);
    color: var(--primary);
}

.btn-group .btn.active {
    background-color: var(--primary);
    color: white;
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline-primary:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    color: white;
}

/* Experience badges */
.badge {
    padding: 0.5rem 0.75rem;
    font-weight: 500;
    font-size: 0.75rem;
    border-radius: 6px;
    display: inline-block;
}

.badge-junior {
    background-color: rgba(239, 68, 68, 0.15);
    color: #f87171;
}

.badge-mid {
    background-color: rgba(245, 158, 11, 0.15);
    color: #fbbf24;
}

.badge-senior {
    background-color: rgba(34, 197, 94, 0.15);
    color: #4ade80;
}

/* Recommendation badges */
.recommendation {
    font-weight: 500;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    display: inline-block;
    font-size: 0.875rem;
}

.recommendation.recommended {
    background-color: rgba(34, 197, 94, 0.15);
    color: #4ade80;
}

.recommendation.not-recommended {
    background-color: rgba(239, 68, 68, 0.15);
    color: #f87171;
}

/* Modal styling */
.modal-content {
    background-color: var(--bg-card);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    color: var(--text-light);
}

.modal-header {
    border-bottom: 1px solid var(--border-color);
    padding: 1.25rem 1.5rem;
}

.modal-body {
    padding: 1.5rem;
}

.modal-footer {
    border-top: 1px solid var(--border-color);
    padding: 1.25rem 1.5rem;
}

.modal-title {
    font-weight: 600;
}

.btn-close {
    color: var(--text-light);
    background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3E%3Cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3E%3C/svg%3E") center/1em auto no-repeat;
    opacity: 0.75;
}

.btn-close:hover {
    opacity: 1;
}

/* Mobile optimizations */
@media (max-width: 768px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .navbar {
        padding: 0.5rem 0;
    }
    
    .navbar-brand {
        font-size: 1.1rem;
    }
    
    .card-body {
        padding: 1.25rem;
    }
    
    .table th, .table td {
        padding: 0.75rem 0.5rem;
        font-size: 0.875rem;
    }
    
    .table th:first-child {
        width: 30%;
    }
    
    .table th:nth-child(2) {
        width: 25%;
    }
    
    .stat-card {
        padding: 1rem;
    }
    
    .stat-card h2 {
        font-size: 2rem;
    }
    
    .btn-group .btn {
        padding: 0.375rem 0.75rem;
        font-size: 0.875rem;
    }
    
    .card-header {
        padding: 0.75rem 1rem;
    }
    
    td:nth-child(3) {
        min-width: 125px;
        max-width: 125px;
        overflow: visible;
        white-space: normal;
        word-break: break-all;
    }
    
    .phone-link {
        font-size: 0.875rem;
    }
    
    .candidate-row:active {
        background-color: rgba(99, 102, 241, 0.1);
    }
}

/* Animation utilities */
.fade-in {
    animation: fadeIn 0.4s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.5s ease-out;
}

/* Table cell background bars */
.table td:nth-child(1) {
    background-color: rgba(15, 23, 42, 0.3);
    border-radius: 6px 0 0 6px;
    color: var(--light);
    font-weight: 500;
}

.table td:nth-child(2) {
    background-color: rgba(99, 102, 241, 0.08);
    color: var(--text-light);
}

.table td:nth-child(3) {
    background-color: rgba(15, 23, 42, 0.2);
    color: var(--text-light);
}

/* Ensure all table content is properly visible */
.table td {
    color: var(--text-light);
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(51, 65, 85, 0.3);
    vertical-align: middle;
    white-space: normal;
    overflow: visible;
}

/* Make links in cells more visible */
.table td a {
    color: var(--primary);
    font-weight: 500;
}

.table td a:hover {
    color: var(--secondary);
    text-decoration: none;
}

/* Eye column improvements */
.eye-column {
    width: 60px;
    min-width: 60px;
    max-width: 60px;
    text-align: center;
    padding: 0.5rem 0 !important;
    background-color: rgba(99, 102, 241, 0.15) !important;
    position: sticky;
    right: 0;
    z-index: 2;
    border-left: 1px solid var(--border-color);
}

/* Make eye button perfectly centered */
.btn-action {
    width: 40px;
    height: 40px;
    padding: 0;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--primary);
    color: white;
    border: none;
    transition: all 0.2s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.btn-action:hover, .btn-action:focus {
    background-color: var(--primary-hover);
    color: white;
    transform: translateX(-50%) translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.btn-action i {
    font-size: 1.25rem;
}

/* Highlight the table header cells as well */
.table th {
    color: var(--text-light);
    font-weight: 600;
    padding: 1rem;
    vertical-align: middle;
}

.table th:nth-child(1) {
    background-color: rgba(15, 23, 42, 0.7);
    border-radius: 6px 0 0 0;
}

.table th:nth-child(2) {
    background-color: rgba(15, 23, 42, 0.6);
}

.table th:nth-child(3) {
    background-color: rgba(15, 23, 42, 0.5);
}

.table th.eye-column {
    background-color: rgba(99, 102, 241, 0.3) !important;
    border-radius: 0 6px 0 0;
}

/* Improve spacing between rows */
.table tbody tr {
    border-bottom: 4px solid var(--bg-card);
}

/* Mobile optimizations for eye column */
@media (max-width: 768px) {
    .eye-column {
        width: 50px;
        min-width: 50px;
        max-width: 50px;
        background-color: rgba(99, 102, 241, 0.2) !important;
    }
    
    .btn-action {
        width: 36px;
        height: 36px;
    }
} 