@keyframes saveBtnSpin {
    to { transform: rotate(360deg); }
}

/* ===================== GLASSMORPHISM NAV ===================== */
.glass-header {
    position: relative;
    padding-bottom: 0;
}

.glass-header .glass-bg {
    background: #ffffff;
    padding: 8px 40px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.glass-header .glass-nav {
    background: #ffffff;
    border-radius: 0;
    padding: 10px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: "gordita", sans-serif;
    border: none;
    box-shadow: none;
}

.glass-header .glass-logo img {
    height: 34px;
    width: auto;
}

.glass-header .glass-nav ul.glass-links {
    display: flex;
    align-items: center;
    gap: 2px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.glass-header .glass-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-body);
    padding: 8px 12px;
    border-radius: 10px;
    transition: all 0.2s;
    white-space: nowrap;
    text-decoration: none;
}

.glass-header .glass-links a:hover {
    background: var(--primary4);
    color: var(--primary0);
    text-decoration: none;
}

.glass-header .glass-links a.active-item {
    background: var(--primary4);
    color: var(--primary0);
    font-weight: 600;
}

.glass-header .glass-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.glass-header .glass-dash {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-body);
    padding: 8px 14px;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: transparent;
    transition: all 0.2s;
    text-decoration: none;
    white-space: nowrap;
}

.glass-header .glass-dash:hover {
    background: var(--primary4);
    color: var(--primary0);
    text-decoration: none;
}

.glass-header .glass-cta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    background: var(--primary0);
    border: none;
    border-radius: 10px;
    padding: 8px 18px;
    cursor: pointer;
    font-family: "gordita", sans-serif;
    transition: all 0.2s;
}

.glass-header .glass-cta:hover {
    box-shadow: 0 4px 16px rgba(38, 92, 255, 0.35);
}

.glass-header .glass-cta img.glass-login-icon {
    height: 16px;
    width: auto;
    filter: brightness(0) invert(1);
}

.glass-header .glass-cta.icon-only {
    padding: 8px 12px;
    border-radius: 10px;
}

.glass-header .glass-cta.icon-only img.glass-login-icon {
    height: 18px;
}

/* Auth state: show logged-out, hide logged-in by default */
.glass-header .glass-auth--out {
    display: flex;
    align-items: center;
    gap: 10px;
}

.glass-header .glass-auth--in {
    display: none !important;
}

.glass-lang-wrapper {
    position: relative;
}

.glass-header .glass-lang-btn {
    appearance: none;
    -webkit-appearance: none;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 10px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-body);
    cursor: pointer;
    font-family: "gordita", sans-serif;
    display: flex;
    align-items: center;
    gap: 4px;
}

.glass-lang-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    background: #ffffff;
    border: 1px solid #e6edf7;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.10);
    min-width: 80px;
    z-index: 100;
    overflow: hidden;
}

.glass-lang-dropdown.is-open {
    display: block;
}

.glass-lang-option {
    display: block;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-body);
    text-decoration: none;
    text-align: center;
    transition: background 0.15s;
}

.glass-lang-option:hover {
    background: var(--primary4);
    color: var(--primary0);
    text-decoration: none;
}

.glass-lang-option.active {
    color: var(--primary0);
    font-weight: 600;
}

/* --- Mobile collapsed bar --- */
.glass-mobile-bar {
    display: none;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.glass-mobile-bar .glass-logo img {
    height: 34px;
    width: auto;
}

.glass-hamburger {
    appearance: none;
    -webkit-appearance: none;
    background: none;
    border: none;
    padding: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- Mobile overlay --- */
.glass-mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 12px 20px 24px;
    overflow-y: auto;
    animation: glassSlideDown 0.25s ease;
}

@keyframes glassSlideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.glass-mobile-overlay.is-open {
    display: flex;
}

.glass-mobile-overlay__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.glass-mobile-overlay__header .glass-logo img {
    height: 34px;
    width: auto;
}

.glass-mobile-overlay__links {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.glass-mobile-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 8px;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-body);
    text-decoration: none;
    border-radius: 10px;
    transition: background 0.2s;
}

.glass-mobile-link:hover {
    background: var(--primary4);
    text-decoration: none;
    color: var(--primary0);
}

.glass-mobile-link.active-item {
    color: var(--primary0);
    font-weight: 600;
}

.glass-mobile-link svg {
    flex-shrink: 0;
}

.glass-mobile-divider {
    border: none;
    border-top: 1px solid #eef2f7;
    margin: 16px 8px;
}

.glass-mobile-overlay__actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 0 8px;
}

/* Mobile auth groups */
.glass-mobile-overlay .glass-mobile-auth {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 14px;
    width: 100%;
}

.glass-mobile-overlay .glass-mobile-auth--in {
    display: none !important;
}

.glass-mobile-signup-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    padding: 14px 0;
    border: 1.5px solid rgba(0, 0, 0, 0.10);
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-body);
    text-decoration: none;
    text-align: center;
    transition: all 0.2s;
}

.glass-mobile-registration {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-body);
    text-decoration: none;
    text-align: center;
}

.glass-mobile-login-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 0;
    background: var(--primary0);
    color: #ffffff;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: box-shadow 0.2s;
}

.glass-mobile-login-btn:hover {
    color: #fff;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(38, 92, 255, 0.35);
}

.glass-mobile-login-btn img {
    height: 18px;
    width: auto;
    filter: brightness(0) invert(1);
}

.glass-mobile-lang-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-top: 18px;
    background: #f5f7fb;
    border-radius: 12px;
    padding: 6px;
}

.glass-mobile-lang {
    appearance: none;
    -webkit-appearance: none;
    flex: 1;
    padding: 10px 0;
    border: none;
    background: transparent;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-body);
    cursor: pointer;
    border-radius: 8px;
    font-family: "gordita", sans-serif;
    text-align: center;
    transition: all 0.2s;
}

.glass-mobile-lang.active {
    background: #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
    font-weight: 600;
}

@media (max-width: 1399px) {
    .glass-header .glass-links a {
        font-size: 13px;
        padding: 7px 8px;
    }
    .glass-header .glass-dash {
        font-size: 13px;
        padding: 6px 12px;
    }
    .glass-header .glass-cta {
        font-size: 13px;
        padding: 7px 16px;
    }
}

/* Below 992px: hide glass nav, show mobile bar */
@media (max-width: 991px) {
    .glass-header .glass-bg {
        display: none;
    }
    .glass-mobile-bar {
        display: flex;
    }
    .glass-header {
        position: relative;
        width: auto;
        padding-bottom: 0;
    }
}

/* ===================== FOOTER ===================== */
.cp-footer {
    background: #1446D8;
    color: #ffffff;
}

.cp-footer__container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 56px 48px 28px;
}

.cp-footer__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.cp-footer__top-title {
    font-size: 38px;
    font-weight: 700;
    line-height: 1.15;
}

.cp-footer__top-subtitle {
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;
    opacity: 0.8;
}

.cp-footer__register-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    background: #ffffff;
    color: var(--primary0);
    border-radius: 10px;
    border: none;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    white-space: nowrap;
}

.cp-footer__register-btn:hover {
    color: var(--primary0);
    text-decoration: none;
}

.cp-footer__divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    margin: 32px 0;
}

.cp-footer__grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: start;
}

.cp-footer__brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
}

.cp-footer__brand img {
    width: 120px;
    height: auto;
    display: block;
    filter: brightness(0) invert(1);
}

.cp-footer__cols {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 44px;
    max-width: 520px;
}

.cp-footer__col-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
}

.cp-footer__links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cp-footer__link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 13px;
    line-height: 20px;
}

.cp-footer__link:hover {
    color: #ffffff;
    text-decoration: none;
}

.cp-footer__right-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
}

.cp-footer__social {
    display: flex;
    gap: 12px;
    margin-bottom: 26px;
}

.cp-footer__social-link {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.12);
    text-decoration: none;
}

.cp-footer__social-link img {
    width: 16px;
    height: 16px;
    filter: brightness(0) invert(1);
}

.cp-footer__social-link:hover {
    background: rgba(255, 255, 255, 0.22);
    text-decoration: none;
}

.cp-footer__newsletter-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
}

.cp-footer__newsletter-form {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    padding: 8px;
}

.cp-footer__newsletter-input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    color: #ffffff;
    font-size: 13px;
    font-family: "gordita", sans-serif;
    padding: 10px 10px;
}

.cp-footer__newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.72);
}

.cp-footer__newsletter-btn {
    border: none;
    cursor: pointer;
    background: #0B2FB0;
    color: #ffffff;
    font-weight: 700;
    font-size: 13px;
    font-family: "gordita", sans-serif;
    padding: 10px 18px;
    border-radius: 10px;
}

.cp-footer__newsletter-help {
    font-size: 12px;
    line-height: 18px;
    opacity: 0.9;
    margin-top: 10px;
    max-width: 420px;
}

