/* =====================================================
   JS CANDIDATE PORTAL - STYLESHEET
   SourcAI Job Seeker Portal
   ===================================================== */

/* CSS Variables */
:root {
    --js-primary-purple: #4c3d99;
    --js-secondary-purple: #6b5ce7;
    --js-accent-blue: #38bdf8;
    --js-card-bg: rgba(45, 36, 85, 0.95);
    --js-card-bg-light: rgba(55, 46, 95, 0.9);
    --js-input-bg: rgba(255, 255, 255, 0.08);
    --js-input-border: rgba(255, 255, 255, 0.15);
    --js-btn-pink: #d946ef;
    --js-btn-pink-hover: #c026d3;
    --js-text-white: #ffffff;
    --js-text-gray: #9ca3af;
    --js-text-light: #e5e7eb;
    --js-link-color: #60a5fa;
    --js-success: #10b981;
    --js-error: #ef4444;
    --js-font-family: 'Inter', 'Roboto', sans-serif;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body.js-candidate-body {
    font-family: var(--js-font-family);
    font-size: 13px;
    line-height: 1.6;
    color: var(--js-text-white);
    min-height: 100vh;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

html {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.sourcAI_logo {
    filter: brightness(0) invert(1);
}
/* =====================================================
   GRADIENT BACKGROUNDS
   ===================================================== */

.js-gradient-bg {
    background: linear-gradient(90deg, #6a11cb 0%, #2575fc 100%);
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.js-gradient-bg-alt {
    background: linear-gradient(180deg, #4c3d99 0%, #5b4cad 50%, #6b5ce7 100%);
    min-height: 100vh;
}

/* =====================================================
   GUEST LAYOUT (Login/Register)
   ===================================================== */

.js-guest-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.js-guest-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.js-guest-container {
    width: 100%;
    max-width: 450px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.js-guest-container.wide {
    max-width: 520px;
}

.js-guest-container.full-width {
    max-width: 900px;
}

/* =====================================================
   SPLIT LAYOUT (Left Image + Right Form)
   ===================================================== */

.js-auth-split {
    display: flex;
    width: 100%;
    min-height: 500px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Left Panel */
.js-auth-left {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-right: 1px solid rgba(255, 255, 255, 0.4);
}

.js-auth-left-content {
    text-align: center;
}

.js-auth-logo {
    max-width: 180px;
    margin-bottom: 25px;
}

.js-auth-left h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--js-text-white);
    margin-bottom: 10px;
}

.js-auth-left p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

/* Right Panel */
.js-auth-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background: rgba(255, 255, 255, 0.05);
}

.js-auth-form-container {
    width: 100%;
    max-width: 380px;
}

/* Responsive */
@media (max-width: 768px) {
    .js-auth-split {
        flex-direction: column;
    }

    .js-auth-left {
        padding: 30px 20px;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .js-auth-logo {
        max-width: 120px;
        margin-bottom: 15px;
    }

    .js-auth-left h3 {
        font-size: 18px;
    }

    .js-auth-right {
        padding: 30px 20px;
    }

    .js-guest-container.full-width {
        max-width: 100%;
    }
}

.js-auth-card {
    width: 100%;
}

/* Auth Card - Glass Morphism */
.js-auth-card {
    background: rgba(255, 255, 255, 0.12) !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 40px 35px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.js-auth-card .js-auth-title {
    font-size: 28px;
    font-weight: 700;
    font-style: italic;
    color: var(--js-text-white);
    margin-bottom: 8px;
    text-align: center;
}

.js-auth-card .js-auth-subtitle {
    font-size: 14px;
    color: var(--js-text-gray);
    margin-bottom: 30px;
    text-align: center;
}

/* Form Elements */
.js-form-group {
    margin-bottom: 20px;
}

.js-form-label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--js-text-light);
    margin-bottom: 8px;
}

/* Label row with forgot password link */
.js-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.js-label-row .js-form-label {
    margin-bottom: 0;
}

.js-forgot-link {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
}

.js-forgot-link:hover {
    text-decoration: underline;
    color: var(--js-text-white);
}

/* Two column form row */
.js-form-row-half {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 0;
}

.js-form-row-half .js-form-group {
    margin-bottom: 20px;
}

.js-form-row-half .js-input-wrapper {
    min-width: 0;
}

.js-form-row-half .js-input-wrapper input {
    min-width: 0;
    width: 100%;
}

.js-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(100, 80, 160, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.js-input-wrapper:focus-within {
    border-color: var(--js-accent-blue);
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.15);
}

.js-input-wrapper .js-input-icon {
    padding: 0 15px;
    color: var(--js-text-gray);
    font-size: 16px;
}

.js-input-wrapper input {
    flex: 1;
    background: transparent !important;
    border: none;
    outline: none;
    padding: 14px 15px 14px 0;
    font-size: 14px;
    color: var(--js-text-white) !important;
    font-family: var(--js-font-family);
    -webkit-text-fill-color: var(--js-text-white) !important;
}

/* Remove browser autofill background */
.js-input-wrapper input:-webkit-autofill,
.js-input-wrapper input:-webkit-autofill:hover,
.js-input-wrapper input:-webkit-autofill:focus,
.js-input-wrapper input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px rgba(255, 255, 255, 0.1) inset !important;
    -webkit-text-fill-color: var(--js-text-white) !important;
    background-color: transparent !important;
    transition: background-color 5000s ease-in-out 0s;
}

.js-input-wrapper input::placeholder {
    color: rgba(255, 255, 255, 0.5);
    -webkit-text-fill-color: rgba(255, 255, 255, 0.5);
}

.js-input-wrapper .js-input-action {
    padding-right: 15px;
}

.js-input-wrapper .js-input-action a {
    font-size: 12px;
    color: var(--js-link-color);
    text-decoration: none;
    white-space: nowrap;
}

.js-input-wrapper .js-input-action a:hover {
    text-decoration: underline;
}

/* Checkbox */
.js-checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
}

.js-checkbox-wrapper input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--js-btn-pink);
    cursor: pointer;
}

.js-checkbox-wrapper label {
    font-size: 13px;
    color: var(--js-text-gray);
    cursor: pointer;
}

/* Buttons */
.js-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--js-font-family);
    text-decoration: none;
}

