/* ================================================
   CAREER PAGE STYLES
   ================================================ */

/* ================================================
   CSS VARIABLES
   ================================================ */
:root {
    --career-primary: #4092cc;
    --career-primary-dark: #357abd;
    --career-success: #22c55e;
    --career-success-dark: #16a34a;
    --career-warning: #f59e0b;
    --career-danger: #ef4444;
    --career-gray: #64748b;
    --career-light: #f8fafc;
    --career-border: #e2e8f0;
}

/* ================================================
   BASE LAYOUT (from dashboard.css)
   ================================================ */
.content-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
    overflow-x: hidden;
}

.dashboard-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 4rem 4rem 4rem;
    flex: 1;
    width: 100%;
    box-sizing: border-box;
}

.dashboard-header {
    margin-bottom: 2rem;
    text-align: center;
    width: 100%;
}

.header-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.dashboard-header h1 {
    color: var(--career-primary);
    font-size: 1.75rem;
    margin: 0 0 0.5rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.dashboard-header h1 i {
    color: var(--career-primary);
}

.dashboard-header p {
    color: var(--career-gray);
    margin: 0;
}

/* Section headings */
.content-card h2,
.career-section h2 {
    font-size: 1.1rem;
    color: var(--career-primary);
    margin: 0 0 1rem 0;
}

.content-card h2 i,
.career-section h2 i {
    margin-right: 0.5rem;
}

.content-card {
    background: white;
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Dark mode base layout */
body.dark-mode .content-wrapper {
    background-color: #1a1a1c;
}

body.dark-mode .content-card {
    background: #2c2c2e;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

body.dark-mode .dashboard-header h1,
body.dark-mode .dashboard-header h1 i {
    color: #5ab0e8;
}

body.dark-mode .dashboard-header p {
    color: #a0a0a0;
}

body.dark-mode .content-card h2,
body.dark-mode .career-section h2 {
    color: #5ab0e8;
    border-bottom-color: #5ab0e8;
}

/* Responsive layout */
@media (max-width: 768px) {
    .dashboard-container {
        padding: 2rem;
    }
}

@media (max-width: 576px) {
    .dashboard-container {
        padding: 0.5rem;
        max-width: 100%;
        overflow-x: hidden;
    }
}

/* ================================================
   TESTING WARNING BANNER
   ================================================ */
.testing-warning-banner {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #fff;
    padding: 0.75rem 1rem;
    text-align: center;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 0 0 8px 8px;
    margin-bottom: 1rem;
}

.testing-warning-banner i {
    font-size: 1.1rem;
    animation: pulse-warning 2s ease-in-out infinite;
}

@keyframes pulse-warning {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

/* ================================================
   LOADING STATE
   ================================================ */
.career-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    color: #666;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #e2e8f0;
    border-top-color: var(--career-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ================================================
   SECTION STYLING
   ================================================ */
.career-section {
    animation: fadeIn 0.3s ease-out;
}

.section-subtitle {
    color: #666;
    margin: 0 0 0.5rem 0;
    padding: 0;
    font-size: 0.9rem;
    text-align: center;
}

/* Remove any border/line after h3 */
h3::after,
.career-info-card h3::after,
.sidebar-card h3::after {
    display: none !important;
    content: none !important;
}

.career-info-card h3 {
    border: none;
    padding-bottom: 0;
}

.sidebar-subtitle {
    color: #888;
    font-size: 0.8rem;
    margin-bottom: 0.75rem;
}

/* ================================================
   CAREER INFO ROW - 2 Card Layout
   ================================================ */
.career-info-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

/* Rank Badge */
.rank-badge {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 3px;
    background: #1a1a2e;
    padding: 3px 5px;
    border-radius: 3px;
    height: 16px;
    min-width: 35px;
    margin-bottom: 0;
}

.rank-stripe {
    width: 4px;
    height: 10px;
    background: linear-gradient(180deg, #ffd700 0%, #b8860b 100%);
    border-radius: 1px;
}

/* Sidebar Stats */
.stats-sidebar .stats-row {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.stats-sidebar .stats-row:last-child {
    margin-bottom: 0;
}

.stats-sidebar .stats-row.single {
    justify-content: center;
}

.stats-sidebar .stats-row.single .stat {
    flex: 0 1 auto;
    min-width: 80px;
}

.stats-sidebar .stat {
    flex: 1;
    text-align: center;
    background: #f1f5f9;
    padding: 0.5rem;
    border-radius: 0.4rem;
}

.stats-sidebar .stat .num {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: var(--career-primary);
}

.stats-sidebar .stat .label {
    font-size: 0.65rem;
    color: var(--career-gray);
    text-transform: uppercase;
}

.stats-sidebar .stat.highlight {
    background: linear-gradient(135deg, #dcfce7 0%, #f0fdf4 100%);
}

.stats-sidebar .stat.highlight .num {
    color: var(--career-success);
}

/* Dark mode additions */
body.dark-mode .rank-badge {
    background: #0d0d1a;
}

body.dark-mode .stats-sidebar .stat {
    background: #1c1c1e;
}

body.dark-mode .stats-sidebar .stat.highlight {
    background: linear-gradient(135deg, #14532d 0%, #1c1c1e 100%);
}

/* Finance Sidebar */
.finance-sidebar .finance-stats {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.finance-sidebar .finance-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0.75rem;
    background: #f1f5f9;
    border-radius: 0.4rem;
}

.finance-sidebar .finance-row.highlight {
    background: linear-gradient(135deg, #dcfce7 0%, #f0fdf4 100%);
}

.finance-sidebar .finance-row.pending {
    background: linear-gradient(135deg, #fef3c7 0%, #fffbeb 100%);
}

.finance-sidebar .finance-label {
    font-size: 0.8rem;
    color: var(--career-gray);
}

.finance-sidebar .finance-value {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1e293b;
}

.finance-sidebar .finance-row.highlight .finance-value {
    color: var(--career-success);
}

.finance-sidebar .finance-row.pending .finance-value {
    color: var(--career-warning);
}

.finance-sidebar .finance-value.income {
    color: var(--career-success);
}

.finance-sidebar .finance-value.expense {
    color: var(--career-danger);
}

.finance-sidebar .finance-divider {
    height: 1px;
    background: var(--career-border);
    margin: 0.25rem 0;
}

/* Finance dark mode */
body.dark-mode .finance-sidebar .finance-row {
    background: #1c1c1e;
}

body.dark-mode .finance-sidebar .finance-row.highlight {
    background: linear-gradient(135deg, #14532d 0%, #1c1c1e 100%);
}

body.dark-mode .finance-sidebar .finance-row.pending {
    background: linear-gradient(135deg, #78350f 0%, #1c1c1e 100%);
}

body.dark-mode .finance-sidebar .finance-value {
    color: #e5e5e5;
}

body.dark-mode .finance-sidebar .finance-divider {
    background: #333;
}

/* Leaderboard Sidebar */
.leaderboard-sidebar .leaderboard-list {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.leaderboard-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 0.6rem;
    background: #f8fafc;
    border-radius: 0.4rem;
    font-size: 0.85rem;
}

.leaderboard-item.current-user {
    background: linear-gradient(135deg, #dbeafe 0%, #eff6ff 100%);
    border: 1px solid #93c5fd;
}

.leaderboard-rank {
    font-weight: 700;
    color: #64748b;
    min-width: 1.5rem;
    text-align: center;
}

.leaderboard-item:nth-child(1) .leaderboard-rank {
    color: #eab308;
}

.leaderboard-item:nth-child(2) .leaderboard-rank {
    color: #94a3b8;
}

.leaderboard-item:nth-child(3) .leaderboard-rank {
    color: #cd7f32;
}

.leaderboard-name {
    flex: 1;
    font-weight: 500;
    color: #334155;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.leaderboard-stats {
    display: flex;
    gap: 0.25rem;
    font-size: 0.75rem;
    color: #64748b;
}

.leaderboard-stats span {
    display: flex;
    align-items: center;
    gap: 0.2rem;
    min-width: 2.75rem;
    justify-content: flex-end;
    font-variant-numeric: tabular-nums;
}

.leaderboard-stats i {
    font-size: 0.65rem;
    flex-shrink: 0;
}

.leaderboard-empty {
    text-align: center;
    color: #94a3b8;
    font-size: 0.85rem;
    padding: 1rem;
}

/* Leaderboard dark mode */
body.dark-mode .leaderboard-item {
    background: #1c1c1e;
}

body.dark-mode .leaderboard-item.current-user {
    background: linear-gradient(135deg, #1e3a5a 0%, #1c1c1e 100%);
    border-color: #3b82f6;
}

body.dark-mode .leaderboard-name {
    color: #e5e5e5;
}

body.dark-mode .leaderboard-stats {
    color: #94a3b8;
}

/* Responsive */
@media (max-width: 768px) {
    .career-info-row {
        grid-template-columns: 1fr;
    }
}

.career-info-card {
    background: white;
    border-radius: 1rem;
    padding: 1.25rem 1.75rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--career-border);
}

.career-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.career-card-header h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.career-card-header h3 i {
    color: var(--career-primary);
}

/* Employer Card */
.employer-card {
    border-left: 4px solid var(--career-success);
}

.employer-content {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.employer-card .airline-logo-display {
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: #f8fafc;
    border-radius: 0.5rem;
    padding: 0.5rem;
}

.employer-card .airline-logo-display img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.employer-details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
}

.employer-detail {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.employer-detail .detail-label {
    min-width: 50px;
}

.detail-label {
    font-size: 0.8rem;
    color: var(--career-gray);
}

.detail-value {
    font-size: 0.8rem;
    font-weight: 600;
    color: #1e293b;
}

.detail-value-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #1e293b;
}

.employment-status-badge {
    display: inline-block;
    background: var(--career-success);
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 1rem;
    font-size: 0.7rem;
    font-weight: 600;
}

/* Contract Card */
.contract-card {
    border-left: 4px solid var(--career-primary);
}

.contract-card .career-card-header {
    margin-bottom: 0.5rem;
}

.contract-content {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    padding: 0 1.5rem;
}

.contract-detail {
    display: flex;
    align-items: center;
    padding: 0.05rem 0;
    gap: 0.5rem;
}

.contract-detail .detail-label {
    min-width: 90px;
}

.contract-detail.highlight {
    background: linear-gradient(135deg, #e0f2fe 0%, #f0f9ff 100%);
    margin: 0.25rem -0.75rem 0;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
}

.pending-amount {
    color: var(--career-success);
}

/* Stats Card */
.stats-card {
    border-left: 4px solid var(--career-warning);
}

.stats-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.5rem;
    background: var(--career-light);
    border-radius: 0.5rem;
}

.stat-item .stat-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--career-primary);
}

.stat-item .stat-label {
    font-size: 0.7rem;
    color: var(--career-gray);
    text-align: center;
}

.stat-item.highlight {
    background: linear-gradient(135deg, #dcfce7 0%, #f0fdf4 100%);
}

.stat-item.highlight .stat-value {
    color: var(--career-success);
}

/* Responsive: Stack cards on smaller screens */
@media (max-width: 768px) {
    .career-info-row {
        grid-template-columns: 1fr;
    }
}

/* Legacy styles kept for backward compatibility */
.current-employment-card {
    display: none; /* Hidden - replaced by career-info-row */
}

.contract-info h4 {
    color: #0c4a6e;
    margin: 0 0 0.75rem 0;
    font-size: 0.9rem;
}

.contract-details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem 2rem;
}

.contract-detail {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #0c4a6e;
}

/* ================================================
   MAIN GRID LAYOUT (Jobs + Sidebar)
   ================================================ */
.career-main-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.career-main-column {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.career-sidebar-column {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Sidebar Cards */
.sidebar-card {
    background: white;
    border-radius: 0.75rem;
    padding: 1.25rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.sidebar-card h3 {
    color: #1e293b;
    font-size: 1rem;
    margin: 0 0 .5rem 0;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.sidebar-card h3::after {
    display: none;
}

.sidebar-card h3 i {
    color: var(--career-primary);
}

/* ================================================
   CAREER STATS SIDEBAR CARD
   ================================================ */

.stats-grid-sidebar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.stat-item-sidebar {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.6rem 0.5rem;
    background: var(--career-light);
    border-radius: 0.5rem;
    text-align: center;
}

.stat-item-sidebar .stat-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--career-primary);
}

.stat-item-sidebar .stat-label {
    font-size: 0.7rem;
    color: var(--career-gray);
    margin-top: 0.15rem;
}

.stat-item-sidebar.highlight {
    background: linear-gradient(135deg, #dcfce7 0%, #f0fdf4 100%);
}

.stat-item-sidebar.highlight .stat-value {
    color: var(--career-success);
}

body.dark-mode .stat-item-sidebar {
    background: #1c1c1e;
}

body.dark-mode .stat-item-sidebar .stat-label {
    color: #94a3b8;
}

body.dark-mode .stat-item-sidebar.highlight {
    background: linear-gradient(135deg, #14532d 0%, #1c1c1e 100%);
}


/* ================================================
   POSITION WITH RANK STRIPES
   ================================================ */
.position-with-rank {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.rank-stripes-small {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 16px;
    background: #1a1a2e;
    border-radius: 3px;
    padding: 2px 6px;
    gap: 3px;
}

.rank-stripes-small > .stripe {
    display: block;
    height: 10px;
    width: 4px;
    background-color: #ffd700 !important;
    border-radius: 1px;
    flex-shrink: 0;
}

body.dark-mode .rank-stripes-small {
    background: #0d0d1a;
}

/* ================================================
   CAREER TIMELINE
   ================================================ */
.career-timeline {
    position: relative;
    padding-left: 1.25rem;
}

.timeline-item {
    position: relative;
    padding-bottom: 1.25rem;
    padding-left: 1rem;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -1.1rem;
    top: 0.4rem;
    width: 2px;
    height: calc(100% + 0.5rem);
    background: var(--career-border);
}

.timeline-item:last-child::before {
    display: none;
}

.timeline-item::after {
    content: '';
    position: absolute;
    left: -1.45rem;
    top: 0.25rem;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--career-primary);
    border: 2px solid white;
    box-shadow: 0 0 0 2px var(--career-primary);
}

.timeline-item.current::after {
    background: var(--career-success);
    box-shadow: 0 0 0 2px var(--career-success);
}

.timeline-date {
    font-size: 0.7rem;
    color: var(--career-gray);
    font-weight: 600;
}

.timeline-title {
    font-weight: 600;
    color: #1e293b;
    font-size: 0.85rem;
    margin: 0.15rem 0;
}

.timeline-details {
    font-size: 0.75rem;
    color: var(--career-gray);
}

/* ================================================
   CAREER ADVISOR
   ================================================ */
.advisor-tip {
    padding: 0.75rem;
    border-radius: 0.5rem;
    margin-bottom: 0.75rem;
    border-left: 4px solid;
}

.advisor-tip:last-child {
    margin-bottom: 0;
}

.advisor-tip h4 {
    font-size: 0.8rem;
    margin: 0 0 0.25rem 0;
    font-weight: 600;
}

.advisor-tip p {
    font-size: 0.8rem;
    margin: 0;
    line-height: 1.4;
}

.advisor-tip.recommended {
    background: #f0f9ff;
    border-color: var(--career-primary);
}

.advisor-tip.recommended h4 {
    color: var(--career-primary);
}

.advisor-tip.recommended p {
    color: #0c4a6e;
}

.advisor-tip.market {
    background: #fefce8;
    border-color: var(--career-warning);
}

.advisor-tip.market h4 {
    color: #ca8a04;
}

.advisor-tip.market p {
    color: #713f12;
}

.advisor-tip.training {
    background: #f0fdf4;
    border-color: var(--career-success);
}

.advisor-tip.training h4 {
    color: var(--career-success);
}

.advisor-tip.training p {
    color: #166534;
}

/* ================================================
   HIRED AIRCRAFT LIST (Sidebar)
   ================================================ */
.hired-aircraft-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.hired-aircraft-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem;
    background: var(--career-light);
    border-radius: 0.5rem;
}

.hired-aircraft-item i {
    color: var(--career-primary);
}

.hired-aircraft-code {
    font-weight: 600;
    color: #1e293b;
    font-size: 0.9rem;
}

.hired-aircraft-rating {
    margin-left: auto;
    font-size: 0.7rem;
    padding: 0.15rem 0.5rem;
    border-radius: 1rem;
}

.hired-aircraft-rating.rated {
    background: rgba(34, 197, 94, 0.1);
    color: var(--career-success);
}

.hired-aircraft-rating.not-rated {
    background: rgba(245, 158, 11, 0.1);
    color: var(--career-warning);
}

/* ================================================
   TYPE RATINGS LIST (Sidebar)
   ================================================ */
.type-ratings-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.type-rating-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.75rem;
    background: rgba(34, 197, 94, 0.1);
    color: var(--career-success);
    border-radius: 1rem;
    font-size: 0.8rem;
    font-weight: 500;
}

.type-rating-badge i {
    font-size: 0.7rem;
}

.type-rating-badge .type-rating-hours {
    margin-left: 0.25rem;
    padding-left: 0.4rem;
    border-left: 1px solid rgba(34, 197, 94, 0.3);
    font-size: 0.75rem;
    opacity: 0.85;
}

.no-ratings-message {
    color: var(--career-gray);
    font-size: 0.85rem;
    font-style: italic;
}

.type-rating-badge.training-in-progress {
    background: rgba(245, 158, 11, 0.1);
    color: var(--career-warning);
}

.type-rating-badge.training-in-progress i {
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hired-aircraft-rating.training {
    background: rgba(245, 158, 11, 0.1);
    color: var(--career-warning);
}

.hired-aircraft-item.not-rated-item {
    opacity: 0.7;
}

.hired-aircraft-item.not-rated-item .hired-aircraft-code {
    color: var(--career-gray);
}

/* ================================================
   BASE RELOCATION
   ================================================ */
.base-relocation {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.base-relocation p {
    margin: 0;
    font-size: 0.9rem;
    color: #1e293b;
}

.base-select {
    padding: 0.5rem;
    border-radius: 0.4rem;
    border: 1px solid var(--career-border);
    font-size: 0.85rem;
    font-family: 'Poppins', sans-serif;
}

.base-select:disabled {
    background: #f1f5f9;
    cursor: not-allowed;
}

.relocation-status {
    font-size: 0.8rem;
    padding: 0.5rem;
    border-radius: 0.4rem;
}

.relocation-status.pending {
    background: rgba(245, 158, 11, 0.1);
    color: var(--career-warning);
}

.relocation-status.approved {
    background: rgba(34, 197, 94, 0.1);
    color: var(--career-success);
}

.relocation-status.rejected {
    background: rgba(239, 68, 68, 0.1);
    color: var(--career-danger);
}

/* Relocation Enhanced UI */
.relocation-fee-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0.75rem;
    background: var(--career-light);
    border-radius: 0.4rem;
    font-size: 0.85rem;
}

.relocation-fee-info span {
    color: var(--career-gray);
}

.relocation-fee-info strong {
    color: var(--career-success);
}

.relocation-fee-info strong.insufficient {
    color: var(--career-danger);
}

.relocation-cooldown-notice {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: rgba(245, 158, 11, 0.1);
    border-radius: 0.4rem;
    font-size: 0.8rem;
    color: var(--career-warning);
}

.relocation-cooldown-notice i {
    font-size: 0.9rem;
}

.relocation-warning-notice {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: rgba(239, 68, 68, 0.1);
    border-radius: 0.4rem;
    font-size: 0.8rem;
    color: var(--career-danger);
}

.relocation-warning-notice i {
    font-size: 0.9rem;
}

.relocation-pending-notice {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, rgba(64, 146, 204, 0.1) 0%, rgba(64, 146, 204, 0.15) 100%);
    border: 1px solid var(--career-primary);
    border-radius: 0.5rem;
}

.relocation-pending-notice i {
    font-size: 1.25rem;
    color: var(--career-primary);
    animation: pulse 1.5s ease-in-out infinite;
}

.relocation-pending-notice strong {
    color: #1e293b;
    display: block;
    font-size: 0.9rem;
}

.relocation-pending-notice p {
    font-size: 0.8rem;
    color: var(--career-gray);
    margin: 0.25rem 0 0;
}

.relocation-error {
    font-size: 0.8rem;
    color: var(--career-danger);
    margin: 0.5rem 0 0;
    font-style: italic;
    text-align: center;
    width: 100%;
}

/* Dark mode relocation */
body.dark-mode .relocation-fee-info {
    background: #3a3a3c;
}

body.dark-mode .relocation-fee-info span {
    color: #a0a0a0;
}

body.dark-mode .relocation-pending-notice {
    background: linear-gradient(135deg, rgba(90, 176, 232, 0.1) 0%, rgba(90, 176, 232, 0.15) 100%);
    border-color: #5ab0e8;
}

body.dark-mode .relocation-pending-notice strong {
    color: #e5e5e7;
}

body.dark-mode .relocation-pending-notice i {
    color: #5ab0e8;
}

/* ================================================
   QUICK ACTIONS
   ================================================ */
.quick-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.btn-secondary {
    background: var(--career-light);
    color: #1e293b;
    border: 1px solid var(--career-border);
    padding: 0.6rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-secondary:hover {
    background: #e2e8f0;
}

.btn-secondary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-danger-outline {
    background: transparent;
    color: var(--career-danger);
    border: 1px solid var(--career-danger);
    padding: 0.6rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-danger-outline:hover {
    background: rgba(239, 68, 68, 0.1);
}

/* ================================================
   STARTER AIRLINES GRID
   ================================================ */
.starter-airlines-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.starter-airlines-grid .starter-airline-card {
    flex: 0 1 280px;
    max-width: 320px;
}

.starter-airline-card {
    background: var(--career-light);
    border-radius: 0.75rem;
    padding: 1.5rem;
    text-align: center;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
}

.starter-airline-card:hover {
    border-color: var(--career-primary);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(64, 146, 204, 0.2);
}

.starter-airline-logo {
    height: 80px;
    width: auto;
    object-fit: contain;
}

.starter-airline-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.starter-airline-tier {
    display: block;
    font-size: 0.75rem;
    padding: 0.2rem 0.6rem;
    border-radius: 0.25rem;
    background: rgba(64, 146, 204, 0.1);
    color: var(--career-primary);
    margin: 0 auto 0.5rem auto;
    width: fit-content;
}

.starter-airline-salary {
    font-size: 0.85rem;
    color: var(--career-success);
    font-weight: 600;
    margin-bottom: 0.35rem;
}

.starter-airline-aircraft {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 0.35rem;
}

.starter-airline-base {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 0.35rem;
}

.starter-select-btn {
    background: var(--career-primary);
    color: white;
    border: none;
    padding: 0.4rem 1.25rem;
    border-radius: 0.4rem;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    transition: background-color 0.2s;
}

.starter-select-btn:hover {
    background: var(--career-primary-dark);
}

/* ================================================
   JOB OFFERS LIST
   ================================================ */
.job-offers-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.job-offer-card {
    background: var(--career-light);
    border-radius: 0.75rem;
    padding: 1.25rem;
    border: 1px solid var(--career-border);
    position: relative;
    transition: all 0.2s;
}

.job-offer-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.job-offer-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.job-offer-logo {
    height: 50px;
    width: 80px;
    object-fit: contain;
    flex-shrink: 0;
}

.job-offer-info {
    flex: 1;
}

.job-offer-airline {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.25rem;
}

.job-offer-position {
    font-size: 0.9rem;
    color: var(--career-primary);
    font-weight: 500;
}

.job-offer-expiry {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 0.75rem;
    padding: 0.2rem 0.6rem;
    border-radius: 0.25rem;
    background: rgba(245, 158, 11, 0.1);
    color: var(--career-warning);
}

/* Internal Transfer Offer Styles */
.job-offer-card.internal-transfer {
    border: 2px solid var(--career-success);
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.05) 0%, rgba(34, 197, 94, 0.02) 100%);
}

.job-offer-card.internal-transfer:hover {
    border-color: var(--career-success-dark);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.15);
}

.job-offer-expiry.internal {
    background: rgba(34, 197, 94, 0.15);
    color: var(--career-success);
    font-weight: 600;
}

/* Promotion Offer Styles */
.job-offer-card.promotion-offer {
    border: 2px solid #8b5cf6;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.08) 0%, rgba(139, 92, 246, 0.02) 100%);
}

.job-offer-card.promotion-offer:hover {
    border-color: #7c3aed;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.2);
}

.job-offer-expiry.promotion {
    background: rgba(139, 92, 246, 0.15);
    color: #8b5cf6;
    font-weight: 600;
}

.job-offer-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
}

.job-offer-detail {
    display: flex;
    justify-content: space-between;
    color: var(--career-gray);
}

.job-offer-detail strong {
    color: #1e293b;
}

.job-offer-actions {
    display: flex;
    gap: 0.75rem;
}

.job-offer-btn {
    flex: 1;
    padding: 0.4rem 0.85rem;
    border-radius: 0.4rem;
    border: none;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.job-offer-btn.accept {
    background: var(--career-success);
    color: white;
}

.job-offer-btn.accept:hover {
    background: var(--career-success-dark);
}

.job-offer-btn.decline {
    background: #e5e7eb;
    color: #374151;
}

.job-offer-btn.decline:hover {
    background: #d1d5db;
}

.no-offers-message {
    text-align: center;
    color: var(--career-gray);
    padding: 0 2rem 1rem 2rem;
}

.no-offers-message i {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.5rem;
    opacity: 0.5;
}

/* Success icons always green */
.no-offers-message i.fa-check-circle {
    color: var(--career-success) !important;
    opacity: 1;
}

.no-offers-message p {
    margin: 0.5rem 0 0.25rem;
    font-weight: 500;
}

.no-offers-message small {
    font-size: 0.8rem;
}

/* ================================================
   JOB COMPARISON (in modals)
   ================================================ */
.job-comparison {
    background: var(--career-light);
    padding: 1rem 1.25rem;
    border-radius: 0.5rem;
    margin: 1rem 0;
}

.job-comparison h4 {
    color: #1e293b;
    font-size: 0.9rem;
    margin: 0 0 0.75rem 0;
}

.comparison-row {
    display: flex;
    justify-content: space-between;
    padding: 0.4rem 0;
    font-size: 0.85rem;
    border-bottom: 1px solid var(--career-border);
}

.comparison-row:last-child {
    border-bottom: none;
}

.comparison-row .label {
    color: var(--career-gray);
}

.comparison-row .improvement {
    color: var(--career-success);
    font-weight: 600;
}

.comparison-row .decline {
    color: var(--career-danger);
    font-weight: 600;
}

.comparison-row .neutral {
    color: var(--career-gray);
}

/* ================================================
   APPLY TO AIRLINES SECTION
   ================================================ */
.apply-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.cooldown-timer {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid var(--career-warning);
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--career-warning);
    font-size: 0.9rem;
}

.apply-airlines-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}

.apply-airline-card {
    background: var(--career-light);
    border-radius: 0.75rem;
    padding: 1rem;
    border: 1px solid var(--career-border);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.apply-airline-card.disabled {
    opacity: 0.5;
    pointer-events: none;
}

.apply-airline-header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.apply-airline-logo {
    height: 45px;
    width: 70px;
    object-fit: contain;
    flex-shrink: 0;
}

.apply-airline-info {
    flex: 1;
}

.apply-airline-name {
    font-weight: 600;
    color: #1e293b;
    font-size: 0.95rem;
}

.apply-airline-tier {
    font-size: 0.75rem;
    color: var(--career-gray);
}

.apply-airline-details {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 0.5rem 0;
    border-top: 1px solid var(--career-border);
    border-bottom: 1px solid var(--career-border);
    margin: 0.5rem 0;
}

.apply-detail {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--career-gray);
}

.apply-detail i {
    width: 14px;
    color: var(--career-primary);
    font-size: 0.75rem;
}

.apply-detail span {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.apply-airline-requirements {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.requirement-badge {
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    border-radius: 0.25rem;
}

.requirement-badge.met {
    background: rgba(34, 197, 94, 0.1);
    color: var(--career-success);
}

.requirement-badge.not-met {
    background: rgba(239, 68, 68, 0.1);
    color: var(--career-danger);
}

.apply-btn {
    background: var(--career-primary);
    color: white;
    border: none;
    padding: 0.35rem 0.85rem;
    border-radius: 0.35rem;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    transition: background-color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.apply-btn:hover {
    background: var(--career-primary-dark);
}

.apply-btn:disabled {
    background: #cbd5e1;
    cursor: not-allowed;
}

/* ================================================
   TRAINING CATALOG GRID
   ================================================ */
.training-catalog-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.training-catalog-grid .training-item-card {
    flex: 0 0 320px;
    max-width: 320px;
}

.training-item-card {
    background: var(--career-light);
    border-radius: 0.75rem;
    padding: 1.25rem;
    border: 1px solid var(--career-border);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.training-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.training-item-name {
    font-weight: 600;
    color: #1e293b;
    font-size: 1rem;
}

.training-item-type {
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    border-radius: 0.25rem;
    background: rgba(64, 146, 204, 0.1);
    color: var(--career-primary);
    flex-shrink: 0;
}

.training-item-description {
    font-size: 0.85rem;
    color: var(--career-gray);
    line-height: 1.4;
}

.training-item-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.training-item-price {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--career-success);
}

.training-buy-btn {
    background: var(--career-success);
    color: white;
    border: none;
    padding: 0.35rem 0.85rem;
    border-radius: 0.35rem;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    transition: background-color 0.2s;
}

.training-buy-btn:hover {
    background: var(--career-success-dark);
}

.training-buy-btn:disabled {
    background: #cbd5e1;
    cursor: not-allowed;
}

.training-buy-btn.owned {
    background: #e2e8f0;
    color: var(--career-gray);
    cursor: default;
}

.no-training-message,
.training-catalog-grid .no-offers-message {
    grid-column: 1 / -1;
    text-align: center;
    color: var(--career-gray);
    padding: 1rem 2rem;
    width: 100%;
}

/* Training Sections */
.training-section {
    margin-bottom: 2rem;
}

.training-section:last-child {
    margin-bottom: 0;
}

.training-section h3 {
    font-size: 1rem;
    color: #1e293b;
    margin: 0 0 0.5rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.training-section h3::after {
    display: none;
}

.training-section h3 i {
    color: var(--career-primary);
}

/* Airline branding for training section icons */
body.airline-branding .training-section h3 i {
    color: var(--airline-color, #4092cc);
}

body.dark-mode.airline-branding .training-section h3 i {
    color: var(--airline-color-light, #6ba5d4);
}

/* Airline Sponsored Training Card */
.training-item-card.airline-sponsored {
    border: 2px solid var(--career-success);
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.05) 0%, rgba(34, 197, 94, 0.1) 100%);
}

/* Discount Pricing */
.training-item-price .price-original {
    text-decoration: line-through;
    color: var(--career-gray);
    font-size: 0.85rem;
    margin-right: 0.5rem;
}

.training-item-price .price-discounted {
    color: var(--career-success);
    font-weight: 700;
    font-size: 1.1rem;
}

/* Dark mode training sections */
body.dark-mode .training-section h3 {
    color: #e5e5e7;
}

body.dark-mode .training-item-card.airline-sponsored {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(34, 197, 94, 0.15) 100%);
}

/* ================================================
   MODAL STYLES
   ================================================ */
.career-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    animation: fadeIn 0.2s ease-out;
}

.career-modal {
    background: white;
    border-radius: 0.75rem;
    max-width: 450px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    margin: 1rem;
}

/* General modal content padding */
.career-modal > h3 {
    padding: 1.25rem 1.5rem 0.5rem;
    margin: 0;
    color: var(--career-primary);
    font-size: 1.1rem;
    text-align: center;
}

.career-modal > p {
    padding: 0.5rem 1.5rem 1rem;
    margin: 0;
    color: #475569;
    text-align: center;
    line-height: 1.5;
    white-space: pre-line;
}

.career-modal > #modal-extra-content {
    padding: 0 1.5rem;
}

.career-modal-wide {
    max-width: 600px;
}

.modal-header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--career-border);
}

.modal-header-bar h3,
.modal-header-bar .modal-title {
    color: var(--career-primary);
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modal-close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--career-gray);
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.modal-close-btn:hover {
    color: #1e293b;
}

.offer-modal-content {
    padding: 1.5rem;
}

.offer-airline-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.offer-airline-header img {
    height: 50px;
    width: 80px;
    object-fit: contain;
}

.offer-airline-header h4 {
    margin: 0;
    font-size: 1.1rem;
    color: #1e293b;
}

.offer-airline-header p {
    margin: 0.25rem 0 0;
    color: var(--career-gray);
    font-size: 0.9rem;
}

.resignation-warning {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 0.5rem;
    padding: 1rem;
    margin: 1rem 0;
}

.resignation-warning h4 {
    color: var(--career-danger);
    font-size: 0.9rem;
    margin: 0 0 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.resignation-warning ul {
    margin: 0;
    padding-left: 1.25rem;
    color: var(--career-gray);
    font-size: 0.85rem;
}

.resignation-warning li {
    margin-bottom: 0.25rem;
}

.info-notice {
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: 0.5rem;
    padding: 1rem;
    display: flex;
    gap: 0.75rem;
    font-size: 0.85rem;
    color: #0c4a6e;
}

.info-notice i {
    color: var(--career-primary);
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.info-notice p {
    margin: 0;
    line-height: 1.4;
}

.aircraft-selection h4 {
    color: #1e293b;
    font-size: 0.9rem;
    margin: 1rem 0 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.aircraft-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.aircraft-option {
    padding: 0.5rem 1rem;
    border: 2px solid var(--career-border);
    border-radius: 0.5rem;
    background: white;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.85rem;
}

.aircraft-option:hover {
    border-color: var(--career-primary);
}

.aircraft-option.selected {
    border-color: var(--career-primary);
    background: rgba(64, 146, 204, 0.1);
    color: var(--career-primary);
    font-weight: 600;
}

.career-modal-actions {
    display: flex;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    border-top: 1px solid var(--career-border);
    justify-content: flex-end;
}

.career-modal-btn {
    padding: 0.45rem 1rem;
    border-radius: 0.4rem;
    border: none;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.career-modal-btn.cancel {
    background: #e5e7eb;
    color: #374151;
}

.career-modal-btn.cancel:hover {
    background: #d1d5db;
}

.career-modal-btn.confirm {
    background: var(--career-primary);
    color: white;
}

.career-modal-btn.confirm:hover {
    background: var(--career-primary-dark);
}

.career-modal-btn.confirm.success {
    background: var(--career-success);
}

.career-modal-btn.confirm.success:hover {
    background: var(--career-success-dark);
}

/* Payroll & Transactions Modal Content */
.payroll-modal-content,
.transactions-modal-content {
    padding: 1.5rem;
    max-height: 400px;
    overflow-y: auto;
}

.payroll-record,
.transaction-record {
    padding: 1rem;
    background: var(--career-light);
    border-radius: 0.5rem;
    margin-bottom: 0.75rem;
    border-left: 4px solid var(--career-success);
}

.payroll-record:last-child,
.transaction-record:last-child {
    margin-bottom: 0;
}

.transaction-record.debit {
    border-left-color: var(--career-danger);
}

.record-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.record-date {
    font-size: 0.8rem;
    color: var(--career-gray);
}

.record-amount {
    font-weight: 600;
    font-size: 1rem;
}

.record-amount.credit {
    color: var(--career-success);
}

.record-amount.debit {
    color: var(--career-danger);
}

.record-amount.expense {
    color: var(--career-danger);
}

.record-timestamp {
    font-size: 0.75rem;
    color: var(--career-gray);
    margin-top: 0.35rem;
    opacity: 0.8;
}

.record-details {
    font-size: 0.85rem;
    color: var(--career-gray);
}

.record-stats {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    font-weight: 500;
}

.flight-pay {
    color: var(--career-success);
    line-height: 1.5;
}

.landing-fpm {
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
}

.landing-fpm.excellent {
    background: rgba(168, 85, 247, 0.15);
    color: #9333ea;
}

.landing-fpm.good {
    background: rgba(20, 184, 166, 0.15);
    color: #0d9488;
}

.landing-fpm.normal {
    background: rgba(245, 158, 11, 0.15);
    color: #d97706;
}

.landing-fpm.hard {
    background: rgba(239, 68, 68, 0.15);
    color: #dc2626;
}

.landing-gforce {
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
}

.landing-gforce.excellent {
    background: rgba(168, 85, 247, 0.15);
    color: #9333ea;
}

.landing-gforce.good {
    background: rgba(20, 184, 166, 0.15);
    color: #0d9488;
}

.landing-gforce.normal {
    background: rgba(245, 158, 11, 0.15);
    color: #d97706;
}

.landing-gforce.hard {
    background: rgba(239, 68, 68, 0.15);
    color: #dc2626;
}

.no-records-message {
    text-align: center;
    color: var(--career-gray);
    padding: 2rem;
    font-style: italic;
}

/* ================================================
   RESPONSIVE DESIGN
   ================================================ */
@media (max-width: 1024px) {
    .career-main-grid {
        grid-template-columns: 1fr;
    }

    .career-sidebar-column {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .pilot-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contract-details-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .current-employment-card {
        padding: 1rem 1.25rem;
    }

    .employment-header {
        flex-direction: column-reverse;
        align-items: center;
        text-align: center;
    }

    .employment-left {
        align-items: center;
    }

    .employment-header .airline-logo-display {
        width: 100px;
        height: 100px;
    }

    .pilot-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .career-sidebar-column {
        grid-template-columns: 1fr;
    }

    .starter-airlines-grid {
        grid-template-columns: 1fr;
    }

    .apply-airlines-grid {
        grid-template-columns: 1fr;
    }

    .training-catalog-grid {
        grid-template-columns: 1fr;
    }

    .job-offer-details {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .pilot-stats-grid {
        grid-template-columns: 1fr;
    }

    .career-modal-actions {
        flex-direction: column;
    }

    .career-modal-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ================================================
   STANDBY SECTION
   ================================================ */
.standby-inactive {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.standby-duration-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.standby-duration-row label {
    font-size: 0.85rem;
    font-weight: 500;
    color: #444;
    text-align: center;
}

.standby-duration-row select {
    padding: 0.5rem 1rem;
    border: 1px solid var(--career-border);
    border-radius: 0.5rem;
    font-size: 0.95rem;
    background: white;
    cursor: pointer;
}

.standby-btn {
    background: var(--career-primary);
    color: white;
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 0.4rem;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: background 0.2s;
}

.standby-btn:hover {
    background: var(--career-primary-dark);
}

.standby-active {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 100%;
}

.standby-status {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(135deg, #dcfce7 0%, #f0fdf4 100%);
    padding: 1rem 3rem;
    border-radius: 0.75rem;
    border: 1px solid #86efac;
}

.standby-status-icon {
    font-size: 1.5rem;
    color: var(--career-success);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.standby-status-info {
    display: flex;
    flex-direction: column;
}

.standby-label {
    font-weight: 600;
    color: #166534;
    font-size: 0.9rem;
}

.standby-timer {
    font-size: 1.5rem;
    font-weight: 700;
    color: #15803d;
    font-family: monospace;
}

.standby-message {
    font-size: 0.9rem;
    color: var(--career-gray);
    text-align: center;
}

.standby-flights {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.standby-flight-card {
    background: linear-gradient(135deg, #fef3c7 0%, #fffbeb 100%);
    border: 1px solid #fcd34d;
    border-radius: 0.75rem;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.standby-flight-card + .standby-flight-card {
    margin-top: 0.75rem;
}

.standby-flight-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.standby-flight-badge {
    background: #f59e0b;
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    text-transform: uppercase;
}

.standby-flight-route {
    font-size: 1.1rem;
    font-weight: 600;
    color: #92400e;
}

.standby-flight-details {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
    color: #a16207;
}

.standby-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.standby-accept-btn {
    background: var(--career-success);
    color: white;
    border: none;
    padding: 0.4rem 1.25rem;
    border-radius: 0.4rem;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: background 0.2s;
}

.standby-accept-btn:hover {
    background: #059669;
}

.standby-cancel-btn {
    background: transparent;
    color: var(--career-gray);
    border: 1px solid var(--career-border);
    padding: 0.35rem 0.85rem;
    border-radius: 0.35rem;
    font-size: 0.8rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.2s;
}

.standby-cancel-btn:hover {
    background: #fee2e2;
    border-color: #fca5a5;
    color: #dc2626;
}

/* ================================================
   OVERTIME ASSIGNMENTS SECTION
   ================================================ */
.overtime-none {
    text-align: center;
    color: var(--career-gray);
    padding: 0 2rem;
}

.overtime-none i {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.5rem;
    opacity: 0.5;
}

.overtime-none p {
    margin: 0.5rem 0 0.25rem;
    font-weight: 500;
}

.overtime-none small {
    font-size: 0.8rem;
}

.overtime-offer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.overtime-header {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.overtime-header-top {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.overtime-badge {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.4rem 0.75rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.overtime-multiplier {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: white;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.4rem 0.75rem;
    border-radius: 0.5rem;
}

.overtime-expires {
    font-size: 0.85rem;
    color: var(--career-gray);
    text-align: center;
}

.overtime-flights {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.overtime-flight-card {
    background: linear-gradient(135deg, #fef3c7 0%, #fffbeb 100%);
    border: 1px solid #fcd34d;
    border-radius: 0.75rem;
    padding: 1rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-width: 320px;
}

.overtime-flight-route {
    font-size: 1.1rem;
    font-weight: 600;
    color: #92400e;
}

.overtime-flight-details {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
    color: #a16207;
}

.overtime-flight-pay {
    font-weight: 600;
    color: #16a34a;
}

.overtime-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    margin-top: 0.5rem;
}

.overtime-accept-btn {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: white;
    border: none;
    padding: 0.4rem 1.25rem;
    border-radius: 0.4rem;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: background 0.2s;
}

.overtime-accept-btn:hover {
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
}

.overtime-decline-btn {
    background: transparent;
    color: var(--career-gray);
    border: 1px solid var(--career-border);
    padding: 0.35rem 0.85rem;
    border-radius: 0.35rem;
    font-size: 0.8rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.2s;
}

.overtime-decline-btn:hover {
    background: #fee2e2;
    border-color: #fca5a5;
    color: #dc2626;
}

/* ================================================
   DARK MODE
   ================================================ */
body.dark-mode {
    --career-light: #3a3a3c;
    --career-border: #48484a;
}

body.dark-mode .career-loading {
    color: #a0a0a0;
}

body.dark-mode .loading-spinner {
    border-color: #48484a;
    border-top-color: #5ab0e8;
}

body.dark-mode .section-subtitle,
body.dark-mode .sidebar-subtitle {
    color: #a0a0a0;
}

body.dark-mode .current-employment-card {
    background: #2c2c2e;
    border-color: var(--career-success);
}

/* Dark mode - Career Info Cards */
body.dark-mode .career-info-card {
    background: #2c2c2e;
    border-color: #48484a;
}


body.dark-mode .career-card-header h3 {
    color: #e5e5e7;
}

body.dark-mode .detail-label {
    color: #94a3b8;
}

body.dark-mode .detail-value {
    color: #e5e5e7;
}

body.dark-mode .employer-card .airline-logo-display {
    background: #1c1c1e;
}

body.dark-mode .stat-item {
    background: #1c1c1e;
}

body.dark-mode .stat-item .stat-label {
    color: #94a3b8;
}

body.dark-mode .contract-detail.highlight {
    background: linear-gradient(135deg, #1e3a5f 0%, #1c1c1e 100%);
}

body.dark-mode .stat-item.highlight {
    background: linear-gradient(135deg, #14532d 0%, #1c1c1e 100%);
}

body.dark-mode .employment-position span,
body.dark-mode .sidebar-card h3,
body.dark-mode .timeline-title,
body.dark-mode .advisor-tip h4,
body.dark-mode .job-offer-airline,
body.dark-mode .starter-airline-name,
body.dark-mode .apply-airline-name,
body.dark-mode .training-item-name,
body.dark-mode .hired-aircraft-code,
body.dark-mode .employment-base-aircraft span {
    color: #e5e5e7;
}

body.dark-mode .employment-details,
body.dark-mode .stat-label,
body.dark-mode .contract-detail,
body.dark-mode .timeline-date,
body.dark-mode .timeline-details,
body.dark-mode .job-offer-detail,
body.dark-mode .starter-airline-aircraft,
body.dark-mode .starter-airline-base,
body.dark-mode .apply-airline-tier,
body.dark-mode .training-item-description,
body.dark-mode .no-offers-message,
body.dark-mode .no-ratings-message {
    color: #a0a0a0;
}

body.dark-mode .stat-card,
body.dark-mode .sidebar-card,
body.dark-mode .content-card,
body.dark-mode .job-offer-card,
body.dark-mode .starter-airline-card,
body.dark-mode .apply-airline-card,
body.dark-mode .training-item-card,
body.dark-mode .hired-aircraft-item {
    background: #3a3a3c;
    border-color: #48484a;
}

body.dark-mode .stat-value {
    color: #5ab0e8;
}

body.dark-mode .apply-airline-details {
    border-color: #48484a;
}

body.dark-mode .apply-detail {
    color: #a0a0a0;
}

body.dark-mode .apply-detail i {
    color: #5ab0e8;
}

body.dark-mode .contract-info {
    background: linear-gradient(135deg, #1e3a5f 0%, #0c4a6e 100%);
}

body.dark-mode .contract-info h4,
body.dark-mode .contract-detail {
    color: #bae6fd;
}

body.dark-mode .advisor-tip.recommended {
    background: rgba(64, 146, 204, 0.15);
}

body.dark-mode .advisor-tip.recommended p {
    color: #bae6fd;
}

body.dark-mode .advisor-tip.market {
    background: rgba(245, 158, 11, 0.15);
}

body.dark-mode .advisor-tip.market p {
    color: #fcd34d;
}

body.dark-mode .career-modal {
    background: #2c2c2e;
}

body.dark-mode .career-modal > h3 {
    color: #5ab0e8;
}

body.dark-mode .career-modal > p {
    color: #a0a0a0;
}

body.dark-mode .modal-header-bar {
    border-color: #48484a;
}

body.dark-mode .modal-header-bar h3,
body.dark-mode .modal-header-bar .modal-title {
    color: #5ab0e8;
}

body.dark-mode .career-modal-actions {
    border-color: #48484a;
}

body.dark-mode .career-modal-btn.cancel {
    background: #48484a;
    color: #e5e5e7;
}

body.dark-mode .career-modal-btn.cancel:hover {
    background: #5a5a5c;
}

body.dark-mode .job-comparison {
    background: #3a3a3c;
}

body.dark-mode .job-comparison h4 {
    color: #e5e5e7;
}

body.dark-mode .resignation-warning {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.3);
}

body.dark-mode .info-notice {
    background: rgba(64, 146, 204, 0.15);
    border-color: rgba(64, 146, 204, 0.3);
    color: #bae6fd;
}

body.dark-mode .aircraft-option {
    background: #3a3a3c;
    border-color: #48484a;
    color: #e5e5e7;
}

body.dark-mode .aircraft-option:hover,
body.dark-mode .aircraft-option.selected {
    border-color: #5ab0e8;
}

body.dark-mode .aircraft-option.selected {
    background: rgba(90, 176, 232, 0.15);
    color: #5ab0e8;
}

body.dark-mode .base-select {
    background: #3a3a3c;
    border-color: #48484a;
    color: #e5e5e7;
}

body.dark-mode .base-select:disabled {
    background: #2c2c2e;
}

body.dark-mode .payroll-record,
body.dark-mode .transaction-record {
    background: #3a3a3c;
}

/* Dark mode - Standby Section */
body.dark-mode .standby-duration-row label {
    color: #a0a0a0;
}

body.dark-mode .standby-duration-row select {
    background: #3a3a3c;
    border-color: #48484a;
    color: #e5e5e7;
}

body.dark-mode .standby-status {
    background: linear-gradient(135deg, #14532d 0%, #1c1c1e 100%);
    border-color: #22c55e;
}

body.dark-mode .standby-label {
    color: #86efac;
}

body.dark-mode .standby-timer {
    color: #4ade80;
}

body.dark-mode .standby-message {
    color: #a0a0a0;
}

body.dark-mode .standby-flight-card {
    background: linear-gradient(135deg, #78350f 0%, #1c1c1e 100%);
    border-color: #f59e0b;
}

body.dark-mode .standby-flight-badge {
    background: #d97706;
}

body.dark-mode .standby-flight-route {
    color: #fcd34d;
}

body.dark-mode .standby-flight-details {
    color: #fbbf24;
}

body.dark-mode .standby-cancel-btn {
    border-color: #48484a;
    color: #a0a0a0;
}

body.dark-mode .standby-cancel-btn:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: #f87171;
    color: #f87171;
}

/* Dark mode - Premium Open Time Section */
body.dark-mode .overtime-none {
    color: #a0a0a0;
}

body.dark-mode .overtime-expires {
    color: #a0a0a0;
}

body.dark-mode .overtime-flight-card {
    background: linear-gradient(135deg, #78350f 0%, #1c1c1e 100%);
    border-color: #f59e0b;
}

body.dark-mode .overtime-flight-route {
    color: #fcd34d;
}

body.dark-mode .overtime-flight-details {
    color: #fbbf24;
}

body.dark-mode .overtime-decline-btn {
    border-color: #48484a;
    color: #a0a0a0;
}

body.dark-mode .overtime-decline-btn:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: #f87171;
    color: #f87171;
}

/* ================================================
   CAREER SCHEDULE GENERATOR
   ================================================ */
.career-schedule-form {
    padding: 1rem 0;
}

.schedule-info-bar {
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding: 0.75rem 1rem;
    background: var(--career-light);
    border-radius: 8px;
    margin-bottom: 1.25rem;
    font-size: 0.9rem;
}

.schedule-info-bar span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--career-gray);
}

.schedule-info-bar strong {
    color: var(--career-primary);
}

.schedule-form-row {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.25rem;
}

.schedule-form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
    max-width: 150px;
}

.schedule-form-group label {
    font-size: 0.85rem;
    font-weight: 500;
    color: #444;
    text-align: center;
}

.schedule-form-group select {
    width: 100%;
    padding: 0.6rem 0.75rem;
    border: 1px solid var(--career-border);
    border-radius: 6px;
    font-size: 0.9rem;
    background: white;
    cursor: pointer;
}

.schedule-form-group select:focus {
    outline: none;
    border-color: var(--career-primary);
    box-shadow: 0 0 0 3px rgba(64, 146, 204, 0.1);
}

.generate-schedule-btn {
    width: auto;
    padding: 0.5rem 1.5rem;
    margin: 0 auto;
    background: var(--career-primary);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    transition: all 0.2s;
}

.generate-schedule-btn:hover:not(:disabled) {
    background: var(--career-primary-dark);
    transform: translateY(-1px);
}

.generate-schedule-btn:disabled {
    background: #94a3b8;
    cursor: not-allowed;
    transform: none;
}

.career-schedule-form.schedule-locked .schedule-form-row {
    opacity: 0.5;
    pointer-events: none;
}

.generated-schedule {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--career-border);
}

.generated-schedule h4 {
    margin-bottom: 1rem;
    color: #333;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.schedule-legs-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.schedule-leg {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    background: var(--career-light);
    border-radius: 8px;
    border-left: 3px solid var(--career-primary);
}

.leg-number {
    width: 28px;
    height: 28px;
    background: var(--career-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
    margin-right: 1rem;
}

.leg-route {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
}

.leg-route .airport {
    font-family: monospace;
    font-size: 1rem;
    color: #333;
}

.leg-route .arrow {
    color: var(--career-gray);
}

.leg-info {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--career-gray);
}

.leg-info span {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.schedule-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
}

.schedule-actions .btn-primary {
    padding: 0.65rem 1.25rem;
    background: var(--career-success);
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.schedule-actions .btn-primary:hover {
    background: var(--career-success-dark);
}

.schedule-actions .btn-secondary {
    padding: 0.65rem 1.25rem;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .schedule-info-bar {
        flex-direction: column;
        gap: 0.5rem;
    }

    .schedule-form-row {
        flex-direction: column;
        align-items: center;
    }

    .schedule-actions {
        flex-direction: column;
    }

    .schedule-actions button {
        width: 100%;
        justify-content: center;
    }
}

/* Dark mode */
body.dark-mode .schedule-info-bar {
    background: #3a3a3c;
}

body.dark-mode .schedule-info-bar span {
    color: #a1a1aa;
}

body.dark-mode .schedule-form-group label {
    color: #e5e5e7;
}

body.dark-mode .schedule-form-group select {
    background: #3a3a3c;
    border-color: #48484a;
    color: #e5e5e7;
}

body.dark-mode .schedule-leg {
    background: #3a3a3c;
}

body.dark-mode .leg-route .airport {
    color: #e5e5e7;
}

body.dark-mode .generated-schedule h4 {
    color: #e5e5e7;
}

/* Starter airline details */
.starter-airline-details {
    display: flex;
    justify-content: center;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--career-gray);
    margin: 0.5rem 0;
}

.starter-airline-details span {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.starter-airline-details i {
    color: var(--career-primary);
    font-size: 0.8rem;
}

body.dark-mode .starter-airline-details {
    color: #a1a1aa;
}

/* ================================================
   SCHEDULED FLIGHTS
   ================================================ */
.scheduled-flights-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.no-flights-message {
    text-align: center;
    color: var(--career-gray);
    padding: 2rem;
}

.no-flights-message i {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.5rem;
    opacity: 0.5;
}

.no-flights-message p {
    margin: 0.5rem 0 0.25rem;
    font-weight: 500;
}

.no-flights-message small {
    font-size: 0.8rem;
}

.scheduled-flight-card {
    background: var(--career-light);
    border-radius: 0.75rem;
    padding: 1rem 1.25rem;
    border: 1px solid var(--career-border);
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    position: relative;
    transition: all 0.2s;
}

.scheduled-flight-card:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.scheduled-flight-card.next-flight {
    border-color: var(--career-primary);
    border-width: 2px;
    background: linear-gradient(135deg, rgba(64, 146, 204, 0.05) 0%, rgba(64, 146, 204, 0.1) 100%);
}

.next-badge {
    position: absolute;
    top: -10px;
    left: 1rem;
    background: var(--career-primary);
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.2rem 0.5rem;
    border-radius: 0.25rem;
    letter-spacing: 0.5px;
}

/* Premium Open Time Flight Styling */
.scheduled-flight-card.overtime-flight {
    border-color: #f59e0b;
    border-width: 2px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.05) 0%, rgba(245, 158, 11, 0.1) 100%);
    box-shadow: 0 0 12px rgba(245, 158, 11, 0.25);
}

.scheduled-flight-card .overtime-badge {
    position: absolute;
    top: -10px;
    left: 5.5rem;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.2rem 0.5rem;
    border-radius: 0.25rem;
    letter-spacing: 0.5px;
}

/* When overtime but not next, badge goes to left */
.scheduled-flight-card.overtime-flight:not(.next-flight) .overtime-badge {
    left: 1rem;
}

.scheduled-flight-card .overtime-badge i {
    font-size: 0.55rem;
}

.flight-card-main {
    flex: 1;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.flight-route {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.35rem;
    padding-top: 0.3rem;
}

.flight-route .airport-code {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
    font-family: monospace;
    background: none;
    padding: 0;
    margin: 0;
    border-radius: 0;
}

.flight-route .route-arrow {
    color: var(--career-gray);
    font-size: 1rem;
    align-self: flex-start;
    margin-top: 0.2rem;
}

.flight-route .airport-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    margin: 0;
}


.flight-route .airport-name {
    font-size: 0.7rem;
    color: var(--career-gray);
    font-weight: 400;
    line-height: 1.2;
    padding-top: 0.15rem;
}


.flight-details {
    display: flex;
    justify-content: flex-start;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--career-gray);
}

.flight-details span {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.flight-details i {
    font-size: 0.75rem;
    color: var(--career-primary);
}

.flight-card-actions {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-simbrief {
    background: #1a5276;
    color: white;
    border: none;
    padding: 0.35rem 0.6rem;
    border-radius: 0.35rem;
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    transition: all 0.2s;
    text-decoration: none;
}

.btn-simbrief:hover {
    background: #2471a3;
    transform: translateY(-1px);
}

.btn-fr24 {
    background: #f5a623;
    color: white;
    border: none;
    padding: 0.35rem 0.6rem;
    border-radius: 0.35rem;
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    transition: all 0.2s;
    text-decoration: none;
}

.btn-fr24:hover {
    background: #ffb84d;
    transform: translateY(-1px);
}

.btn-flightaware {
    background: #00a0e2;
    color: white;
    border: none;
    padding: 0.35rem 0.6rem;
    border-radius: 0.35rem;
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    transition: all 0.2s;
    text-decoration: none;
}

.btn-flightaware:hover {
    background: #33b3e8;
    transform: translateY(-1px);
}

.btn-complete-flight {
    background: var(--career-success);
    color: white;
    border: none;
    padding: 0.35rem 0.6rem;
    border-radius: 0.35rem;
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    transition: all 0.2s;
}

.btn-complete-flight:hover {
    background: var(--career-success-dark);
    transform: translateY(-1px);
}

/* Dark mode */
body.dark-mode .scheduled-flight-card {
    background: #3a3a3c;
    border-color: #48484a;
}

body.dark-mode .scheduled-flight-card.next-flight {
    background: linear-gradient(135deg, rgba(90, 176, 232, 0.1) 0%, rgba(90, 176, 232, 0.15) 100%);
    border-color: #5ab0e8;
}

body.dark-mode .scheduled-flight-card.overtime-flight {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(245, 158, 11, 0.15) 100%);
    border-color: #f59e0b;
    box-shadow: 0 0 12px rgba(245, 158, 11, 0.3);
}

body.dark-mode .flight-route .airport-code {
    color: #e5e5e7;
}

body.dark-mode .flight-route .airport-name {
    color: #a0a0a0;
}

body.dark-mode .no-flights-message {
    color: #a0a0a0;
}

/* Mobile responsive */
@media (max-width: 576px) {
    .scheduled-flight-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .flight-card-actions {
        width: 100%;
    }

    .btn-complete-flight,
    .btn-simbrief,
    .btn-fr24,
    .btn-flightaware {
        width: 100%;
        justify-content: center;
    }

    .flight-card-actions {
        flex-direction: column;
    }
}

/* ================================================
   BID STATUS STYLES
   ================================================ */

.bid-status-container {
    margin-bottom: 1.5rem;
}

.bid-status {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 500;
}

.bid-status.pending {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(245, 158, 11, 0.15) 100%);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: #b45309;
}

.bid-status.pending i {
    color: #f59e0b;
    font-size: 1.2rem;
}

.bid-status.approved {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(34, 197, 94, 0.15) 100%);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #15803d;
}

.bid-status.approved i {
    color: #22c55e;
    font-size: 1.2rem;
}

.bid-status.denied {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(239, 68, 68, 0.15) 100%);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #b91c1c;
}

.bid-status.denied i {
    color: #ef4444;
    font-size: 1.2rem;
}

.bid-status .bid-timer {
    margin-left: auto;
    background: rgba(0, 0, 0, 0.1);
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
}

.bid-status button {
    margin-left: auto;
    background: white;
    border: 1px solid currentColor;
    color: inherit;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s;
}

.bid-status button:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Dark mode bid status */
body.dark-mode .bid-status.pending {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(245, 158, 11, 0.2) 100%);
    color: #fbbf24;
}

body.dark-mode .bid-status.approved {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.15) 0%, rgba(34, 197, 94, 0.2) 100%);
    color: #4ade80;
}

body.dark-mode .bid-status.denied {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(239, 68, 68, 0.2) 100%);
    color: #f87171;
}

body.dark-mode .bid-status button {
    background: #2c2c2e;
    border-color: currentColor;
}

/* ================================================
   BIDDING SECTION STYLES
   ================================================ */

.bidding-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}

.bidding-notice {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    background: linear-gradient(135deg, rgba(100, 116, 139, 0.08) 0%, rgba(100, 116, 139, 0.12) 100%);
    border: 1px solid rgba(100, 116, 139, 0.2);
    border-radius: 10px;
    grid-column: 1 / -1;
}

.bidding-notice i {
    color: #64748b;
    font-size: 1.5rem;
    margin-top: 0.25rem;
}

.bidding-notice-content {
    flex: 1;
}

.bidding-notice-content strong {
    display: block;
    margin-bottom: 0.5rem;
    color: #475569;
}

.bidding-notice-content p {
    margin: 0.25rem 0;
    color: #64748b;
    font-size: 0.9rem;
}

.bidding-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 1.25rem;
    transition: all 0.2s;
}

.bidding-card:hover {
    border-color: var(--career-primary);
    box-shadow: 0 4px 12px rgba(64, 146, 204, 0.15);
}

.bidding-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.bidding-family-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
}

.bidding-approval-chance {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: white;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.bidding-card-body {
    margin-bottom: 1rem;
}

.bidding-card-body p {
    margin: 0.25rem 0;
    color: #64748b;
    font-size: 0.9rem;
}

.bidding-seniority {
    font-style: italic;
}

.bidding-submit-btn {
    width: 100%;
    padding: 0.5rem;
    background: linear-gradient(135deg, var(--career-primary) 0%, var(--career-primary-dark) 100%);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    transition: all 0.2s;
}

.bidding-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(64, 146, 204, 0.3);
}

/* Dark mode bidding */
body.dark-mode .bidding-notice {
    background: linear-gradient(135deg, rgba(100, 116, 139, 0.15) 0%, rgba(100, 116, 139, 0.2) 100%);
    border-color: rgba(100, 116, 139, 0.3);
}

body.dark-mode .bidding-notice-content strong {
    color: #cbd5e1;
}

body.dark-mode .bidding-notice-content p {
    color: #94a3b8;
}

body.dark-mode .bidding-card {
    background: #2c2c2e;
    border-color: #48484a;
}

body.dark-mode .bidding-family-name {
    color: #e5e5e7;
}

/* ================================================
   SETTINGS TOGGLE
   ================================================ */
.settings-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.setting-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.setting-label {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.setting-label span {
    font-size: 0.9rem;
    font-weight: 500;
    color: #1e293b;
}

.setting-label small {
    font-size: 0.75rem;
    color: #64748b;
}

body.dark-mode .setting-label span {
    color: #e5e5e7;
}

body.dark-mode .setting-label small {
    color: #94a3b8;
}

/* Toggle Switch */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #cbd5e1;
    transition: 0.3s;
    border-radius: 24px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.toggle-switch input:checked + .toggle-slider {
    background-color: var(--airline-color, #4092cc);
}

.toggle-switch input:checked + .toggle-slider:before {
    transform: translateX(20px);
}

body.dark-mode .toggle-slider {
    background-color: #48484a;
}

/* ================================================
   AIRLINE BRANDING (when enabled)
   ================================================ */

/* Employer card border uses airline color */
body.airline-branding .employer-card {
    border-left: 4px solid var(--airline-color, #22c55e);
}

/* Employment status badge uses airline color */
body.airline-branding .employment-status-badge {
    background: var(--airline-color, #22c55e);
}

/* Contract card border uses airline color */
body.airline-branding .contract-card {
    border-left: 4px solid var(--airline-color, #4092cc);
}

/* Stats card border uses airline color light */
body.airline-branding .stats-card {
    border-left: 4px solid var(--airline-color-light, #f59e0b);
}

/* Career card header icons use airline color */
body.airline-branding .career-card-header h3 i {
    color: var(--airline-color, #4092cc);
}

/* Base and Aircraft values use airline color */
body.airline-branding #base-airport,
body.airline-branding #primary-aircraft {
    color: var(--airline-color, #4092cc);
}

/* Primary buttons */
body.airline-branding .btn-primary,
body.airline-branding .generate-schedule-btn,
body.airline-branding #accept-schedule-btn,
body.airline-branding .standby-btn {
    background: linear-gradient(135deg, var(--airline-color, #4092cc) 0%, var(--airline-color-dark, #357abd) 100%);
}

body.airline-branding .btn-primary:hover,
body.airline-branding .generate-schedule-btn:hover,
body.airline-branding #accept-schedule-btn:hover,
body.airline-branding .standby-btn:hover {
    background: linear-gradient(135deg, var(--airline-color-dark, #357abd) 0%, var(--airline-color, #4092cc) 100%);
}

/* Content card headers */
body.airline-branding .content-card h2 {
    color: var(--airline-color, #1e3a5f);
}

body.airline-branding .content-card h2::after {
    background: var(--airline-color, #4092cc) !important;
}

body.airline-branding .content-card h2 i {
    color: var(--airline-color, #4092cc);
}

/* Sidebar card headers */
body.airline-branding .sidebar-card h3 {
    color: var(--airline-color, #1e3a5f);
}

body.airline-branding .sidebar-card h3 i {
    color: var(--airline-color, #4092cc);
}

/* Dashboard header */
body.airline-branding .dashboard-header {
    border-bottom-color: var(--airline-color, #4092cc);
}

body.airline-branding .dashboard-header h1 i {
    color: var(--airline-color, #4092cc);
}

/* Training buy button */
body.airline-branding .training-buy-btn:not(.disabled) {
    background: linear-gradient(135deg, var(--airline-color, #4092cc) 0%, var(--airline-color-dark, #357abd) 100%);
}

body.airline-branding .training-buy-btn:not(.disabled):hover {
    background: linear-gradient(135deg, var(--airline-color-dark, #357abd) 0%, var(--airline-color, #4092cc) 100%);
}

/* Contract info header */
body.airline-branding .contract-info h4 {
    color: var(--airline-color, #1e3a5f);
}

/* Page title */
body.airline-branding .header-content h1 {
    color: var(--airline-color, #1e3a5f);
}

/* Dark mode adjustments for airline branding */
body.dark-mode.airline-branding .content-card h2,
body.dark-mode.airline-branding .sidebar-card h3,
body.dark-mode.airline-branding .contract-info h4,
body.dark-mode.airline-branding .header-content h1 {
    color: var(--airline-color-light, #6ba5d4);
}

body.dark-mode.airline-branding .content-card h2 i,
body.dark-mode.airline-branding .sidebar-card h3 i,
body.dark-mode.airline-branding .dashboard-header h1 i {
    color: var(--airline-color-light, #6ba5d4);
}

/* ================================================
   AIRLINE CREW CHAT
   ================================================ */
.chat-sidebar {
    max-height: 400px;
    display: flex;
    flex-direction: column;
}

.chat-container {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    max-height: 250px;
    min-height: 150px;
    padding: 0.5rem;
    background: var(--career-light);
    border-radius: 8px;
    margin-bottom: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

body.dark-mode .chat-messages {
    background: #1e293b;
}

.chat-message {
    padding: 0.5rem 0.75rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

body.dark-mode .chat-message {
    background: #334155;
}

.chat-message-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.25rem;
}

.chat-username {
    font-weight: 600;
    font-size: 0.8rem;
    color: var(--career-primary);
}

body.dark-mode .chat-username {
    color: #60a5fa;
}

.chat-time {
    font-size: 0.7rem;
    color: var(--career-gray);
}

.chat-message-text {
    font-size: 0.85rem;
    color: #334155;
    word-wrap: break-word;
}

body.dark-mode .chat-message-text {
    color: #e2e8f0;
}

.chat-input-container {
    display: flex;
    gap: 0.5rem;
}

#chat-input {
    flex: 1;
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--career-border);
    border-radius: 8px;
    font-size: 0.85rem;
    outline: none;
    transition: border-color 0.2s;
}

#chat-input:focus {
    border-color: var(--career-primary);
}

#chat-input:disabled {
    background: #f1f5f9;
    cursor: not-allowed;
}

body.dark-mode #chat-input {
    background: #1e293b;
    border-color: #475569;
    color: #e2e8f0;
}

body.dark-mode #chat-input:disabled {
    background: #0f172a;
}

.chat-send-btn {
    padding: 0.4rem 0.6rem;
    background: var(--career-primary);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: background 0.2s;
}

.chat-send-btn:hover:not(:disabled) {
    background: var(--career-primary-dark);
}

.chat-send-btn:disabled {
    background: #94a3b8;
    cursor: not-allowed;
}

.chat-username-prompt {
    padding: 0.75rem;
    background: #fef3c7;
    border-radius: 8px;
    text-align: center;
    margin-top: 0.5rem;
}

body.dark-mode .chat-username-prompt {
    background: #422006;
}

.chat-username-prompt p {
    margin: 0 0 0.5rem 0;
    font-size: 0.85rem;
    color: #92400e;
}

body.dark-mode .chat-username-prompt p {
    color: #fcd34d;
}

.chat-username-prompt input {
    padding: 0.4rem 0.6rem;
    border: 1px solid #d97706;
    border-radius: 6px;
    font-size: 0.85rem;
    width: 120px;
    margin-right: 0.5rem;
}

body.dark-mode .chat-username-prompt input {
    background: #1e293b;
    color: #e2e8f0;
    border-color: #f59e0b;
}

.chat-username-prompt button {
    padding: 0.4rem 0.75rem;
    font-size: 0.85rem;
}

.chat-empty {
    text-align: center;
    color: var(--career-gray);
    font-size: 0.85rem;
    padding: 2rem 0;
}

.chat-loading {
    text-align: center;
    color: var(--career-gray);
    font-size: 0.85rem;
    padding: 1rem 0;
}

/* ================================================
   CONTRACT SYSTEM
   ================================================ */

.contract-locked-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background: #fef3c7;
    border-radius: 8px;
    border: 1px solid #f59e0b;
    grid-column: 1 / -1;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
}

body.dark-mode .contract-locked-message {
    background: #78350f;
    border-color: #f59e0b;
}

.contract-locked-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contract-locked-title i {
    font-size: 1rem;
    color: #d97706;
}

body.dark-mode .contract-locked-title i {
    color: #fbbf24;
}

.contract-locked-title strong {
    font-size: 0.95rem;
    color: #92400e;
}

body.dark-mode .contract-locked-title strong {
    color: #fef3c7;
}

.contract-locked-details {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
}

.contract-locked-details span {
    font-size: 0.8rem;
    color: #a16207;
}

body.dark-mode .contract-locked-details span {
    color: #fde68a;
}

.contract-locked-details em {
    font-style: normal;
    opacity: 0.8;
}

.contract-buyout-warning {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-radius: 10px;
    border-left: 4px solid #f59e0b;
    margin-bottom: 1rem;
}

body.dark-mode .contract-buyout-warning {
    background: linear-gradient(135deg, #78350f 0%, #92400e 100%);
}

.contract-buyout-warning i {
    font-size: 1.5rem;
    color: #d97706;
    flex-shrink: 0;
    margin-top: 0.15rem;
}

body.dark-mode .contract-buyout-warning i {
    color: #fbbf24;
}

.contract-buyout-warning strong {
    display: block;
    color: #92400e;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

body.dark-mode .contract-buyout-warning strong {
    color: #fef3c7;
}

.contract-buyout-warning p {
    margin: 0;
    color: #a16207;
    font-size: 0.85rem;
    line-height: 1.4;
}

body.dark-mode .contract-buyout-warning p {
    color: #fde68a;
}

/* Contract notice on starter cards */
.contract-notice {
    font-size: 0.75rem;
    color: var(--career-gray);
    margin-top: 0.75rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
}

.contract-notice i {
    font-size: 0.7rem;
}

body.dark-mode .contract-notice {
    color: #94a3b8;
}

/* Contract info notice in modals */
.contract-info-notice {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: #f0f9ff;
    border-radius: 8px;
    border-left: 3px solid #0ea5e9;
    margin-top: 1rem;
}

body.dark-mode .contract-info-notice {
    background: #0c4a6e;
    border-color: #38bdf8;
}

.contract-info-notice i {
    color: #0ea5e9;
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

body.dark-mode .contract-info-notice i {
    color: #38bdf8;
}

.contract-info-notice p {
    margin: 0;
    font-size: 0.85rem;
    color: #0369a1;
    line-height: 1.4;
}

body.dark-mode .contract-info-notice p {
    color: #bae6fd;
}

.contract-info-notice strong {
    color: #0c4a6e;
}

body.dark-mode .contract-info-notice strong {
    color: #f0f9ff;
}

/* Starter modal details */
.starter-modal-details {
    text-align: left;
}

.starter-modal-logo {
    text-align: center;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--career-border);
}

.starter-modal-logo img {
    width: 140px;
    height: 100px;
    object-fit: contain;
}

.starter-modal-tier {
    display: inline-block;
    font-size: 0.8rem;
    padding: 0.25rem 0.75rem;
    border-radius: 0.25rem;
    background: rgba(64, 146, 204, 0.1);
    color: var(--career-primary);
}

body.dark-mode .starter-modal-tier {
    background: rgba(64, 146, 204, 0.2);
}

.starter-modal-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.starter-modal-info .info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.4rem 0;
    border-bottom: 1px solid #f1f5f9;
}

body.dark-mode .starter-modal-info .info-row {
    border-bottom-color: #334155;
}

.starter-modal-info .info-row:last-child {
    border-bottom: none;
}

.starter-modal-info .info-row span {
    color: var(--career-gray);
    font-size: 0.9rem;
}

.starter-modal-info .info-row strong {
    color: #1e293b;
    font-size: 0.9rem;
}

body.dark-mode .starter-modal-info .info-row strong {
    color: #f1f5f9;
}

/* ================================================
   FATIGUE SYSTEM STYLES
   ================================================ */

#fatigue-section {
    background: #fff;
}

body.dark-mode #fatigue-section {
    background: var(--career-card-bg);
}

.fatigue-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Fatigue Meter */
.fatigue-meter-container {
    background: rgba(0, 0, 0, 0.03);
    border-radius: 8px;
    padding: 1rem;
}

body.dark-mode .fatigue-meter-container {
    background: rgba(255, 255, 255, 0.05);
}

.fatigue-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.fatigue-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.fatigue-status i {
    font-size: 1.25rem;
}

.fatigue-label {
    font-weight: 600;
    font-size: 1rem;
}

.fatigue-percentage {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--career-primary);
}

.fatigue-bar-track {
    position: relative;
    height: 12px;
    background: #e2e8f0;
    border-radius: 6px;
    overflow: visible;
}

body.dark-mode .fatigue-bar-track {
    background: #334155;
}

.fatigue-bar-fill {
    height: 100%;
    border-radius: 6px;
    transition: width 0.5s ease, background 0.3s ease;
}

.fatigue-threshold {
    position: absolute;
    top: -4px;
    width: 3px;
    height: 20px;
    background: #ef4444;
    border-radius: 2px;
    transform: translateX(-50%);
}

.fatigue-threshold::after {
    content: '85%';
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.65rem;
    color: #ef4444;
    font-weight: 600;
}

.fatigue-stats {
    display: flex;
    justify-content: space-between;
    margin-top: 0.75rem;
    font-size: 0.8rem;
    color: var(--career-gray);
}

.fatigue-stats span {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

/* Fully rested check always green */
.fatigue-stats i.fa-check-circle {
    color: var(--career-success) !important;
}

.fatigue-warning {
    color: #ef4444 !important;
    font-weight: 600;
}

/* Vacation Options */
.vacation-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.vacation-option {
    background: #fff;
    border: 2px solid #e2e8f0;
    border-radius: 6px;
    padding: 0.4rem 0.85rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

body.dark-mode .vacation-option {
    background: #1e293b;
    border-color: #334155;
}

.vacation-option:hover:not(.disabled) {
    border-color: var(--career-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.vacation-option.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.vacation-option-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--career-heading);
}

.vacation-option-header i {
    color: var(--career-primary);
}

.vacation-option-details {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
}

.vacation-time {
    color: var(--career-gray);
}

.vacation-cost {
    color: var(--career-success);
    font-weight: 600;
}

/* Vacation Active State */
.fatigue-vacation-active {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #0ea5e9 0%, #06b6d4 100%);
    border-radius: 12px;
    color: white;
}

.vacation-icon {
    font-size: 3rem;
    opacity: 0.9;
}

.vacation-info h4 {
    margin: 0 0 0.25rem 0;
    font-size: 1.25rem;
}

.vacation-type {
    margin: 0 0 0.5rem 0;
    opacity: 0.9;
    font-size: 0.9rem;
}

.vacation-countdown {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
}

/* Responsive */
@media (max-width: 600px) {
    .vacation-options {
        grid-template-columns: 1fr;
    }

    .fatigue-stats {
        flex-direction: column;
        gap: 0.5rem;
    }

    .fatigue-vacation-active {
        flex-direction: column;
        text-align: center;
    }
}