.cp-footer__copyright {
    text-align: center;
    font-size: 11px;
    opacity: 0.75;
    padding-top: 26px;
}

/* Footer responsive */
@media (max-width: 1200px) {
    .cp-footer__container {
        padding: 48px 32px 28px;
    }
}

@media (max-width: 991px) {
    .cp-footer__top {
        flex-direction: column;
        text-align: center;
        gap: 18px;
    }

    .cp-footer__top-title {
        font-size: 28px;
    }

    .cp-footer__grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .cp-footer__container {
        padding: 40px 20px 24px;
    }
}

@media (max-width: 767px) {
    .cp-footer__cols {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
    }
}

@media (max-width: 575px) {
    .cp-footer__top-title {
        font-size: 22px;
    }

    .cp-footer__cols {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* ===========================
   CANDIDATE PROFILE – PAGE
   =========================== */

.candidate-profile-page {
    background-color: #f7f8f9;
    min-height: 100vh;
    padding: 40px 120px;
    overflow-x: hidden;
}

/* ===========================
   HEADER CARD
   =========================== */

.profile-header-card {
    margin: 0;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
    overflow: visible;
}

/* ---------- Blue Banner ---------- */

.profile-banner {
    height: 120px;
    background: linear-gradient(135deg, #265CFF 0%, #1a3fd6 40%, #0024A6 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 40px;
}

/* ---------- Banner Social Icons ---------- */

.banner-social-icons {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    z-index: 2;
}

.banner-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.banner-social-link:hover {
    opacity: 0.8;
}

.banner-social-icon {
    width: 28px;
    height: 28px;
    display: block;
}

/* ---------- Banner Candidate Label (no-social fallback) ---------- */

.banner-candidate-label {
    font-size: 28px;
    font-weight: 700;
    font-style: normal;
    color: #ffffff;
    display: none;
}

/* When social icons wrapper is hidden, show the label */
.banner-social-icons:empty ~ .banner-candidate-label,
.banner-social-icons[hidden] ~ .banner-candidate-label {
    display: block;
}

.banner-candidate-profile-label {
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    position: relative;
    z-index: 2;
}

/* ---------- Body Area ---------- */

.profile-header-body {
    padding: 0 40px 36px;
    position: relative;
}

/* ---------- Avatar ---------- */

.profile-avatar-wrapper {
    position: relative;
    width: 130px;
    height: 130px;
    margin-top: -65px;
    margin-bottom: 16px;
}

.profile-avatar {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    border: 4px solid #ffffff;
    object-fit: cover;
    display: block;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.profile-verified-badge {
    position: absolute;
    bottom: 0;
    right: -4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-verified-icon {
    width: 42px;
    height: 42px;
    display: block;
}

/* ---------- Name Row (name + CTA in one line) ---------- */

.profile-name-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 20px;
}

.profile-name-block {
    flex: 1 1 auto;
    min-width: 0;
}

/* ---------- Name & Title ---------- */

.profile-name {
    font-size: 30px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-header);
    margin-bottom: 4px;
}

.profile-title {
    font-size: 17px;
    font-weight: 500;
    color: var(--primary0);
    margin-bottom: 0;
    line-height: 1.4;
}

/* ---------- Info Pills ---------- */

.profile-info-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.info-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--primary4);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 400;
    color: var(--text-header);
    line-height: 1;
    white-space: nowrap;
}

.pill-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    display: block;
}

/* ---------- Bio ---------- */

.profile-bio {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.7;
    color: var(--text-body);
    margin-bottom: 0;
}

/* ---------- CTA Buttons ---------- */

.profile-cta-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-contact {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--primary0);
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease;
}

.btn-contact:hover {
    background: var(--primary-1);
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #ffffff;
    color: var(--primary0);
    border: 1.5px solid var(--primary3);
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-download:hover {
    background: var(--primary4);
}

.btn-icon {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
}

/* ===========================
   TWO-COLUMN CONTENT LAYOUT
   =========================== */

.profile-content-row {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 24px;
    align-items: flex-start;
}


.profile-col-left {
    flex: 1 1 0;
    min-width: 0;
}

.profile-col-left .profile-card:last-child {
    margin-bottom: 0;
}

.profile-col-right {
    flex: 0 0 340px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-self: flex-start;
}

.profile-col-right .profile-card {
    flex: 0 0 auto;
    margin-bottom: 24px;
}

.profile-col-right .profile-card:last-child {
    margin-bottom: 0;
}

/* ===========================
   CONTACT COLUMN (sits below left col on desktop, before sidebar on mobile)
   =========================== */

.profile-col-contact {
    width: 100%;
    min-width: 0;
}

/* ===========================
   SHARED CARD STYLES
   =========================== */

.profile-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
    padding: 28px 32px;
    margin-bottom: 24px;
}

/* ---------- Card Header ---------- */

.card-header-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.card-header-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.card-header-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-header);
    margin-bottom: 0;
    line-height: 1.3;
}

/* ===========================
   WORK EXPERIENCE CARD
   =========================== */

.experience-entry {
    padding: 20px 0;
    border-top: 1px solid #e5e7eb;
}

.experience-entry:last-child {
    padding-bottom: 0;
}

.experience-top-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 2px;
}

.experience-job-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-header);
    margin-bottom: 0;
    line-height: 1.4;
}

.experience-date-badge {
    display: inline-block;
    padding: 5px 14px;
    background: var(--primary4);
    color: var(--primary0);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    line-height: 1.3;
    flex-shrink: 0;
}

.experience-company {
    font-size: 14px;
    font-weight: 500;
    color: var(--primary0);
    margin-bottom: 10px;
    line-height: 1.4;
}

.experience-duration {
    font-weight: 400;
    color: var(--primary0);
}

.experience-description {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.65;
    color: var(--text-body);
    margin-bottom: 0;
}

/* --- WORK EXPERIENCE EDIT DISPLAY --- */
.experience-view-display {
    display: block;
}

/* When the entry is actively being edited, hide the view mode */
.experience-entry.is-editing .experience-view-display {
    display: none !important;
}

/* Edit form is hidden by default */
.experience-edit-form {
    display: none;
}

/* Show the form only when actively editing */
.experience-entry.is-editing .experience-edit-form {
    display: block;
}

.experience-entry.is-editing .experience-form-content {
    width: 100%;
}

/* Note: Global edit mode (body.edit-mode-active) no longer automatically replaces
   view modes with forms. The user must explicitly click the pencil icon which adds
   .is-editing to the entry. */

.experience-number-badge {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary0);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
    flex-shrink: 0;
}

.experience-date-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.experience-date-text {
    font-size: 13px;
    color: #6b7280;
    font-weight: 500;
}

.experience-date-badge-light {
    display: inline-block;
    padding: 3px 10px;
    background: #f3f4f6;
    color: #4b5563;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 500;
}

.edit-entry-btn {
    margin-top: 12px;
    padding: 6px 16px;
    border: 1px solid #d1d5db;
    background: #fff;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s ease;
}

.edit-entry-btn:hover {
    background: #f9fafb;
    border-color: #9ca3af;
}

/* --- WORK EXPERIENCE INLINE FORM --- */
.experience-edit-form {
    display: none;
}
.experience-edit-form.active {
    display: flex;
    gap: 16px;
    padding-bottom: 24px;
    border-bottom: 1px dashed #e5e7eb;
}

.experience-entry:last-child .experience-edit-form.active {
    border-bottom: none;
    padding-bottom: 0;
}

.experience-form-content {
    flex-grow: 1;
}

.experience-form-content .edit-form-field,
.experience-form-content .edit-form-row {
    margin-bottom: 12px;
}

.form-row-dates {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.date-input-wrapper {
    position: relative;
    display: block;
}

.date-input-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    pointer-events: none;
    opacity: 0.5;
}

.date-input {
    padding-right: 36px;
    cursor: pointer;
    background: #ffffff;
}

.date-input:focus {
    cursor: text;
}

.rich-text-editor {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
    margin-top: 4px;
}

.rich-text-toolbar {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 12px;
    border-bottom: 1px solid #e5e7eb;
    background: transparent;
}

.rt-btn {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    border-radius: 4px;
    color: #4b5563;
    font-size: 14px;
    cursor: pointer;
}
.rt-btn:hover {
    background: #e5e7eb;
    color: #111827;
}

.rt-textarea {
    border: none !important;
    border-radius: 0 !important;
    padding: 12px !important;
    box-shadow: none !important;
    font-size: 14px;
    line-height: 1.5;
    background: #fff;
}
.rt-textarea:focus {
    box-shadow: none !important;
    outline: none;
}

/* TinyMCE editor styling */
.tox-tinymce {
    border: 1px solid #d1d5db !important;
    border-radius: 10px !important;
}

.tinymce-editor {
    width: 100%;
    min-height: 100px;
}