.js-btn-primary {
    width: 100%;
    background: linear-gradient(135deg, #d946ef 0%, #ec4899 100%);
    color: var(--js-text-white);
}

.js-btn-primary:hover {
    background: linear-gradient(135deg, #c026d3 0%, #db2777 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(217, 70, 239, 0.4);
}

.js-btn-secondary {
    background: var(--js-input-bg);
    color: var(--js-text-white);
    border: 1px solid var(--js-input-border);
}

.js-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
}

.js-btn-outline {
    background: transparent;
    color: var(--js-text-white);
    border: 2px solid var(--js-btn-pink);
}

.js-btn-outline:hover {
    background: var(--js-btn-pink);
}

/* Auth Footer Links */
.js-auth-footer {
    text-align: center;
    margin-top: 25px;
    font-size: 14px;
    color: var(--js-text-gray);
}

.js-auth-footer a {
    color: var(--js-text-white);
    font-weight: 600;
    text-decoration: underline;
}

.js-auth-footer a:hover {
    color: var(--js-accent-blue);
}

/* Guest Page Footer */
.js-guest-footer {
    text-align: center;
    margin-top: 30px;
    padding: 20px 0 0 0;
}

.js-guest-footer p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
}

.js-footer-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.js-footer-links a {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.2s ease;
}

.js-footer-links a:hover {
    color: var(--js-text-white);
}

.js-footer-links span {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
}

/* =====================================================
   APP LAYOUT (Logged In - Header)
   ===================================================== */

.js-candidate-wrapper {
    min-height: 100vh;
    background: linear-gradient(90deg, #6a11cb 0%, #2575fc 100%);
}

/* Header */
.js-header {
    padding: 10px 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: transparent;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

/* Header Left - Logo + Nav together */
.js-header-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.js-header-logo img {
    height: 28px;
}

.js-header-logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

/* Container for the pills */
.js-header-nav {
    display: flex;
    background: rgba(255, 255, 255, 0.15); /* Semi-transparent background */
    padding: 4px;
    border-radius: 50px; /* Pill shape container */
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: fit-content;
}

/* Individual Pill Buttons (Normal State - Not Active) */
.js-nav-pill {
    text-decoration: none;
    /* Isse greyish effect aayega purple background par */
    color: rgba(255, 255, 255, 0.7);
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
}

/* Hover Effect (Thoda bright ho jaye hover par) */
.js-nav-pill:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff; /* Hover par text white ho jaye */
}

/* Active State (Jo button selected hai - Full White) */
.js-nav-pill.active {
    background: rgba(255, 255, 255, 0.3);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    color: #ffffff; /* Selected hone par full white */
    font-weight: 700;
}


/* Container styling for right side */
.js-header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Find Jobs Link (Pill Style) */
.js-header-link {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.7); /* Non-active/Greyish look */
    padding: 6px 18px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.15);
    font-size: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.js-header-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.25);
}

