/* Front candidate/company account profile and compact account dropdown */
.header-auth-dd .dropdown-toggle.wf-topbtn {
    max-width: 250px;
    min-height: 40px;
    padding: 8px 12px;
    gap: 6px;
}

.header-auth-dd .dropdown-toggle > span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.header-auth-dd .dropdown-menu {
    width: max-content;
    min-width: 218px;
    max-width: min(300px, calc(100vw - 24px));
    padding: 6px;
    border-radius: 13px;
}

.header-auth-dd .wf-user-menu-head {
    padding: 9px 10px 10px;
    border-bottom: 1px solid #e6edf5;
    margin-bottom: 4px;
}

.header-auth-dd .wf-user-menu-name {
    color: #102a4c;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.header-auth-dd .wf-user-menu-role {
    margin-top: 2px;
    color: #8292aa;
    font-size: 11px;
    line-height: 1.3;
}

.header-auth-dd .dropdown-item {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 36px;
    padding: 8px 10px;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 400;
}

.header-auth-dd .dropdown-item i {
    width: 17px;
    margin: 0 !important;
    text-align: center;
}

.header-auth-dd .wf-logout-item,
.header-auth-dd .wf-logout-item:hover,
.header-auth-dd .wf-logout-item:focus {
    color: #dc3545 !important;
}

.header-auth-dd .wf-logout-item:hover {
    background: #fff1f2;
}

.wf-front-profile {
    --wf-account-navy: #17335c;
    --wf-account-blue: #2477ce;
    --wf-account-teal: #08a8b0;
    --wf-account-ink: #10233f;
    --wf-account-muted: #73849d;
    --wf-account-line: #dce6f1;
    --wf-account-bg: #f1f6fb;
    --wf-account-danger: #dc3545;
    background: var(--wf-account-bg);
}

.wf-front-profile .wf-account-section {
    padding: 102px 0 70px;
    background: var(--wf-account-bg);
}

.wf-front-profile .wf-account-shell {
    max-width: 1280px;
}

.wf-front-profile .wf-account-sidebar,
.wf-front-profile .wf-account-card,
.wf-front-profile .wf-account-hero {
    border: 1px solid var(--wf-account-line);
    box-shadow: 0 12px 30px rgba(29, 58, 94, .07);
}

.wf-front-profile .wf-account-sidebar {
    overflow: hidden;
    padding: 18px 14px;
    border-radius: 18px;
    background: #eaf5ff;
}

.wf-front-profile .wf-account-avatar {
    width: 94px;
    height: 94px;
    margin: 0 auto 11px;
    padding: 5px;
    border: 1px solid #d4e3f2;
    border-radius: 24px;
    background: rgba(255, 255, 255, .85);
}

.wf-front-profile .wf-account-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 19px;
    object-fit: cover;
}

.wf-front-profile .wf-account-sidebar h3 {
    margin: 0;
    color: var(--wf-account-ink);
    font-size: 17px;
    font-weight: 600;
    line-height: 1.35;
    text-align: center;
}

.wf-front-profile .wf-account-sidebar .wf-account-role {
    margin: 4px 0 14px;
    color: #5e7896;
    font-size: 12px;
    text-align: center;
}

.wf-front-profile .wf-account-sidebar .twm-nav-list-1 {
    margin: 0 -4px;
}

.wf-front-profile .wf-account-sidebar .twm-nav-list-1 li a {
    font-size: 12px;
    font-weight: 400;
}

.wf-front-profile .wf-account-hero {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 170px;
    margin-bottom: 16px;
    padding: 28px 32px;
    border: 0;
    border-radius: 20px;
    background: linear-gradient(120deg, #19335d 0%, #246ea4 58%, #169aa0 100%);
    color: #fff;
}

.wf-front-profile .wf-account-hero::after {
    position: absolute;
    top: -70px;
    right: -35px;
    width: 230px;
    height: 230px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .09);
    content: '';
}

.wf-front-profile .wf-account-kicker {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 9px;
    color: #8ff9ed;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .45px;
    text-transform: uppercase;
}