.edit-form-actions-inline {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
}

/* Gray labels for all inline card edit forms (work, education) */
.experience-entry.is-editing .edit-form-label,
.experience-edit-form .edit-form-label {
    color: #4b5563;
    font-weight: 500;
    font-size: 14px;
    margin-bottom: 6px;
}

.edit-btn-save-blue {
    padding: 8px 24px;
    background: var(--primary0);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}
.edit-btn-save-blue:hover {
    background: #004ae0;
}

.edit-btn-cancel-white {
    padding: 8px 24px;
    background: #fff;
    color: #374151;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}
.edit-btn-cancel-white:hover {
    background: #f9fafb;
}

.edit-add-entry-container {
    padding-top: 24px;
    padding-bottom: 8px; /* Added to keep from sticking to bottom */
    text-align: center;
}

.edit-add-entry-divider {
    border: 0;
    border-top: 1px dashed #e5e7eb;
    margin: 0 0 16px 0;
}

.edit-add-entry-container .edit-add-entry-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-header);
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}
.edit-add-entry-container .edit-add-entry-btn:hover {
    background: #f9fafb;
    border-color: #d1d5db;
}

/* --- DELETE TEXT BUTTON (for Education entries) --- */
.edit-btn-delete-text {
    margin-left: auto;
    padding: 6px 16px;
    border: none;
    background: transparent;
    font-size: 14px;
    font-weight: 600;
    color: #dc2626;
    cursor: pointer;
    transition: color 0.2s;
}

.edit-btn-delete-text:hover {
    color: #b91c1c;
}

/* ===========================
   SKILLS EDIT SECTION
   =========================== */

.skills-edit-section {
    padding-top: 4px;
}

.skills-search-row {
    display: flex;
    align-items: center;
    gap: 0;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 0 12px;
    background: #fff;
    transition: border-color 0.2s;
}

.skills-search-row:focus-within {
    border-color: var(--primary0);
}

.skills-search-icon {
    flex-shrink: 0;
}

.skills-search-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 10px 10px;
    font-size: 14px;
    font-family: inherit;
    background: transparent;
    color: var(--text-header);
}

.skills-search-input::placeholder {
    color: #9ca3af;
}

.skills-add-btn {
    position: static !important;
    width: 30px !important;
    height: 30px !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 6px;
    background: #fff !important;
    color: #265CFF;
    cursor: pointer;
    display: flex !important;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 0 !important;
    transition: background 0.2s, border-color 0.2s;
}

.skills-add-btn:hover {
    background: #f0f4ff !important;
    border-color: #265CFF !important;
}

.skills-tags-editable {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 12px;
}

.skill-tag-editable {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: var(--primary0);
    color: #fff;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.3;
}

.skill-tag-remove {
    border: none;
    background: transparent;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.skill-tag-remove:hover {
    opacity: 1;
}

.skills-max-hint {
    display: block;
    padding-top: 8px;
    font-size: 13px;
    color: #9ca3af;
    font-weight: 400;
}

/* ===========================
   LANGUAGES EDIT SECTION
   =========================== */

.languages-edit-mode {
    padding-top: 4px;
}

.language-edit-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}

.language-edit-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.language-edit-select {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    color: var(--text-header);
    background: #fff;
    cursor: pointer;
    transition: border-color 0.2s;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%239ca3af' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px;
    padding-right: 32px;
}

.language-edit-select:focus {
    outline: none;
    border-color: var(--primary0);
}

.language-edit-remove {
    width: 32px;
    height: 32px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    background: #fff;
    color: #6b7280;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.language-edit-remove:hover {
    background: #fef2f2;
    color: #dc2626;
    border-color: #fca5a5;
}

/* ===========================
   ATTACHMENTS EDIT SECTION
   =========================== */

.attachments-edit-mode {
    padding-top: 4px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.attachment-edit-list,
#attachmentEditList {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.attachment-edit-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: #eef2ff;
    border-radius: 8px;
}

.attachment-edit-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-header);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
    max-width: calc(100% - 40px);
}

.attachment-edit-remove {
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 6px;
    background: transparent;
    color: #6b7280;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: color 0.2s;
}

.attachment-edit-remove:hover {
    color: #dc2626;
}

/* Reset Dropzone.js default form styling */
form#attachments.dropzone {
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
    min-height: unset !important;
}
form#attachments.dropzone .dz-message {
    display: none !important;
}

.attachment-dropzone {
    padding: 32px 28px;
    border: 2px dashed #265CFF;
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    margin-bottom: 16px;
    background: #f8faff;
}

.attachment-dropzone:hover,
.attachment-dropzone.dragover {
    border-color: #004ae0;
    background: #eef2ff;
}

.attachment-dropzone-text {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-header);
}

.attachment-dropzone-hint {
    display: block;
    padding-top: 8px;
    font-size: 13px;
    color: #9ca3af;
    font-weight: 400;
    line-height: 1.6;
}

/* ===========================
   SUGGESTED JOBS CARD
   =========================== */

.suggested-job-entry {
    padding: 16px 0;
    border-top: 1px solid #e5e7eb;
}

.suggested-job-entry:last-child {
    padding-bottom: 4px;
}

.suggested-job-company {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-header);
    margin-bottom: 2px;
    line-height: 1.4;
}

.suggested-job-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--primary0);
    margin-bottom: 4px;
    line-height: 1.4;
}

.suggested-job-location {
    font-size: 13px;
    font-weight: 400;
    color: #6b7280;
    margin-bottom: 0;
    line-height: 1.4;
}

/* ===========================
   SKILLS CARD
   =========================== */

.skills-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 0;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
}

.skill-tag {
    display: inline-block;
    padding: 9px 18px;
    background: #f2f4f7;
    color: var(--text-header);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
}

/* ===========================
   LANGUAGES CARD
   =========================== */

.language-entry {
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
    padding: 16px 0;
    border-top: 1px solid #e5e7eb;
}

.language-entry .language-level-badge {
    margin-right: auto;
}

.language-entry:last-child {
    padding-bottom: 0;
}

.language-name {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-header);
    flex: 0 0 100px;
}

/* Language Proficiency Bar */
.language-proficiency-bar {
    display: flex;
    gap: 4px;
    order: 2;
    flex: 0 0 auto;
    justify-content: flex-end;
}

.lang-segment {
    width: 32px;
    height: 6px;
    border-radius: 3px;
    background: #e5e7eb;
    transition: background 0.2s ease;
}

.lang-segment.filled {
    background: var(--primary0);
}

.language-level-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 14px;
    background: var(--primary4);
    color: var(--primary0);
    border: none;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    line-height: 1.3;
    flex: 0 0 auto;
    order: 1;
    box-sizing: border-box;
}

/* ===========================
   ATTACHMENTS CARD
   =========================== */

.attachment-entry {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 0;
    border-top: 1px solid #e5e7eb;
    min-width: 0;
}

.attachment-entry:last-child {
    padding-bottom: 0;
}

.attachment-name {
    font-size: 15px;
    font-weight: 400;
    color: var(--text-header);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
    flex: 0 1 auto;
}

.attachment-download {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    text-decoration: none;
}

.attachment-download img {
    width: 20px;
    height: 20px;
}

/* ===========================
   SOCIAL / SHARE PROFILE CARDS
   =========================== */

.social-icons-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 0;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
}

.social-icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--primary0);
    border-radius: 10px;
    text-decoration: none;
    transition: background 0.2s ease;
}

.social-icon-box:hover {
    background: var(--primary-1);
}

.social-icon-box svg {
    display: block;
}

/* ===========================
   CONTACT CANDIDATE FORM
   =========================== */

.contact-form-card {
    margin-top: 0;
}

.contact-form-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 20px;
    margin-bottom: 24px;
    border-bottom: 1px solid #e5e7eb;
}

.contact-form-header .card-header-row {
    margin-bottom: 0;
}

.contact-form-header .card-header-icon {
    width: 24px;
    height: 24px;
    margin-top: 0;
}

/* ---------- Searchable Country Dropdown ---------- */

.searchable-dropdown {
    position: relative;
}

.searchable-dropdown-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 400;
    color: var(--text-header);
    background: #f9fafb;
    cursor: pointer;
    transition: border-color 0.2s ease;
    user-select: none;
    width: 100%;
}

.searchable-dropdown-trigger:hover,
.searchable-dropdown.open .searchable-dropdown-trigger {
    border-color: var(--primary0);
}

.searchable-dropdown-arrow {
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #6b7280;
    flex-shrink: 0;
    margin-left: 8px;
    transition: transform 0.2s ease;
}

.searchable-dropdown.open .searchable-dropdown-arrow {
    transform: rotate(180deg);
}

.searchable-dropdown-panel {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    z-index: 100;
    display: none;
    overflow: hidden;
}

.searchable-dropdown.open .searchable-dropdown-panel {
    display: block;
}