/* Upload Resume Button (Solid Blue as per image) */
.js-header-btn-upload {
    text-decoration: none;
    background: #00AEEF; /* Bright blue color from image */
    color: #ffffff;
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0, 174, 239, 0.3);
    transition: transform 0.2s ease;
}

.js-header-btn-upload:hover {
    transform: translateY(-1px);
    filter: brightness(1.1);
}

/* User Info Styling */
.js-user-info {
    text-align: right;
    margin-right: 10px;
}

.js-user-name {
    display: block;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
}

.js-user-role {
    display: block;
    color: rgba(255, 255, 255, 0.6); /* Greyish sub-text */
    font-size: 10px;
}

/* Avatar Circle */
.js-user-avatar {
    width: 35px;
    height: 35px;
    background: #E2D9C2; /* Beige color from image */
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 700;
    font-size: 12px;
}

/* Help Icon Styling */
.js-header-help-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 18px;
    cursor: pointer;
    padding: 0;
    margin-left: 5px;
}

/* User Dropdown */
.js-user-dropdown {
    position: relative;
    border-left: 1px solid rgba(255, 255, 255, 0.4);
}

.js-user-trigger {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.js-user-trigger:hover {
    background: rgba(255, 255, 255, 0.1);
}

.js-user-info {
    text-align: right;
}

.js-user-name {
    font-size: 12px;
    font-weight: 600;
    color: var(--js-text-white);
    display: block;
}

.js-user-role {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.7);
    display: block;
}

.js-dropdown-arrow {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    transition: transform 0.3s ease;
}

.js-user-dropdown:hover .js-dropdown-arrow {
    transform: rotate(180deg);
}

/* User Dropdown Menu */
.js-user-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    min-width: 180px;
    background: rgba(45, 36, 85, 0.98);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    overflow: hidden;
}

.js-user-dropdown:hover .js-user-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.js-dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    color: var(--js-text-light);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease;
}

.js-dropdown-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--js-text-white);
}

.js-dropdown-item i {
    font-size: 16px;
    width: 18px;
    text-align: center;
}

/* =====================================================
   MAIN CONTENT AREA
   ===================================================== */

.js-main-content {
    padding: 20px 30px 40px;
}

/* Page Header */
.js-page-header {
    text-align: center;
    margin-bottom: 40px;
}

.js-page-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--js-text-white);
    margin-bottom: 8px;
}

.js-page-subtitle {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

/* Content Cards */
.js-card {
    background: var(--js-card-bg);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.js-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}

.js-card-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--js-text-white);
    display: flex;
    align-items: center;
    gap: 10px;
}

.js-card-title i {
    color: var(--js-accent-blue);
}

/* =====================================================
   UPLOAD RESUME PAGE
   ===================================================== */

.js-upload-page {
    max-width: 700px;
    margin: 0 auto;
    padding: 40px 20px;
}

.js-upload-header {
    text-align: center;
    margin-bottom: 40px;
}

.js-upload-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--js-text-white);
    margin-bottom: 8px;
}

.js-upload-subtitle {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.js-upload-container {
    max-width: 600px;
    margin: 0 auto;
}

.js-upload-dropzone {
    border: 2px dashed rgba(255, 255, 255, 0.25);
    border-radius: 16px;
    padding: 50px 40px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.05);
}

.js-upload-dropzone:hover,
.js-upload-dropzone.dragover {
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.08);
}

.js-upload-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
    color: rgba(255, 255, 255, 0.7);
}

.js-dropzone-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--js-text-white);
    margin-bottom: 8px;
}

.js-dropzone-text {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 8px;
}

.js-dropzone-formats {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
}

.js-btn-upload {
    background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
    color: var(--js-text-white);
    padding: 10px 30px;
    font-size: 12px;
    font-weight: 600;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.js-btn-upload:hover {
    background: linear-gradient(135deg, #7c3aed 0%, #4f46e5 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.3);
}

.js-upload-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin-top: 30px;
}

.js-status-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

.js-status-item i {
    color: var(--js-success);
    font-size: 12px;
}

/* =====================================================
   JOB SEARCH PAGE
   ===================================================== */

.js-job-search-page {
    max-width: 650px;
    margin: 0 auto;
    padding: 40px 20px;
}

.js-search-header {
    text-align: center;
    margin-bottom: 30px;
}

.js-search-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--js-text-white);
    margin-bottom: 8px;
}