.wf-front-profile .wf-account-hero h1 {
    position: relative;
    z-index: 1;
    margin: 0 0 8px;
    color: #fff;
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 600;
    line-height: 1.2;
}

.wf-front-profile .wf-account-hero p {
    position: relative;
    z-index: 1;
    max-width: 660px;
    margin: 0;
    color: rgba(255, 255, 255, .9);
    font-size: 14px;
    line-height: 1.6;
}

.wf-front-profile .wf-account-security-pill {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    flex: 0 0 auto;
    padding: 9px 12px;
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 10px;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    font-size: 12px;
}

.wf-front-profile .wf-account-jumps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 9px;
    margin-bottom: 16px;
}

.wf-front-profile .wf-account-jumps a {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 46px;
    padding: 9px 12px;
    border: 1px solid var(--wf-account-line);
    border-radius: 12px;
    background: #fff;
    color: #34506f;
    font-size: 12px;
    font-weight: 500;
}

.wf-front-profile .wf-account-jumps a:hover {
    border-color: #8db9e8;
    color: #176bc2;
}

.wf-front-profile .wf-account-jumps i {
    color: #2377cc;
    font-size: 16px;
}

.wf-front-profile .wf-account-card {
    scroll-margin-top: 100px;
    margin-bottom: 16px;
    padding: 22px;
    border-radius: 17px;
    background: #fff;
}

.wf-front-profile .wf-account-card-head {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e8eef5;
}

.wf-front-profile .wf-account-card-icon {
    display: grid;
    place-items: center;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #eaf4ff;
    color: #2377cc;
    font-size: 18px;
}

.wf-front-profile .wf-account-card-head h2 {
    margin: 0 0 3px;
    color: var(--wf-account-ink);
    font-size: 18px;
    font-weight: 600;
}

.wf-front-profile .wf-account-card-head p {
    margin: 0;
    color: var(--wf-account-muted);
    font-size: 12px;
    line-height: 1.5;
}

.wf-front-profile .wf-account-status {
    align-self: center;
    margin-left: auto;
    padding: 7px 10px;
    border-radius: 999px;
    background: #eef2f7;
    color: #63758b;
    font-size: 11px;
    font-weight: 500;
    white-space: nowrap;
}

.wf-front-profile .wf-account-status.is-active {
    background: #e5f8ef;
    color: #17835f;
}

.wf-front-profile .wf-account-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
}

.wf-front-profile .wf-field-full {
    grid-column: 1 / -1;
}

.wf-front-profile .wf-field label {
    display: block;
    margin-bottom: 6px;
    color: #405774;
    font-size: 12px;
    font-weight: 500;
}

.wf-front-profile .wf-field input,
.wf-front-profile .wf-field select {
    width: 100%;
    height: 44px;
    padding: 9px 12px;
    border: 1px solid #d5e0ec;
    border-radius: 10px;
    background: #fff;
    color: #17304f;
    font-size: 13px;
    font-weight: 400;
    box-shadow: none;
}

.wf-front-profile .wf-field input:focus,
.wf-front-profile .wf-field select:focus {
    border-color: #2c86da;
    outline: 0;
    box-shadow: 0 0 0 3px rgba(44, 134, 218, .12);
}

.wf-front-profile .wf-field input[readonly] {
    background: #f5f8fb;
    color: #75869b;
}

.wf-front-profile .wf-help,
.wf-front-profile .wf-error {
    display: block;
    margin-top: 5px;
    font-size: 11px;
    line-height: 1.4;
}