.searchable-dropdown-search {
    padding: 10px 14px;
    border: none;
    border-bottom: 1px solid #e5e7eb;
    font-size: 14px;
    color: var(--text-header);
    width: 100%;
    outline: none;
    background: #ffffff;
}

.searchable-dropdown-search::placeholder {
    color: #9ca3af;
}

.searchable-dropdown-list {
    max-height: 200px;
    overflow-y: auto;
    padding: 4px 0;
}

.searchable-dropdown-option {
    padding: 10px 14px;
    font-size: 14px;
    color: var(--text-header);
    cursor: pointer;
    transition: background 0.15s ease;
}

.searchable-dropdown-option:hover {
    background: var(--primary4);
}

.searchable-dropdown-option.selected {
    background: var(--primary4);
    font-weight: 500;
    color: var(--primary0);
}

.searchable-dropdown-option.hidden {
    display: none;
}

.contact-form-subtitle {
    font-size: 14px;
    font-weight: 400;
    color: #6b7280;
    margin-bottom: 0;
}

.contact-form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.contact-form-row:last-of-type {
    margin-bottom: 0;
}

.contact-form-field {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.contact-form-field-full {
    flex: 1 1 100%;
}

.contact-form-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-header);
    margin-bottom: 8px;
}

.contact-form-input {
    padding: 12px 14px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 400;
    color: var(--text-header);
    background: #f9fafb;
    transition: border-color 0.2s ease;
    outline: none;
    width: 100%;
}

.contact-form-input::placeholder {
    color: #9ca3af;
}

.contact-form-input:focus {
    border-color: var(--primary0);
}

.contact-form-input.input-error {
    border-color: #ef4444;
}

/* Error messages */
.contact-form-error {
    display: none;
    font-size: 12px;
    font-weight: 500;
    color: #ef4444;
    background: #fef2f2;
    padding: 3px 10px;
    border-radius: 4px;
    margin-top: 6px;
    width: fit-content;
}

.contact-form-error.visible {
    display: inline-block;
}

.contact-form-select {
    appearance: none;
    cursor: pointer;
}

.contact-form-select-wrapper {
    position: relative;
}

.contact-form-select-wrapper::after {
    content: '';
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #6b7280;
    pointer-events: none;
}

.contact-form-select-wrapper .contact-form-select {
    padding-right: 36px;
}

.contact-form-prefix {
    background: var(--primary4);
    text-align: center;
    font-weight: 500;
    color: var(--text-header);
    cursor: default;
}

/* Phone row field widths */
.contact-form-row-phone .contact-form-field-email {
    flex: 2;
}

.contact-form-row-phone .contact-form-field-country {
    flex: 1.5;
}

.contact-form-row-phone .contact-form-field-phone {
    flex: 1.5;
}

.contact-phone-wrapper {
    display: flex;
    align-items: center;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.contact-phone-prefix {
    padding: 10px 12px;
    font-size: 14px;
    color: var(--text-header);
    background: #f9fafb;
    border-right: 1px solid #d1d5db;
    white-space: nowrap;
    flex-shrink: 0;
}

.contact-phone-input {
    border: none !important;
    border-radius: 0 !important;
    flex: 1;
    min-width: 0;
}

.contact-phone-input:focus {
    box-shadow: none !important;
}

/* Textarea */
.contact-form-textarea {
    resize: vertical;
    min-height: 100px;
}

/* reCAPTCHA */
.contact-form-captcha {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.captcha-box {
    display: inline-flex;
    align-items: flex-start;
    gap: 24px;
    padding: 14px 18px;
    border: 2px solid #e5e7eb;
    border-radius: 4px;
    background: #f9fafb;
    transition: border-color 0.2s ease;
}

.captcha-box.captcha-error {
    border-color: #ef4444;
}

.captcha-left {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.captcha-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.captcha-checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0;
    cursor: pointer;
}

.captcha-checkbox {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--primary0);
}

.captcha-text {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-header);
}

.captcha-terms {
    font-size: 10px;
    color: #6b7280;
    line-height: 1.4;
    padding-left: 30px;
}

.captcha-logo {
    width: 40px;
    height: 40px;
}

.captcha-links {
    font-size: 9px;
    color: #9ca3af;
}

/* Submit */
.contact-form-submit {
    margin-top: 20px;
    padding: 12px 36px;
    background: var(--primary0);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease;
}

.contact-form-submit:hover {
    background: var(--primary-1);
}

/* ===========================
   VIEW MODE TOGGLE BAR
   =========================== */

.view-mode-bar {
    display: flex;
    justify-content: center;
    padding: 16px 0;
}

.view-mode-tabs {
    display: inline-flex;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    padding: 4px;
    gap: 2px;
}

.view-mode-tab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background: transparent;
    border: none;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    font-family: 'Gordita', sans-serif;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.view-mode-tab:hover {
    background: #f3f4f6;
    color: var(--text-header);
}

.view-mode-tab.active {
    background: var(--primary0);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(38, 92, 255, 0.25);
}

.view-mode-tab svg {
    flex-shrink: 0;
}

/* ===========================
   AVATAR PLACEHOLDER
   =========================== */

.profile-avatar-placeholder {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    border: 4px solid #ffffff;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: none;
    object-fit: cover;
}

.profile-avatar-placeholder svg {
    display: block;
    width: 100%;
    height: 100%;
}

/* ===========================
   SIDEBAR CTA BANNER CARD
   =========================== */

.sidebar-cta-card {
    padding: 0 !important;
    overflow: hidden;
    background: #113DD9;
    color: #ffffff;
}

.sidebar-cta-image {
    width: 100%;
}

.sidebar-cta-image img {
    width: 100%;
    height: auto;
    display: block;
}

.sidebar-cta-body {
    padding: 36px 28px 44px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sidebar-cta-title {
    font-size: 24px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 12px;
    color: #ffffff;
}

.sidebar-cta-subtitle {
    font-size: 15px;
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 24px;
    color: #ffffff;
}

.sidebar-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 160px;
    height: 46px;
    padding: 0 28px;
    background: #ffffff;
    color: #113DD9;
    border: none;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 700;
    font-family: 'Gordita', sans-serif;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease;
}

.sidebar-cta-btn:hover {
    background: #f0f4ff;
    transform: translateY(-1px);
}

/* ===========================
   CONTACT FORM 3-COL ROW
   =========================== */

.contact-form-row-3col {
    display: flex;
    gap: 20px;
}

.contact-form-row-3col .contact-form-field {
    flex: 1;
}

/* ===========================
   WORK EXPERIENCE 2-COL ROW
   =========================== */

.form-row-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* ===========================
   EMPLOYER LOGIN OVERLAY
   =========================== */

.contact-form-card {
    position: relative;
}

.contact-form.blurred {
    filter: blur(6px);
    pointer-events: none;
    user-select: none;
}

.employer-login-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(2px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
    border-radius: 16px;
}

.employer-login-card {
    text-align: center;
    padding: 40px 48px;
    max-width: 480px;
}

.employer-login-icon {
    margin-bottom: 20px;
}

.employer-login-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-header);
    margin-bottom: 8px;
}

.employer-login-text {
    font-size: 15px;
    color: #6b7280;
    margin-bottom: 24px;
    line-height: 1.5;
}

.employer-login-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    background: var(--primary0);
    color: #ffffff;
    border: none;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    font-family: 'Gordita', sans-serif;
    cursor: pointer;
    transition: background 0.2s ease, box-shadow 0.2s ease;
    white-space: nowrap;
}

.employer-login-btn:hover {
    background: var(--primary-1);
    box-shadow: 0 4px 16px rgba(38, 92, 255, 0.3);
}

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