.js-search-subtitle {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

/* Search Card */
.js-search-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 25px 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.js-search-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.js-search-row-full {
    grid-template-columns: 1fr;
}

.js-search-field {
    display: flex;
    flex-direction: column;
}

.js-search-field-full {
    width: 100%;
}

.js-search-label {
    font-size: 12px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.js-search-label i {
    font-size: 12px;
}

.js-search-input,
.js-search-select {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 12px;
    color: var(--js-text-white);
    font-family: var(--js-font-family);
    transition: all 0.3s ease;
}

.js-search-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.js-search-input:focus,
.js-search-select:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.15);
}

.js-search-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 35px;
}

.js-search-select option {
    background: #2d2455;
    color: var(--js-text-white);
}

/* Experience Slider */
.js-slider-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.js-range-slider {
    flex: 1;
    -webkit-appearance: none;
    appearance: none;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    outline: none;
}

.js-range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    background: var(--js-text-white);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.js-range-slider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    background: var(--js-text-white);
    border-radius: 50%;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.js-slider-value {
    font-size: 12px;
    font-weight: 600;
    color: #00AEEF;
    min-width: 70px;
    text-align: right;
}

/* Skills Section */
.js-skills-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.js-skills-input-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 8px 12px;
    width: fit-content;
}

.js-skills-input-wrapper i {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

.js-skills-dropdown {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    font-family: var(--js-font-family);
    cursor: pointer;
    outline: none;
}

.js-skills-dropdown option {
    background: #2d2455;
    color: var(--js-text-white);
}

.js-skills-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.js-skill-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(45, 36, 85, 0.9);
    color: var(--js-text-white);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.js-skill-tag i {
    cursor: pointer;
    font-size: 12px;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.js-skill-tag i:hover {
    opacity: 1;
}

/* Submit Button */
.js-search-submit {
    text-align: center;
    margin-top: 25px;
}

.js-btn-search {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
    color: var(--js-text-white);
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--js-font-family);
    transition: all 0.3s ease;
}

.js-btn-search:hover {
    background: linear-gradient(135deg, #7c3aed 0%, #4f46e5 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.3);
}

.js-btn-search i {
    font-size: 14px;
}

/* Footer */
.js-search-footer {
    text-align: center;
    margin-top: 30px;
}

.js-search-footer span {
    font-size: 10px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Responsive */
@media (max-width: 600px) {
    .js-search-row {
        grid-template-columns: 1fr;
    }

    .js-search-card {
        padding: 20px;
    }
}

/* =====================================================
   JOB SEARCH REFINE PAGE
   ===================================================== */

.js-refine-page {
    max-width: 650px;
    margin: 0 auto;
    padding: 30px 20px;
}

.js-refine-header {
    text-align: center;
    margin-bottom: 25px;
}

.js-refine-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 15px;
}

.js-refine-badge i {
    font-size: 12px;
}

.js-refine-title {
    font-size: 16px;
    font-weight: 700;
    color: #10b981;
    margin-bottom: 5px;
}

.js-refine-count {
    font-size: 16px;
    font-weight: 700;
    color: var(--js-text-white);
    margin-bottom: 8px;
}

.js-refine-count span {
    color: #00AEEF;
}

.js-refine-subtitle {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

/* Refine Card */
.js-refine-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 20px 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.js-refine-card-header {
    text-align: center;
    margin-bottom: 20px;
}

.js-refine-card-header span {
    font-size: 10px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

/* Dark Skill Tags for Refine Page */
.js-skill-tag-dark {
    background: rgba(45, 36, 85, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Refine Preferences Button */
.js-refine-preferences {
    margin-top: 20px;
}

.js-btn-refine-pref {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
    color: var(--js-text-white);
    padding: 10px 20px;
    border: none;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--js-font-family);
    transition: all 0.3s ease;
}

.js-btn-refine-pref:hover {
    background: linear-gradient(135deg, #7c3aed 0%, #4f46e5 100%);
    transform: translateY(-1px);
}

.js-btn-refine-pref i {
    font-size: 12px;
}

/* Bottom Actions */
.js-refine-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 25px;
    padding-top: 20px;
}

.js-btn-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(45, 36, 85, 0.9);
    color: var(--js-text-white);
    padding: 10px 18px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.js-btn-back:hover {
    background: rgba(45, 36, 85, 1);
    color: var(--js-text-white);
}

.js-btn-back i {
    font-size: 12px;
}

.js-btn-show-matches {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--js-text-white);
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.js-btn-show-matches:hover {
    background: rgba(255, 255, 255, 0.25);
    color: var(--js-text-white);
}

.js-btn-show-matches i {
    font-size: 12px;
}

/* =====================================================
   PROFILE DATA PAGE (Resume vs PDL)
   ===================================================== */

.js-profile-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 25px 20px;
}

.js-profile-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 25px;
}

.js-profile-header-left {
    flex: 1;
}

.js-profile-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--js-text-white);
    margin-bottom: 5px;
}

.js-profile-subtitle {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

.js-profile-header-right {
    display: flex;
    gap: 10px;
}

.js-btn-update-resume {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    color: #00AEEF;
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.js-btn-update-resume:hover {
    background: rgba(0, 174, 239, 0.1);
    color: #00AEEF;
}

.js-btn-export {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--js-text-white);
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.js-btn-export:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--js-text-white);
}

/* Two Column Grid */
.js-profile-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.js-profile-column {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Column Headers */
.js-column-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    height: 50px;
    box-sizing: border-box;
}

.js-column-header i {
    font-size: 16px;
}

.js-column-resume {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border: 2px solid #10b981;
}

.js-column-public {
    background: rgba(0, 174, 239, 0.1);
    color: #00AEEF;
    border: 2px solid #00AEEF;
}

.js-btn-sync {
    margin-left: auto;
    background: transparent;
    border: none;
    color: #00AEEF;
    cursor: pointer;
    font-size: 14px;
    padding: 4px;
    transition: transform 0.3s ease;
}

.js-btn-sync:hover {
    transform: rotate(180deg);
}

/* Profile Sections */
.js-profile-section {
    background: rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    overflow: hidden;
}

.js-section-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    background: rgba(255, 255, 255, 0.05);
    font-size: 12px;
    font-weight: 600;
    color: var(--js-text-white);
}