.wf-front-profile .wf-help { color: #8998ab; }
.wf-front-profile .wf-error { color: #d63345; }

.wf-front-profile .wf-primary-btn,
.wf-front-profile .wf-secondary-btn,
.wf-front-profile .wf-danger-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 9px 16px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.2;
    cursor: pointer;
}

.wf-front-profile .wf-primary-btn {
    border: 1px solid #2477ce;
    background: #2477ce;
    color: #fff;
}

.wf-front-profile .wf-primary-btn:hover { background: #1d66b4; color: #fff; }

.wf-front-profile .wf-secondary-btn {
    border: 1px solid #d4e0ec;
    background: #fff;
    color: #395675;
}

.wf-front-profile .wf-danger-btn {
    border: 1px solid #dc3545;
    background: #dc3545;
    color: #fff;
}

.wf-front-profile .wf-actions {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 17px;
}

.wf-front-profile .wf-method-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px;
}

.wf-front-profile .wf-method-option { display: block; cursor: pointer; }
.wf-front-profile .wf-method-option input { position: absolute; opacity: 0; pointer-events: none; }

.wf-front-profile .wf-method-box {
    display: flex;
    align-items: center;
    gap: 11px;
    min-height: 68px;
    padding: 12px;
    border: 1px solid #d8e3ee;
    border-radius: 11px;
    background: #fff;
}

.wf-front-profile .wf-method-option input:checked + .wf-method-box {
    border-color: #2783d6;
    background: #f2f8ff;
    box-shadow: 0 0 0 3px rgba(39, 131, 214, .1);
}

.wf-front-profile .wf-method-box > i {
    color: #188c99;
    font-size: 18px;
}

.wf-front-profile .wf-method-box strong,
.wf-front-profile .wf-method-box small { display: block; }
.wf-front-profile .wf-method-box strong { color: #213a58; font-size: 12px; font-weight: 600; }
.wf-front-profile .wf-method-box small { margin-top: 2px; color: #7b8ca2; font-size: 11px; overflow-wrap: anywhere; }

.wf-front-profile .wf-code-panel,
.wf-front-profile .wf-info-panel {
    margin-top: 14px;
    padding: 14px;
    border: 1px solid #cfe2f4;
    border-radius: 11px;
    background: #f2f8fd;
}

.wf-front-profile .wf-danger-card {
    border-color: #f2c9cd;
    background: #fffdfd;
}

.wf-front-profile .wf-danger-card .wf-account-card-icon {
    background: #fff0f1;
    color: #dc3545;
}

.wf-front-profile .wf-danger-note {
    margin: 0 0 14px;
    color: #65768d;
    font-size: 12px;
    line-height: 1.6;
}

.wf-front-profile .alert {
    border-radius: 11px;
    font-size: 12px;
}

.wf-account-modal .modal-content {
    overflow: hidden;
    border: 1px solid #d9e5f0;
    border-radius: 18px;
    box-shadow: 0 24px 70px rgba(16, 35, 63, .2);
}

.wf-account-modal .modal-header {
    padding: 17px 19px;
    border-bottom: 1px solid #e7edf4;
    background: #f2f8fd;
}

.wf-account-modal .modal-title {
    color: #142b49;
    font-size: 17px;
    font-weight: 600;
}

.wf-account-modal .modal-body { padding: 19px; }
.wf-account-modal .modal-footer { padding: 13px 19px; border-top-color: #e7edf4; }

.wf-account-modal .wf-modal-note {
    display: flex;
    gap: 9px;
    margin: 13px 0 0;
    padding: 11px 12px;
    border-radius: 10px;
    background: #eef7ff;
    color: #47627f;
    font-size: 11px;
    line-height: 1.5;
}

.wf-account-modal .wf-modal-note a { color: #176fc4; font-weight: 600; }

@media (max-width: 991.98px) {
    .wf-front-profile .wf-account-section { padding-top: 86px; }
    .wf-front-profile .wf-account-sidebar { margin-bottom: 16px; }
    .wf-front-profile .wf-account-hero { min-height: auto; }
}

@media (max-width: 767.98px) {
    .wf-front-profile .wf-account-hero { align-items: flex-start; flex-direction: column; padding: 24px; }
    .wf-front-profile .wf-account-jumps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .wf-front-profile .wf-account-grid,
    .wf-front-profile .wf-method-grid { grid-template-columns: 1fr; }
}

@media (max-width: 479.98px) {
    .wf-front-profile .wf-account-jumps { grid-template-columns: 1fr; }
    .wf-front-profile .wf-account-card { padding: 17px; }
    .wf-front-profile .wf-account-card-head { flex-wrap: wrap; }
    .wf-front-profile .wf-account-status { margin-left: 54px; }
    .wf-front-profile .wf-actions { align-items: stretch; flex-direction: column; }
    .wf-front-profile .wf-actions > * { width: 100%; }
}