@media (max-width: 768px) {
    .candidate-profile-page {
        padding: 16px 10px;
    }

    .profile-banner {
        height: 100px;
        padding: 0 16px;
        position: relative;
    }

    .banner-social-icons {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        gap: 8px;
    }

    .banner-candidate-label {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        white-space: nowrap;
        font-size: 20px;
    }

    .banner-social-icon {
        width: 22px;
        height: 22px;
    }

    .banner-edit-btn {
        width: 30px;
        height: 30px;
    }

    .profile-header-body {
        padding: 0 16px 24px;
    }

    .edit-header-body {
        padding: 16px 14px 24px;
    }

    .profile-avatar-wrapper {
        width: 80px;
        height: 80px;
        margin-top: -40px;
        margin-bottom: 12px;
    }

    .profile-avatar {
        width: 80px;
        height: 80px;
    }

    .profile-verified-icon {
        width: 32px;
        height: 32px;
    }

    .profile-name-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .profile-name {
        font-size: 22px;
    }

    .profile-title {
        font-size: 14px;
    }

    .profile-info-pills {
        gap: 8px;
    }

    .info-pill {
        padding: 6px 12px;
        font-size: 13px;
    }

    .profile-bio {
        font-size: 14px;
    }

    .profile-content-row {
        flex-direction: column;
        gap: 16px;
    }

    .profile-col-left,
    .profile-col-right {
        flex: 1 1 auto;
        width: 100%;
    }

    .profile-col-right {
        flex: 1 1 auto;
        order: 99;
    }

    .profile-col-contact {
        flex: 1 1 auto;
        max-width: 100%;
        width: 100%;
        order: 50;
    }

    .profile-col-right .profile-card {
        margin-bottom: 16px;
    }

    .profile-card {
        padding: 20px 16px;
        margin-bottom: 16px;
    }

    /* Edit header form collapses to 1 column */
    .edit-form-row {
        grid-template-columns: 1fr !important;
    }

    .edit-form-row-4col,
    .edit-form-row-salary {
        grid-template-columns: 1fr !important;
    }

    /* Inline experience/education date row stacks on mobile */
    .form-row-dates {
        grid-template-columns: 1fr;
    }

    .edit-social-grid {
        grid-template-columns: 1fr !important;
    }

    .experience-top-row {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        gap: 8px;
        margin-bottom: 6px;
    }

    .experience-top-row > h3 {
        flex: 1 1 100%;
    }

    .experience-top-row > div:last-child {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .experience-date-badge {
        font-size: 12px;
        padding: 4px 10px;
    }

    .experience-entry {
        padding: 14px 0;
    }

    .experience-job-title {
        font-size: 15px;
        line-height: 1.3;
        margin-bottom: 0;
    }

    .experience-company {
        font-size: 13px;
        margin-bottom: 6px;
    }

    .experience-description {
        font-size: 13px;
        line-height: 1.55;
    }

    .profile-avatar-placeholder {
        width: 80px;
        height: 80px;
    }

    .language-entry {
        gap: 10px;
    }

    .language-name {
        flex: 0 0 80px;
        font-size: 14px;
    }

    .language-proficiency-bar {
        gap: 3px;
    }

    .lang-segment {
        width: 24px;
        height: 5px;
    }

    .language-level-badge {
        font-size: 11px;
        padding: 3px 10px;
    }

    /* Tooltips: prevent clipping on mobile — anchor all from left */
    .tooltip-box {
        left: -8px !important;
        right: auto !important;
        transform: none !important;
        max-width: min(220px, calc(100vw - 40px));
        font-size: 11px;
    }

    .tooltip-box::after {
        left: 14px !important;
        right: auto !important;
        transform: none !important;
    }

    .view-mode-tabs {
        flex-wrap: wrap;
        justify-content: center;
    }

    .view-mode-tab {
        padding: 8px 14px;
        font-size: 12px;
    }

    .contact-form-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .contact-form-row,
    .contact-form-row-3col {
        flex-direction: column;
        gap: 16px;
    }

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

    .language-proficiency-bar {
        order: 2;
    }

    .contact-form-row-phone {
        flex-direction: column;
    }


    .captcha-box {
        flex-wrap: wrap;
        gap: 12px;
    }

    .social-icons-grid {
        gap: 8px;
    }

    .social-icon-box {
        width: 42px;
        height: 42px;
    }

    .employer-login-card {
        padding: 24px 20px;
    }

    .employer-login-btn {
        padding: 10px 18px;
        font-size: 13px;
        white-space: normal;
        text-align: center;
        line-height: 1.4;
    }
}

@media (max-width: 480px) {
    .candidate-profile-page {
        padding: 12px 8px;
    }

    .profile-header-body {
        padding: 0 12px 20px;
    }

    .profile-cta-row {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .btn-contact,
    .btn-download {
        font-size: 13px;
        padding: 8px 14px;
    }

    .banner-social-icons {
        gap: 6px;
    }

    .banner-social-icon {
        width: 28px;
        height: 28px;
    }

    .profile-name {
        font-size: 20px;
    }

    .card-header-title {
        font-size: 17px;
    }

    .edit-form-actions-inline {
        flex-wrap: wrap;
        gap: 8px;
    }

    .edit-btn-save-blue,
    .edit-btn-cancel-white {
        flex: 1;
        text-align: center;
        justify-content: center;
    }

    .language-name {
        flex: 0 0 70px;
        font-size: 13px;
    }

    .lang-segment {
        width: 18px;
        height: 4px;
    }

    .language-level-badge {
        font-size: 10px;
        padding: 2px 8px;
    }
}

/* ---------- Banner Edit Button ---------- */

.banner-edit-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.18);
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    cursor: pointer;
    margin-left: 16px;
    transition: all 0.2s ease;
    position: relative;
    z-index: 10;
}

.banner-edit-btn:hover {
    background: rgba(255, 255, 255, 0.32);
    border-color: rgba(255, 255, 255, 0.7);
    transform: scale(1.08);
}

/* ===========================
   EDIT STATE
   =========================== */

/* ---------- Edit Header Body ---------- */

.edit-header-body {
    padding: 20px 40px 32px;
}

.edit-avatar-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 8px;
}

/* ---------- Edit Form ---------- */

.edit-header-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.edit-form-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    align-items: start;
}

.edit-form-row-4col {
    grid-template-columns: 1fr 140px 1fr 1fr;
}

.edit-form-row-salary {
    grid-template-columns: 200px 140px auto;
}

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

.edit-form-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    position: relative;
}

.edit-form-field-wide {
    grid-column: span 1;
}

.edit-form-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary0);
    line-height: 1.3;
    display: flex;
    align-items: center;
    gap: 4px;
}

.edit-form-input {
    height: 38px;
    padding: 0 14px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    font-size: 15px;
    font-family: 'Gordita', sans-serif;
    color: var(--text-header);
    background: #ffffff;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    width: 100%;
}

.edit-form-input:focus {
    border-color: var(--primary0);
    box-shadow: 0 0 0 3px rgba(38, 92, 255, 0.08);
}

.edit-form-input::placeholder {
    color: #9ca3af;
    font-weight: 400;
}

.edit-form-textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    font-size: 15px;
    font-family: 'Gordita', sans-serif;
    color: var(--text-header);
    background: #ffffff;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    resize: vertical;
    min-height: 80px;
    line-height: 1.5;
}

.edit-form-textarea:focus {
    border-color: var(--primary0);
    box-shadow: 0 0 0 3px rgba(38, 92, 255, 0.08);
}

.edit-form-textarea::placeholder {
    color: #9ca3af;
    font-weight: 400;
}

/* ---------- Phone Group ---------- */

.edit-phone-group {
    display: flex;
    align-items: stretch;
    gap: 0;
}

.edit-phone-prefix {
    height: 38px;
    min-width: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    background: var(--primary4);
    border: 1px solid #d1d5db;
    border-right: none;
    border-radius: 10px 0 0 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary0);
}

.edit-phone-input {
    border-radius: 0 10px 10px 0 !important;
}

/* ---------- Searchable Dropdown (Edit) ---------- */

.edit-header-form .searchable-dropdown {
    position: relative;
    width: 100%;
}