.js-section-header i {
    font-size: 14px;
    color: #00AEEF;
}

.js-section-content {
    padding: 15px 18px;
}

/* Info Rows */
.js-info-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.js-info-row:last-child {
    border-bottom: none;
}

.js-info-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

.js-info-label i {
    font-size: 12px;
}

.js-info-value {
    font-size: 12px;
    font-weight: 500;
    color: var(--js-text-white);
}

.js-info-muted {
    color: rgba(255, 255, 255, 0.4);
    font-style: italic;
}

.js-info-link {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: #00AEEF;
    text-decoration: none;
}

.js-info-link:hover {
    text-decoration: underline;
}

.js-info-link i {
    font-size: 10px;
}

/* Subsections */
.js-subsection {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.js-subsection-label {
    font-size: 10px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 1px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.js-subsection .js-info-row {
    padding: 10px 0;
}

.js-subsection .js-info-row:first-of-type {
    padding-top: 0;
}

/* Skills List */
.js-skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.js-skill-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    color: var(--js-text-white);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 500;
}

/* Experience Items */
.js-experience-item {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.js-experience-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.js-exp-title {
    font-size: 12px;
    font-weight: 600;
    color: var(--js-text-white);
    margin-bottom: 3px;
}

.js-exp-company {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2px;
}

.js-exp-duration {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.5);
}

/* Education Items */
.js-education-item {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.js-education-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.js-edu-degree {
    font-size: 12px;
    font-weight: 600;
    color: var(--js-text-white);
    margin-bottom: 3px;
}

.js-edu-school {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2px;
}

.js-edu-year {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.5);
}

/* Profile Footer */
.js-profile-footer {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
}

.js-profile-footer span {
    font-size: 10px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.3);
    letter-spacing: 2px;
}

/* Responsive */
@media (max-width: 900px) {
    .js-profile-grid {
        grid-template-columns: 1fr;
    }

    .js-profile-header {
        flex-direction: column;
        gap: 15px;
    }

    .js-profile-header-right {
        width: 100%;
        justify-content: flex-end;
    }
}

.js-data-column-header {
    padding: 20px 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    font-weight: 600;
    color: var(--js-text-white);
}

.js-data-column-header i {
    font-size: 20px;
}

.js-data-column-header.resume {
    background: rgba(16, 185, 129, 0.15);
}

.js-data-column-header.resume i {
    color: #10b981;
}

.js-data-column-header.pdl {
    background: rgba(56, 189, 248, 0.15);
}

.js-data-column-header.pdl i {
    color: #38bdf8;
}

