body {
    font-family: 'Inter', sans-serif;
    background-color: #f4f7f6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.main-content {
    flex: 1;
}

.bg-primary {
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%) !important;
}

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

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

.btn-primary {
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.4);
    transform: translateY(-2px);
}

.form-control {
    border-radius: 8px;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
}

.form-control:focus {
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.15);
    border-color: #86b7fe;
}

/* Candidate dashboard styles */
.candidate-card {
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    padding: 18px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    gap: 14px;
}
.candidate-card .avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    overflow: hidden;
    flex: 0 0 72px;
}
.candidate-card .avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.candidate-card .initials {
    font-weight: 700;
    color: #0d6efd;
    font-size: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    background: #eef6ff;
    border-radius: 50%;
}
.stat-box {
    background: #ffffff;
    border-radius: 10px;
    padding: 8px 12px;
    text-align: center;
    min-width: 74px;
    box-shadow: 0 6px 18px rgba(13,110,253,0.06);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.stat-value {
    font-weight: 700;
    font-size: 16px;
}
.stat-label {
    font-size: 12px;
    color: #6c757d;
}
.job-card {
    gap: 12px;
    align-items: center;
}
.logo-placeholder {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg,#f8f9fa,#e9f0ff);
    border-radius: 10px;
    flex: 0 0 64px;
}
.job-badge {
    font-weight: 600;
    padding: 6px 10px;
    border-radius: 8px;
}

/* Responsive tweaks */
@media (max-width: 575px) {
    .candidate-card { flex-direction: column; align-items: flex-start; }
    .candidate-card .avatar { width: 56px; height: 56px; flex: 0 0 56px; }
    .candidate-card .initials { width: 56px; height: 56px; }
}

/* Professional layout styles */
.profile-sidebar {
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(14, 30, 37, 0.06);
    background: #ffffff;
}
.profile-avatar { width: 120px; height: 120px; margin: 0 auto; overflow: hidden; border-radius: 50%; }
.profile-avatar img { width: 100%; height: 100%; object-fit: cover; }
.initials.large { width: 120px; height: 120px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: #eef2f6; color: #0b3a66; font-weight: 700; font-size: 36px; }
.profile-sidebar .stat-list { margin-top: 12px; display: flex; flex-direction: column; gap: 8px; }
.profile-sidebar .stat-item { font-size: 14px; color: #333; }

.pro-stat-card { border-radius: 12px; box-shadow: 0 6px 20px rgba(14, 30, 37, 0.04); background: #fff; }
.pro-stat-card .stat-emoji { font-size: 28px; opacity: 0.9; }

/* Job card neutral style */
.job-card { align-items: center; border-radius: 10px; box-shadow: 0 6px 20px rgba(14, 30, 37, 0.04); }
.logo-placeholder { width: 64px; height: 64px; background: #f6f8fb; border-radius: 8px; flex: 0 0 64px; display:flex; align-items:center; justify-content:center; }

/* Ensure responsive spacing */
@media (max-width: 991px) {
    .profile-avatar, .initials.large { width: 96px; height: 96px; }
}

/* Table contrast and spacing fixes for dark theme */
table.table {
    background: transparent;
    border-collapse: separate;
    border-spacing: 0 8px;
}
table.table thead.table-light, table.table thead th.table-light, table.table thead th {
    background: transparent !important;
    color: rgba(230,238,248,0.9) !important;
}
table.table thead th {
    padding: 12px 16px !important;
    font-weight: 600;
}
table.table tbody td {
    padding: 14px 16px !important;
    vertical-align: middle;
    background: transparent;
    color: rgba(230,238,248,0.94) !important;
}
/* make each row feel like a card by adding rounded background on hover and subtle separators */
table.table tbody tr {
    border-bottom: none;
}
table.table tbody tr:hover td {
    background: rgba(255,255,255,0.02);
    border-radius: 8px;
}
.table-responsive { padding: 8px; }

/* Action buttons in tables: increase hit area and ensure contrast */
table.table .btn, table.table a.btn {
    color: #e6eef8 !important;
    padding: 6px 10px;
    border-radius: 8px;
}

/* Reduce visual clutter for truncated skill cells */
.text-truncate.d-inline-block { max-width: 220px; }

/* Modal form spacing and input sizing */
.modal-dialog .modal-content { border-radius: 12px; overflow: hidden; }
.modal-header { padding: 1rem 1.25rem; border-bottom: 1px solid rgba(255,255,255,0.03); }
.modal-title { margin: 0; font-size: 1.125rem; font-weight: 700; }
.modal-body { padding: 1rem 1.25rem; }
.modal-footer { padding: 0.75rem 1.25rem; border-top: 1px solid rgba(255,255,255,0.03); }
.modal-body .mb-3 { margin-bottom: 1.25rem; }
.modal-body label { display: block; margin-bottom: 0.4rem; font-weight: 600; color: rgba(230,238,248,0.9); }
.modal-body .form-control, .modal-body .form-select, .modal-body textarea { padding: 0.65rem 0.9rem; border-radius: 8px; }
.modal .btn-close { margin: -0.25rem -0.25rem -0.25rem auto; }
.modal-footer .btn { min-width: 96px; }