.edit-header-form .searchable-dropdown-trigger {
    height: 38px;
    padding: 0 14px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    font-size: 15px;
    font-family: 'Gordita', sans-serif;
    color: var(--text-header);
    background: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.edit-header-form .searchable-dropdown.open .searchable-dropdown-trigger {
    border-color: var(--primary0);
    box-shadow: 0 0 0 3px rgba(38, 92, 255, 0.08);
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.edit-header-form .searchable-dropdown-arrow {
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #6b7280;
    transition: transform 0.2s ease;
}

.edit-header-form .searchable-dropdown.open .searchable-dropdown-arrow {
    transform: rotate(180deg);
}

.edit-header-form .searchable-dropdown-panel {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    border: 1px solid var(--primary0);
    border-top: none;
    border-radius: 0 0 10px 10px;
    z-index: 50;
    display: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.edit-header-form .searchable-dropdown.open .searchable-dropdown-panel {
    display: block;
}

.edit-header-form .searchable-dropdown-search {
    width: 100%;
    padding: 10px 14px;
    border: none;
    border-bottom: 1px solid #e5e7eb;
    font-size: 14px;
    font-family: 'Gordita', sans-serif;
    outline: none;
    background: transparent;
}

.edit-header-form .searchable-dropdown-list {
    max-height: 180px;
    overflow-y: auto;
}

.edit-header-form .searchable-dropdown-option {
    padding: 10px 14px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.edit-header-form .searchable-dropdown-option:hover {
    background: var(--primary4);
}

.edit-header-form .searchable-dropdown-option.selected {
    background: var(--primary4);
    font-weight: 600;
    color: var(--primary0);
}

.edit-header-form .searchable-dropdown-option.hidden {
    display: none;
}

/* ---------- Radio Buttons ---------- */

.edit-form-field-radios {
    align-self: end;
}

.edit-salary-radios {
    display: flex;
    align-items: center;
    gap: 16px;
    height: 38px;
}

.edit-radio-label {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    font-size: 14px;
    color: var(--text-body);
    margin-bottom: 0;
}

.edit-radio-input {
    width: 16px;
    height: 16px;
    accent-color: var(--primary0);
    cursor: pointer;
}

.edit-radio-text {
    font-size: 14px;
    font-weight: 400;
}

/* ---------- Action Buttons ---------- */

.edit-form-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 8px;
}

.edit-btn-save {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 32px;
    background: var(--primary0);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    font-family: 'Gordita', sans-serif;
    cursor: pointer;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.edit-btn-save:hover {
    background: var(--primary-1);
    box-shadow: 0 4px 12px rgba(38, 92, 255, 0.3);
}

.edit-btn-discard {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 24px;
    background: transparent;
    color: var(--text-body);
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    font-family: 'Gordita', sans-serif;
    cursor: pointer;
    transition: all 0.2s ease;
}

.edit-btn-discard:hover {
    border-color: #ef4444;
    color: #ef4444;
    background: #fef2f2;
}

/* ---------- Toggle Switch ---------- */

.edit-toggle-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    cursor: pointer;
    margin-bottom: 0;
}

.edit-toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.edit-toggle-slider {
    position: absolute;
    inset: 0;
    background: #d1d5db;
    border-radius: 24px;
    transition: background 0.25s ease;
}

.edit-toggle-slider::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    background: #ffffff;
    border-radius: 50%;
    transition: transform 0.25s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.edit-toggle-switch input:checked + .edit-toggle-slider {
    background: var(--primary0);
}

.edit-toggle-switch input:checked + .edit-toggle-slider::after {
    transform: translateX(20px);
}

/* ---------- Preview Button ---------- */

.edit-btn-preview {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 20px;
    background: transparent;
    color: var(--primary0);
    border: 1.5px solid var(--primary0);
    border-radius: 24px;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Gordita', sans-serif;
    cursor: pointer;
    transition: all 0.2s ease;
}

.edit-btn-preview:hover {
    background: var(--primary4);
}

/* ---------- Section Edit Button (Pencil) ---------- */

.edit-section-edit-btn {
    margin-left: auto;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary4);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.edit-section-edit-btn:hover {
    background: var(--primary3);
    box-shadow: 0 2px 8px rgba(38, 92, 255, 0.15);
}

.edit-section-edit-btn.edit-section-save-btn {
    background: var(--primary0);
    color: #ffffff;
}

.edit-section-edit-btn.edit-section-save-btn:hover {
    background: #004ae0;
}

/* ---------- Edit Entry Button ---------- */

.edit-entry-btn {
    padding: 4px 16px;
    font-size: 13px;
    font-weight: 500;
    font-family: 'Gordita', sans-serif;
    color: var(--primary0);
    background: var(--primary4);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    margin-top: 8px;
    transition: all 0.2s ease;
}

.edit-entry-btn:hover {
    background: var(--primary3);
}

/* ---------- Add Entry Button ---------- */

.edit-add-entry-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    padding: 0;
    background: none;
    border: none;
    color: var(--primary0);
    font-size: 14px;
    font-weight: 500;
    font-family: 'Gordita', sans-serif;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.edit-add-entry-btn:hover {
    opacity: 0.75;
}

/* ---------- Edit Skill Tags ---------- */

.edit-skill-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.edit-skill-remove {
    font-size: 16px;
    cursor: pointer;
    color: #9ca3af;
    line-height: 1;
    font-weight: 600;
    transition: color 0.15s ease;
}

.edit-skill-remove:hover {
    color: #ef4444;
}

.edit-skill-tag-add {
    background: var(--primary4) !important;
    color: var(--primary0) !important;
    font-weight: 600;
    cursor: pointer;
}

/* ---------- Green Dot (completion indicator) ---------- */

.edit-dot-green {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #00BF58;
    display: inline-block;
}

/* ---------- Tooltip ---------- */

/* ===========================
   TOOLTIP SYSTEM (CSS-only)
   =========================== */

.tooltip-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: help;
    outline: none;
    -webkit-tap-highlight-color: transparent;
    flex-shrink: 0;
    vertical-align: middle;
}

.tooltip-wrap svg {
    display: block;
}

.tooltip-box {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    background: #1f2937;
    color: #fff;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.55;
    padding: 9px 13px;
    border-radius: 8px;
    width: max-content;
    max-width: min(240px, calc(100vw - 48px));
    white-space: normal;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.18s ease, visibility 0.18s ease;
    z-index: 2000;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    text-align: left;
}

/* Arrow pointing down */
.tooltip-box::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: #1f2937;
}

/* Show on hover and focus (tap on mobile) */
.tooltip-wrap:hover .tooltip-box,
.tooltip-wrap:focus .tooltip-box {
    opacity: 1;
    visibility: visible;
}

/* Right-edge variant: box anchors to right of icon */
.tooltip-wrap--right .tooltip-box {
    left: auto;
    right: -8px;
    transform: none;
}
.tooltip-wrap--right .tooltip-box::after {
    left: auto;
    right: 12px;
    transform: none;
}

/* Card header tooltips — anchor left so they don't clip */
.card-header-tooltip .tooltip-box {
    left: 50%;
    transform: translateX(-50%);
}
.card-header-tooltip .tooltip-box::after {
    left: 50%;
    transform: translateX(-50%);
}

/* Keep old class for backward compat */
.edit-tooltip {
    display: inline-flex;
    align-items: center;
    cursor: help;
}

/* ---------- Banner Radius Fix (overflow: visible) ---------- */

.profile-banner {
    border-radius: 16px 16px 0 0;
}

/* ---------- Avatar Edit Overlay ---------- */

.edit-avatar-wrapper {
    position: relative;
    width: 120px;
    height: 120px;
    cursor: pointer;
}

.edit-avatar-wrapper .profile-avatar {
    width: 120px;
    height: 120px;
}

.edit-avatar-overlay {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.edit-avatar-wrapper:hover .edit-avatar-overlay {
    opacity: 1;
}

.edit-avatar-camera {
    width: 32px;
    height: 32px;
}

/* ---------- Avatar Action Bar ---------- */

.edit-avatar-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
}

.edit-avatar-action-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 1.5px solid #d1d5db;
    border-radius: 50%;
    cursor: pointer;
    color: #6b7280;
    transition: all 0.2s ease;
    padding: 0;
}

.edit-avatar-action-btn:hover {
    border-color: var(--primary0);
    color: var(--primary0);
    background: #f0f4ff;
}

.edit-avatar-action-btn.delete:hover {
    border-color: #ef4444;
    color: #ef4444;
    background: #fef2f2;
}

.edit-avatar-action-btn svg {
    width: 16px;
    height: 16px;
}

/* ---------- Social Media Edit Section ---------- */

.edit-social-section {
    border-top: 1px solid #e5e7eb;
    padding-top: 24px;
    margin-top: 8px;
}

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

.edit-social-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-header);
    display: flex;
    align-items: center;
    gap: 8px;
}

.edit-social-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 16px;
}

.edit-social-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.edit-social-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
}

/* White-fill icons need filter to appear blue */
.edit-social-icon[data-platform="instagram"],
.edit-social-icon[data-platform="tiktok"] {
    filter: brightness(0) saturate(100%) invert(28%) sepia(96%) saturate(2168%) hue-rotate(224deg) brightness(96%) contrast(103%);
}


/* Custom link rows that use edit-social-row span full width in the grid */
.edit-social-grid .edit-social-row:has(.edit-custom-link-remove) {
    grid-column: 1 / -1;
}

.edit-social-input {
    flex: 1;
    height: 38px;
    padding: 0 14px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    font-size: 14px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    color: var(--text-header);
    background: #ffffff;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.edit-social-input:focus {
    border-color: var(--primary0);
    box-shadow: 0 0 0 3px rgba(38, 92, 255, 0.08);
}

.edit-social-input::placeholder {
    color: #9ca3af;
}

.edit-add-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
    padding: 0;
    background: none;
    border: none;
    color: var(--text-body);
    font-size: 15px;
    font-weight: 500;
    font-family: 'Gordita', sans-serif;
    cursor: pointer;
    transition: color 0.2s ease;
}

.edit-add-link-btn:hover {
    color: var(--primary0);
}

.edit-add-link-icon {
    width: 32px;
    height: 32px;
    border: 1.5px solid #d1d5db;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.2s ease;
}

.edit-add-link-btn:hover .edit-add-link-icon {
    border-color: var(--primary0);
}

/* ---------- Custom Link Row ---------- */

.edit-custom-link-row {
    display: flex;
    align-items: center;
    gap: 10px;
    grid-column: 1 / -1;
}

.edit-custom-link-row .edit-social-input:first-of-type {
    flex: 1;
}