.js-data-section {
    padding: 20px 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.js-data-section:last-child {
    border-bottom: none;
}

.js-data-section-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--js-text-white);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.js-data-section-title i {
    color: var(--js-accent-blue);
    font-size: 16px;
}

.js-data-row {
    display: flex;
    align-items: flex-start;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.js-data-row:last-child {
    border-bottom: none;
}

.js-data-label {
    width: 120px;
    font-size: 13px;
    color: var(--js-text-gray);
    display: flex;
    align-items: center;
    gap: 8px;
}

.js-data-label i {
    font-size: 14px;
}

.js-data-value {
    flex: 1;
    font-size: 13px;
    color: var(--js-text-white);
    text-align: right;
}

.js-data-value a {
    color: var(--js-link-color);
    text-decoration: none;
}

.js-data-value a:hover {
    text-decoration: underline;
}

/* Skills Tags */
.js-skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.js-skill-tag {
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    font-size: 12px;
    color: var(--js-text-light);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.js-skill-tag.highlight {
    background: rgba(217, 70, 239, 0.2);
    border-color: rgba(217, 70, 239, 0.4);
    color: #f0abfc;
}

/* =====================================================
   JOB SEARCH PAGE
   ===================================================== */

.js-search-container {
    max-width: 700px;
    margin: 0 auto;
}

.js-search-form-card {
    background: var(--js-card-bg);
    border-radius: 20px;
    padding: 40px;
}

.js-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.js-form-row.single {
    grid-template-columns: 1fr;
}

/* Range Slider */
.js-range-wrapper {
    margin-top: 10px;
}

.js-range-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.js-range-value {
    color: var(--js-accent-blue);
    font-weight: 600;
}

.js-range-slider {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.2);
    outline: none;
    -webkit-appearance: none;
}

.js-range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--js-text-white);
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Selected Skills */
.js-selected-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.js-selected-skill {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(56, 189, 248, 0.2);
    border-radius: 20px;
    font-size: 13px;
    color: var(--js-text-white);
    border: 1px solid rgba(56, 189, 248, 0.4);
}

.js-selected-skill .remove {
    cursor: pointer;
    opacity: 0.7;
}

.js-selected-skill .remove:hover {
    opacity: 1;
}

/* Search Results Count */
.js-results-banner {
    text-align: center;
    padding: 30px;
    margin-bottom: 30px;
}

.js-results-banner .check-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: #10b981;
    font-size: 24px;
}

.js-results-banner h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--js-text-white);
    margin-bottom: 5px;
}

.js-results-banner .count {
    color: var(--js-accent-blue);
}

.js-results-banner p {
    color: var(--js-text-gray);
}

/* =====================================================
   JOB RESULTS PAGE
   ===================================================== */

.js-results-container {
    max-width: 1000px;
    margin: 0 auto;
}

.js-job-card {
    background: var(--js-card-bg);
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 20px;
    display: flex;
    gap: 20px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.js-job-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.js-job-score {
    width: 70px;
    text-align: center;
}

.js-score-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    color: var(--js-text-white);
    margin-bottom: 5px;
}

.js-score-label {
    font-size: 11px;
    color: var(--js-text-gray);
}

.js-job-content {
    flex: 1;
}

.js-job-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--js-text-white);
    margin-bottom: 5px;
}

.js-job-company {
    font-size: 14px;
    color: var(--js-text-gray);
    margin-bottom: 12px;
}

.js-job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
}

.js-job-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--js-text-gray);
}

.js-job-meta-item i {
    color: var(--js-accent-blue);
}

.js-job-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.js-job-link {
    color: var(--js-link-color);
    text-decoration: none;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.js-job-link:hover {
    text-decoration: underline;
}

.js-save-btn {
    background: none;
    border: none;
    color: var(--js-text-gray);
    font-size: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.js-save-btn:hover,
.js-save-btn.saved {
    color: var(--js-btn-pink);
}

/* =====================================================
   JOB RESULTS PAGE - NEW LAYOUT
   ===================================================== */

.js-results-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 25px 20px;
}

/* Page Header */
.js-results-page-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 15px;
}

.js-results-page-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--js-text-white);
    margin-bottom: 5px;
}

.js-results-page-subtitle {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

.js-results-filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.js-filter-dropdown {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.3s ease;
}

.js-filter-dropdown:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.25);
}

.js-filter-dropdown i {
    font-size: 10px;
    opacity: 0.7;
}

/* Two Column Layout */
.js-results-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 25px;
    align-items: start;
}