.edit-custom-link-remove {
    width: 28px;
    height: 28px;
    min-width: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: 1.5px solid #d1d5db;
    border-radius: 50%;
    cursor: pointer;
    color: #9ca3af;
    font-size: 18px;
    font-weight: 400;
    line-height: 1;
    padding: 0 0 1px 0;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.edit-custom-link-remove:hover {
    border-color: #ef4444;
    color: #ef4444;
    background: #fef2f2;
}

/* Manage Logo Modal */
/* Logo Upload Section - relative container for desktop modal positioning */
.logo-upload-section {
    position: relative;
}

.logo-modal-overlay {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(17, 24, 39, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.logo-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Mobile: Center the modal on screen */
@media (max-width: 768px) {
    .logo-modal-overlay {
        position: fixed;
        inset: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(17, 24, 39, 0.45);
        align-items: center;
        justify-content: center;
        padding: 16px;
        top: 0;
        left: 0;
        right: 0;
    }
}

.logo-modal {
    width: 360px;
    max-width: calc(100vw - 32px);
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    animation: modalSlideIn 0.2s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo-modal-header {
    padding: 18px 20px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-modal-header h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--secondary);
    margin: 0;
}

.logo-modal-close {
    width: 32px;
    height: 32px;
    border: 1px solid var(--border);
    background: var(--white);
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-gray);
    transition: background 0.2s, color 0.2s;
}

.logo-modal-close:hover {
    background: var(--bg-gray);
    color: var(--secondary);
}

.logo-modal-body {
    padding: 16px;
}

.logo-dropzone {
    height: 180px;
    border: 1px dashed var(--border-strong);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--white);
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    text-align: center;
}

.logo-dropzone:hover,
.logo-dropzone.dragover {
    border-color: var(--primary);
    background: rgba(37, 99, 235, 0.03);
}

.logo-dropzone-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--bg-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    color: var(--text-gray);
}

.logo-dropzone-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 6px;
}

.logo-dropzone-subtitle {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-gray);
}

.logo-cropper-toolbar {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 12px;
}

.logo-tool-btn {
    width: 36px;
    height: 36px;
    border: 1px solid var(--border-strong);
    background: var(--white);
    border-radius: 10px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    transition: background 0.2s, border-color 0.2s;
}

.logo-tool-btn:hover {
    background: var(--bg-gray);
    border-color: var(--border);
}

.logo-tool-btn i {
    font-size: 12px;
}

.logo-cropper-frame {
    width: 100%;
    height: 200px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--white);
}

.logo-cropper-frame img {
    max-width: 100%;
    display: block;
}

.logo-modal-footer {
    padding: 14px 20px;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    background: var(--white);
}

.logo-modal-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-modal-icon-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 1px solid var(--border-strong);
    background: var(--white);
    color: var(--text-gray);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.logo-modal-icon-btn:hover {
    background: #FEE2E2;
    border-color: rgba(220, 38, 38, 0.25);
    color: #DC2626;
}

.logo-modal-icon-btn i {
    font-size: 12px;
}

.btn-logo-secondary,
.btn-logo-primary {
    height: 36px;
    padding: 0 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    transition: all 0.2s;
}

.btn-logo-secondary {
    background: var(--white);
    border: 1px solid var(--border-strong);
    color: var(--secondary);
}

#logoModalBackBtn {
    height: auto;
    padding: 0;
    border: none;
    background: transparent;
    color: var(--secondary);
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

#logoModalBackBtn::before {
    content: '\2190';
    font-size: 14px;
    line-height: 1;
}

#logoModalBackBtn:hover {
    text-decoration: underline;
}

.btn-logo-secondary:hover {
    background: var(--bg-gray);
}

.btn-logo-primary {
    background: var(--primary);
    border: 1px solid var(--primary);
    color: var(--white);
}

.btn-logo-primary:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.btn-logo-primary:not(:disabled):hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

.cropper-container {
    background: var(--white) !important;
}

.cropper-view-box {
    outline: 2px solid rgba(37, 99, 235, 0.9);
    outline-offset: -1px;
}

.cropper-line,
.cropper-point {
    background-color: rgba(37, 99, 235, 0.9);
}


/* Image Upload Enhanced */
.logo-upload-box {
    width: 140px;
    height: 140px;
    border: 2px dashed var(--border-strong);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.logo-upload-box:hover {
    border-color: var(--primary);
    background: rgba(37, 99, 235, 0.02);
}

.logo-upload-box.has-image {
    border: 4px solid #ffffff;
    overflow: visible;
    background: transparent;
}

.logo-upload-box .uploaded-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.logo-upload-box .image-actions {
    position: absolute;
    bottom: 4px;
    right: 4px;
    display: none;
    gap: 4px;
    z-index: 2;
}

.logo-upload-box:hover .image-actions {
    display: flex;
}

.image-actions button {
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.65);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    transition: background 0.2s;
}

.image-actions button:hover {
    background: rgba(0, 0, 0, 0.85);
}

/* Preview Logo with Image */
.preview-logo-placeholder.has-image {
    background: var(--white);
    overflow: hidden;
}

/* ===========================
   FLATPICKR CUSTOM THEME
   =========================== */

.flatpickr-calendar {
    border-radius: 12px !important;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12) !important;
    border: 1px solid #e5e7eb !important;
    font-family: 'Gordita', 'Inter', sans-serif !important;
    padding: 0 !important;
    width: 280px !important;
    overflow: hidden;
}