/* Left Column - Job Cards */
.js-results-left {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Job Result Card */
.js-result-card {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px;
    transition: all 0.3s ease;
}

.js-result-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.js-result-card-left {
    flex-shrink: 0;
}

.js-result-company-logo {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: rgba(255, 255, 255, 0.7);
}

.js-result-company-logo span {
    font-weight: 700;
    font-size: 14px;
}

.js-result-company-logo.js-logo-dark {
    background: #1a1a2e;
    color: var(--js-text-white);
}

.js-result-company-logo.js-logo-gradient {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: var(--js-text-white);
}

.js-result-company-logo.js-logo-blue {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: var(--js-text-white);
}

.js-result-card-center {
    flex: 1;
    min-width: 0;
}

.js-result-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 6px;
}

.js-result-job-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--js-text-white);
    margin: 0;
}

.js-btn-bookmark {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    font-size: 16px;
    padding: 0;
    transition: all 0.2s ease;
}

.js-btn-bookmark:hover,
.js-btn-bookmark.saved {
    color: #d946ef;
}

.js-result-company-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
}

.js-result-company {
    font-weight: 500;
}

.js-result-separator {
    opacity: 0.5;
}

.js-result-location {
    display: flex;
    align-items: center;
    gap: 4px;
}

.js-result-location i {
    font-size: 11px;
}

.js-result-description {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
    margin-bottom: 10px;
}

.js-result-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.js-result-tag {
    background: rgba(99, 102, 241, 0.2);
    border: 1px solid rgba(99, 102, 241, 0.3);
    color: #a5b4fc;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 500;
}

.js-result-card-right {
    flex-shrink: 0;
}

.js-result-score {
    width: 65px;
    height: 65px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.js-result-score .js-score-label {
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.5px;
    opacity: 0.9;
    margin-bottom: 2px;
}

.js-result-score .js-score-value {
    font-size: 18px;
    font-weight: 700;
}

.js-score-excellent {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: var(--js-text-white);
}

.js-score-good {
    background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
    color: var(--js-text-white);
}

.js-score-medium {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: var(--js-text-white);
}

/* Right Column - Sidebar */
.js-results-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: 20px;
}

/* Resume Tuning Card */
.js-tuning-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px;
}

.js-tuning-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.js-tuning-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    display: flex;
    align-items: center;
    justify-content: center;
}

.js-tuning-icon i {
    font-size: 18px;
    color: var(--js-text-white);
}

.js-tuning-title h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--js-text-white);
    margin: 0 0 2px 0;
}

.js-tuning-title p {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

.js-tuning-subtitle {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
    margin-bottom: 15px;
}

.js-tuning-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.js-tuning-skill {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.8);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 500;
}

.js-btn-resync {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: transparent;
    border: 2px solid rgba(99, 102, 241, 0.5);
    color: #a5b4fc;
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--js-font-family);
    transition: all 0.3s ease;
}

.js-btn-resync:hover {
    background: rgba(99, 102, 241, 0.2);
    border-color: rgba(99, 102, 241, 0.7);
}

/* Market Insights Card */
.js-insights-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px;
}

.js-insights-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.js-insights-card-header h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--js-text-white);
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.js-insights-card-header h4 i {
    color: #10b981;
}

.js-insights-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 600;
}

.js-insights-section {
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.js-insights-section:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.js-insights-section:first-of-type {
    padding-top: 0;
}

.js-insights-section-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    font-size: 12px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
}

.js-insights-emoji {
    font-size: 16px;
}

.js-salary-info {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 10px;
}

.js-salary-main {
    font-size: 20px;
    font-weight: 700;
    color: var(--js-text-white);
}

.js-salary-sub {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
}

.js-salary-bar {
    height: 6px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 3px;
    margin-bottom: 8px;
}

.js-salary-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #10b981, #059669);
    border-radius: 3px;
}

.js-salary-range {
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.5);
}

.js-col-info {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 8px;
}

.js-col-index {
    font-size: 24px;
    font-weight: 700;
    color: #60a5fa;
}

.js-col-vs {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
}

.js-col-note {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
}

.js-trend-text {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
}


/* Load More */
.js-load-more {
    text-align: center;
    margin-top: 20px;
}

.js-btn-load-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--js-text-white);
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    font-family: var(--js-font-family);
    transition: all 0.3s ease;
}

.js-btn-load-more:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Responsive - Job Results */
@media (max-width: 992px) {
    .js-results-layout {
        grid-template-columns: 1fr;
    }

    .js-results-right {
        position: static;
        order: -1;
    }
}