.flatpickr-months {
    background: var(--primary0, #265CFF) !important;
    border-radius: 12px 12px 0 0 !important;
    padding: 8px 4px !important;
}

.flatpickr-months .flatpickr-month {
    height: 36px !important;
}

.flatpickr-current-month {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #ffffff !important;
    padding-top: 6px !important;
}

.flatpickr-current-month .flatpickr-monthDropdown-months {
    background: transparent !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    border: none !important;
    appearance: none !important;
    -webkit-appearance: none !important;
}

.flatpickr-current-month .flatpickr-monthDropdown-months option {
    background: #ffffff;
    color: #1f2937;
}

.flatpickr-current-month input.cur-year {
    color: #ffffff !important;
    font-weight: 600 !important;
}

.flatpickr-months .flatpickr-prev-month,
.flatpickr-months .flatpickr-next-month {
    fill: #ffffff !important;
    color: #ffffff !important;
    padding: 8px 10px !important;
}

.flatpickr-months .flatpickr-prev-month:hover,
.flatpickr-months .flatpickr-next-month:hover {
    opacity: 0.7;
}

.flatpickr-months .flatpickr-prev-month svg,
.flatpickr-months .flatpickr-next-month svg {
    fill: #ffffff !important;
    width: 12px;
    height: 12px;
}

.flatpickr-weekdays {
    background: #f9fafb !important;
    padding: 4px 0 !important;
    border-bottom: 1px solid #e5e7eb;
}

span.flatpickr-weekday {
    color: #6b7280 !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.flatpickr-days {
    padding: 4px 8px 8px !important;
}

.dayContainer {
    min-width: 264px !important;
    max-width: 264px !important;
}

.flatpickr-day {
    border-radius: 8px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #1f2937 !important;
    height: 34px !important;
    line-height: 34px !important;
    max-width: 34px !important;
    margin: 1px !important;
    border: none !important;
}

.flatpickr-day:hover {
    background: var(--primary4, #eef2ff) !important;
    border: none !important;
}

.flatpickr-day.today {
    background: #f3f4f6 !important;
    border: 1.5px solid var(--primary0, #265CFF) !important;
    color: var(--primary0, #265CFF) !important;
    font-weight: 700 !important;
}

.flatpickr-day.selected,
.flatpickr-day.selected:hover {
    background: var(--primary0, #265CFF) !important;
    border: none !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    box-shadow: 0 2px 8px rgba(38, 92, 255, 0.3);
}

.flatpickr-day.prevMonthDay,
.flatpickr-day.nextMonthDay {
    color: #d1d5db !important;
}

.flatpickr-day.flatpickr-disabled {
    color: #e5e7eb !important;
}

/* Month picker plugin styles */
.flatpickr-monthSelect-months {
    padding: 8px 12px !important;
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 6px !important;
}

.flatpickr-monthSelect-month {
    border-radius: 8px !important;
    padding: 8px 4px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #1f2937 !important;
    text-align: center;
    cursor: pointer;
    transition: background 0.15s ease;
}

.flatpickr-monthSelect-month:hover {
    background: var(--primary4, #eef2ff) !important;
}

.flatpickr-monthSelect-month.selected {
    background: var(--primary0, #265CFF) !important;
    color: #ffffff !important;
    font-weight: 600 !important;
}

/* Flatpickr mobile-friendly adjustments */
@media (max-width: 768px) {
    .flatpickr-calendar {
        width: 260px !important;
    }

    .dayContainer {
        min-width: 244px !important;
        max-width: 244px !important;
    }

    .flatpickr-day {
        height: 32px !important;
        line-height: 32px !important;
        max-width: 32px !important;
        font-size: 12px !important;
    }

/* ===================== PROFILE PICTURE MODAL ===================== */
.logo-modal-overlay {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(17, 24, 39, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}
.logo-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}
.logo-modal {
    width: 360px;
    max-width: calc(100vw - 32px);
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    animation: logoModalSlideIn 0.2s ease;
}
@keyframes logoModalSlideIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}
.logo-modal-header {
    padding: 18px 20px;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo-modal-header h3 {
    font-size: 16px;
    font-weight: 700;
    color: #111827;
    margin: 0;
    font-family: 'Gordita', sans-serif;
}
.logo-modal-close {
    width: 32px;
    height: 32px;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    transition: background 0.2s, color 0.2s;
}
.logo-modal-close:hover {
    background: #f3f4f6;
    color: #111827;
}
.logo-modal-body {
    padding: 16px;
}
.logo-dropzone {
    height: 180px;
    border: 1px dashed #9ca3af;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    text-align: center;
}
.logo-dropzone:hover,
.logo-dropzone.dragover {
    border-color: var(--primary0);
    background: rgba(38, 92, 255, 0.03);
}
.logo-dropzone-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    color: #6b7280;
    font-size: 18px;
}
.logo-dropzone-title {
    font-size: 13px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 6px;
    font-family: 'Gordita', sans-serif;
}
.logo-dropzone-subtitle {
    font-size: 12px;
    font-weight: 500;
    color: #6b7280;
    font-family: 'Gordita', sans-serif;
}
.logo-cropper-toolbar {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 12px;
}
.logo-tool-btn {
    width: 36px;
    height: 36px;
    border: 1px solid #9ca3af;
    background: #ffffff;
    border-radius: 10px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #111827;
    transition: background 0.2s, border-color 0.2s;
}
.logo-tool-btn:hover {
    background: #f3f4f6;
    border-color: #e5e7eb;
}
.logo-tool-btn i {
    font-size: 12px;
}
.logo-cropper-frame {
    width: 100%;
    height: 260px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    background: #ffffff;
}
.logo-cropper-frame img {
    max-width: 100%;
    display: block;
}
.logo-modal-footer {
    padding: 14px 20px;
    border-top: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    background: #ffffff;
}
.logo-modal-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}
.logo-modal-icon-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 1px solid #9ca3af;
    background: #ffffff;
    color: #6b7280;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.logo-modal-icon-btn:hover {
    background: #FEE2E2;
    border-color: rgba(220, 38, 38, 0.25);
    color: #DC2626;
}
.logo-modal-icon-btn i {
    font-size: 12px;
}
.btn-logo-secondary,
.btn-logo-primary {
    height: 36px;
    padding: 0 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Gordita', sans-serif;
    transition: all 0.2s;
}
.btn-logo-secondary {
    background: #ffffff;
    border: 1px solid #9ca3af;
    color: #111827;
}
.btn-logo-secondary:hover {
    background: #f3f4f6;
}
.btn-logo-primary {
    background: var(--primary0);
    border: none;
    color: #ffffff;
}
.btn-logo-primary:hover:not(:disabled) {
    background: #1a4fd6;
}
.btn-logo-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
}

/* ============================================================
   CANDIDATE PROFILE — RESPONSIVE BREAKPOINTS
   ≤1399  laptop wide
   ≤1199  small laptop
   ≤991   tablet (nav already collapses here)
   ≤768   tablet portrait
   ≤600   large mobile
   ≤480   standard mobile
   ≤360   small mobile
   ============================================================ */

/* ---------- Laptop wide (≤1399) ---------- */
@media (max-width: 1399px) {
    .candidate-profile-page { padding: 32px 64px; }
    .profile-col-right { flex: 0 0 320px; }
}

/* ---------- Small laptop (≤1199) ---------- */
@media (max-width: 1199px) {
    .candidate-profile-page { padding: 28px 32px; }
    .profile-content-row { gap: 20px; }
    .profile-col-right { flex: 0 0 290px; }
    .profile-col-left,
    .profile-col-right { gap: 20px; }
    .profile-card { padding: 24px 22px; }
    .profile-header-body { padding: 0 28px 30px; }
    .profile-banner { padding: 0 28px; }
    .profile-name { font-size: 26px; }
    .profile-title { font-size: 16px; }
    .card-header-title { font-size: 18px; }
    .edit-form-row-4col { grid-template-columns: 1fr 130px 1fr 1fr; }
}

/* ---------- Tablet (≤991): nav collapses, layout becomes single column ---------- */
@media (max-width: 991px) {
    .candidate-profile-page { padding: 24px 24px; }
    .profile-content-row {
        flex-direction: column;
        gap: 20px;
    }
    .profile-col-left,
    .profile-col-right {
        flex: 1 1 100%;
        width: 100%;
        min-width: 0;
        gap: 20px;
    }
    .profile-col-right { order: 99; }
    .profile-card { padding: 24px 22px; }
    .edit-form-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .edit-form-row-4col,
    .edit-form-row-salary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .edit-form-row-full { grid-template-columns: 1fr; }
    .edit-social-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .view-mode-tabs {
        max-width: 100%;
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* ---------- Large mobile (≤600) ---------- */
@media (max-width: 600px) {
    .candidate-profile-page { padding: 18px 14px; }
    .profile-name-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }
    .profile-cta-row { width: 100%; }
    .btn-contact,
    .btn-download {
        flex: 1 1 auto;
        justify-content: center;
    }
    .banner-social-icon { width: 22px; height: 22px; }
    .banner-social-icons { gap: 6px; }
    .profile-card { padding: 20px 16px; border-radius: 14px; }
    .profile-header-card { border-radius: 14px; }
    .card-header-title { font-size: 16px; }
    .experience-top-row { flex-wrap: wrap; }
    .experience-top-row > div:last-child { flex-wrap: wrap; }
    .view-mode-bar { padding: 12px 0; }
    .view-mode-tab { padding: 8px 12px; font-size: 12px; }
}

/* ---------- Small mobile (≤360) ---------- */
@media (max-width: 360px) {
    .candidate-profile-page { padding: 14px 8px; }
    .profile-banner { height: 90px; padding: 0 12px; }
    .profile-header-body { padding: 0 12px 18px; }
    .profile-avatar-wrapper,
    .profile-avatar,
    .profile-avatar-placeholder { width: 72px; height: 72px; }
    .profile-avatar-wrapper { margin-top: -36px; }
    .profile-verified-icon { width: 26px; height: 26px; }
    .profile-name { font-size: 18px; }
    .profile-title { font-size: 13px; }
    .info-pill { padding: 6px 10px; font-size: 12px; }
    .pill-icon { width: 14px; height: 14px; }
    .profile-bio { font-size: 13px; line-height: 1.6; }
    .profile-card { padding: 16px 12px; }
    .card-header-title { font-size: 15px; }
    .btn-contact,
    .btn-download { font-size: 12px; padding: 8px 12px; }
    .view-mode-tab {
        padding: 7px 10px;
        font-size: 11px;
        gap: 4px;
    }
    .view-mode-tab svg { width: 13px; height: 13px; }
    .experience-date-badge { font-size: 11px; padding: 4px 8px; }
    .language-name { flex: 0 0 60px; font-size: 12px; }
}

/* ============================================================
   EMPLOYER LOGIN OVERLAY — make "Register or login now…" button responsive
   Overrides the original .employer-login-btn white-space: nowrap
   ============================================================ */
.employer-login-btn {
    white-space: normal !important;
    max-width: 100%;
    line-height: 1.3;
    text-align: center;
}

@media (max-width: 768px) {
    .employer-login-card {
        padding: 28px 20px;
        max-width: 100%;
    }
    .employer-login-title { font-size: 20px; }
    .employer-login-text { font-size: 14px; margin-bottom: 18px; }
    .employer-login-btn {
        padding: 12px 20px;
        font-size: 14px;
        width: 100%;
        border-radius: 28px;
    }
}

@media (max-width: 480px) {
    .employer-login-card { padding: 24px 14px; }
    .employer-login-icon svg { width: 40px; height: 40px; }
    .employer-login-title { font-size: 18px; }
    .employer-login-text { font-size: 13px; margin-bottom: 16px; }
    .employer-login-btn { padding: 11px 14px; font-size: 13px; }
}

@media (max-width: 360px) {
    .employer-login-btn { padding: 10px 12px; font-size: 12px; }
}

/* ============================================================
   GLOBAL OVERFLOW GUARDS
   ============================================================ */
html, body { overflow-x: hidden; }
.candidate-profile-page,
.profile-header-card,
.profile-card {
    max-width: 100%;
    box-sizing: border-box;
}
.profile-bio,
.experience-description {
    overflow-wrap: anywhere;
    word-break: break-word;
}
.info-pill {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}