@media (max-width: 768px) {
    .js-results-page-header {
        flex-direction: column;
    }

    .js-result-card {
        flex-direction: column;
    }

    .js-result-card-left {
        display: none;
    }

    .js-result-card-right {
        align-self: flex-end;
    }
}

/* =====================================================
   TOAST NOTIFICATIONS / ALERTS
   ===================================================== */

.js-toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 400px;
}

.js-toast {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 20px;
    border-radius: 12px;
    backdrop-filter: blur(20px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: js-toast-slide-in 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.js-toast::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: currentColor;
    animation: js-toast-progress 5s linear forwards;
}

@keyframes js-toast-slide-in {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes js-toast-slide-out {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(100%);
    }
}

@keyframes js-toast-progress {
    from { width: 100%; }
    to { width: 0%; }
}

.js-toast-success {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.95), rgba(5, 150, 105, 0.95));
    border: 1px solid rgba(16, 185, 129, 0.5);
    color: #ffffff;
}

.js-toast-error {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.95), rgba(185, 28, 28, 0.95));
    border: 1px solid rgba(239, 68, 68, 0.5);
    color: #ffffff;
}

.js-toast-warning {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.95), rgba(217, 119, 6, 0.95));
    border: 1px solid rgba(245, 158, 11, 0.5);
    color: #ffffff;
}

.js-toast-info {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.95), rgba(79, 70, 229, 0.95));
    border: 1px solid rgba(99, 102, 241, 0.5);
    color: #ffffff;
}

.js-toast-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.js-toast-icon i {
    font-size: 14px;
}

.js-toast-content {
    flex: 1;
    min-width: 0;
}

.js-toast-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 2px;
}

.js-toast-message {
    font-size: 13px;
    opacity: 0.9;
    line-height: 1.4;
}

.js-toast-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    padding: 0;
    font-size: 18px;
    line-height: 1;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.js-toast-close:hover {
    color: #ffffff;
    transform: scale(1.1);
}

/* Inline Alerts (for forms) */
.js-alert {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-radius: 10px;
    font-size: 13px;
    margin-bottom: 20px;
    animation: js-alert-fade-in 0.3s ease;
}

@keyframes js-alert-fade-in {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.js-alert i {
    font-size: 18px;
    flex-shrink: 0;
}

.js-alert-success {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(16, 185, 129, 0.08));
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.js-alert-error {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15), rgba(239, 68, 68, 0.08));
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.js-alert-warning {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(245, 158, 11, 0.08));
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.js-alert-info {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(99, 102, 241, 0.08));
    color: #818cf8;
    border: 1px solid rgba(99, 102, 241, 0.3);
}

/* Responsive Toasts */
@media (max-width: 480px) {
    .js-toast-container {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }

    .js-toast {
        padding: 14px 16px;
    }
}

/* =====================================================
   LOADER
   ===================================================== */

#js-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    backdrop-filter: blur(5px);
}

.js-loader-content {
    text-align: center;
}

/* =====================================================
   UTILITIES
   ===================================================== */

.js-text-center { text-align: center; }
.js-text-right { text-align: right; }
.js-text-left { text-align: left; }

.js-mt-10 { margin-top: 10px; }
.js-mt-20 { margin-top: 20px; }
.js-mt-30 { margin-top: 30px; }
.js-mb-10 { margin-bottom: 10px; }
.js-mb-20 { margin-bottom: 20px; }
.js-mb-30 { margin-bottom: 30px; }

.js-text-success { color: var(--js-success); }
.js-text-error { color: var(--js-error); }
.js-text-muted { color: var(--js-text-gray); }

/* =====================================================
   RESPONSIVE
   ===================================================== */

@media (max-width: 992px) {
    .js-comparison-grid {
        grid-template-columns: 1fr;
    }

    .js-form-row {
        grid-template-columns: 1fr;
    }

    .js-header {
        flex-wrap: wrap;
        gap: 15px;
    }

    .js-header-nav {
        order: 3;
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .js-auth-card {
        padding: 30px 25px;
    }

    .js-page-title {
        font-size: 28px;
    }

    .js-header {
        padding: 15px 20px;
    }

    .js-main-content {
        padding: 20px;
    }

    .js-job-card {
        flex-direction: column;
    }

    .js-job-score {
        width: 100%;
        display: flex;
        align-items: center;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .js-nav-btn {
        padding: 8px 15px;
        font-size: 13px;
    }

    .js-user-info {
        display: none;
    }

    .js-upload-footer {
        flex-direction: column;
        gap: 15px;
    }
}
