:root {
    --bg0: #081221;
    --bg1: #10233e;
    --card: rgba(8, 17, 30, 0.78);
    --line: rgba(122, 188, 255, 0.34);
    --text: #eff6ff;
    --muted: #a9bfd8;
    --accent: #2da4ff;
    --accent2: #4df0da;
    --danger: #ff8f8f;
}

* {
    box-sizing: border-box;
}

html, body {
    width: 100%;
    min-height: 100%;
}

body {
    margin: 0;
    font-family: "Manrope", sans-serif;
    background: radial-gradient(1200px 700px at 8% 0%, #123563 0%, transparent 55%),
                radial-gradient(1000px 600px at 95% 10%, #0f4f59 0%, transparent 50%),
                linear-gradient(165deg, var(--bg0), var(--bg1));
    color: var(--text);
    overflow-x: hidden;
}

.login-bg .blob {
    position: fixed;
    border-radius: 999px;
    filter: blur(36px);
    opacity: 0.46;
    z-index: 0;
    animation: float 12s ease-in-out infinite;
}

.blob-a {
    width: 260px;
    height: 260px;
    left: -70px;
    top: 70px;
    background: #2f8bff;
}

.blob-b {
    width: 340px;
    height: 340px;
    right: -90px;
    top: 15%;
    background: #1aab8f;
    animation-delay: -4s;
}

.blob-c {
    width: 200px;
    height: 200px;
    left: 25%;
    bottom: -50px;
    background: #5f76ff;
    animation-delay: -7s;
}

.login-bg .grid {
    position: fixed;
    inset: 0;
    background-image: linear-gradient(rgba(173, 217, 255, 0.05) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(173, 217, 255, 0.05) 1px, transparent 1px);
    background-size: 32px 32px;
    mask-image: radial-gradient(circle at center, black 35%, transparent 95%);
    z-index: 0;
}

.login-shell {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 28px;
    align-items: center;
    width: min(1100px, calc(100% - 40px));
    margin: 0 auto;
    padding: 36px 0;
}

.login-intro {
    position: relative;
}

.login-brand-mark {
    width: clamp(128px, 15vw, 190px);
    margin: 0 0 20px;
    opacity: 0.96;
    filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.26));
}

.login-brand-mark img {
    display: block;
    width: 100%;
    height: auto;
}

.login-intro h1 {
    margin: 0 0 14px;
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
    max-width: 16ch;
}

.eyebrow {
    margin: 0 0 16px;
    font-size: 0.74rem;
    letter-spacing: 0.2em;
    color: var(--accent2);
    font-weight: 700;
}

.lead {
    margin: 0 0 20px;
    max-width: 46ch;
    color: var(--muted);
}

.highlights {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.highlights li {
    padding: 10px 12px;
    border: 1px solid rgba(135, 188, 255, 0.24);
    border-radius: 12px;
    background: rgba(9, 26, 45, 0.5);
    backdrop-filter: blur(3px);
}

.login-card {
    border: 1px solid var(--line);
    background: var(--card);
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(12px);
}

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

.card-top h2 {
    margin: 0;
    font-size: 1.08rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: linear-gradient(120deg, var(--accent), var(--accent2));
    box-shadow: 0 0 16px rgba(70, 196, 255, 0.8);
}

form {
    display: grid;
    gap: 14px;
}

.field {
    display: grid;
    gap: 8px;
}

.field span {
    font-size: 0.9rem;
    color: #c9dbef;
}

.field input {
    appearance: none;
    width: 100%;
    border: 1px solid rgba(144, 195, 255, 0.3);
    background: rgba(9, 23, 38, 0.78);
    color: var(--text);
    border-radius: 12px;
    padding: 12px 14px;
    outline: none;
    transition: border-color 0.22s ease, box-shadow 0.22s ease;
}

.field input::placeholder {
    color: #86a1bd;
    transition: opacity 0.18s ease;
}

.field input:focus::placeholder {
    opacity: 0;
}

.field input:focus {
    border-color: var(--accent2);
    box-shadow: 0 0 0 3px rgba(77, 240, 218, 0.2);
}

.field small {
    min-height: 16px;
    font-size: 0.82rem;
    color: #ffc5c5;
}

.error {
    margin: 0;
    font-size: 0.92rem;
    color: var(--danger);
}

.submit-btn {
    border: none;
    border-radius: 12px;
    padding: 12px 14px;
    color: #04233c;
    background: linear-gradient(135deg, var(--accent2), #99edff);
    font-weight: 800;
    font-size: 0.95rem;
    cursor: pointer;
    transition: transform 0.18s ease, filter 0.18s ease;
}

.submit-btn:hover {
    transform: translateY(-1px);
    filter: saturate(1.1);
}

.submit-btn:disabled {
    opacity: 0.72;
    cursor: progress;
}

.forgot-link {
    justify-self: end;
    color: #9fd8ff;
    font-size: 0.9rem;
    text-decoration: none;
}

.forgot-link:hover {
    color: #d3efff;
}

.form-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.signup-cta {
    margin: -2px 0 0;
    font-size: 0.9rem;
    color: #b8cee6;
}

.signup-cta a {
    color: #8adfff;
    font-weight: 700;
    text-decoration: none;
}

.signup-cta a:hover {
    color: #d3f4ff;
    text-decoration: underline;
}

.ghost-btn {
    border: 1px solid rgba(157, 214, 255, 0.35);
    background: rgba(8, 25, 42, 0.75);
    color: #d7ebff;
    border-radius: 10px;
    padding: 8px 12px;
    font-weight: 700;
    cursor: pointer;
}

.ghost-btn:hover {
    border-color: #7fd6ff;
    color: #eff8ff;
}

.status-modal {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 30;
}

.status-modal.open {
    display: block;
}

.status-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(3, 10, 18, 0.72);
}

.status-modal__card {
    position: relative;
    width: min(520px, calc(100% - 24px));
    margin: 16vh auto 0;
    background: rgba(9, 21, 36, 0.95);
    border: 1px solid rgba(255, 120, 120, 0.5);
    border-radius: 16px;
    padding: 20px;
    color: #f3f8ff;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.status-modal__card h3 {
    margin: 0 0 10px;
    font-size: 1.2rem;
}

.status-modal__card p {
    margin: 0 0 16px;
    color: #d5e7fa;
}

.test-modal {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 31;
    overflow: auto;
    padding: 18px 0 24px;
}

.test-modal.open {
    display: block;
}

.test-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(3, 10, 18, 0.78);
}

.test-modal__card {
    position: relative;
    width: min(940px, calc(100% - 24px));
    max-height: 92vh;
    overflow: auto;
    margin: 0 auto;
    border-radius: 20px;
    border: 1px solid rgba(98, 184, 255, 0.42);
    background: #ffffff;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}

.test-modal__head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    padding: 18px 20px;
    border-bottom: 1px solid rgba(113, 194, 255, 0.28);
}

.test-modal__head h3 {
    margin: 0;
    font-size: clamp(1.05rem, 2.2vw, 1.5rem);
    color: #0c2038;
}

.test-close {
    border: 1px solid rgba(228, 72, 72, 0.48);
    background: #fff5f5;
    color: #c43030;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 800;
}
.test-close:hover {
    border-color: rgba(208, 45, 45, 0.62);
    background: #ffe9e9;
    color: #a61d1d;
}

.test-modal__body {
    padding: 16px 20px 20px;
    max-height: none;
    overflow: visible;
    display: grid;
    gap: 12px;
}

.approved-modal-card {
    width: min(980px, calc(100% - 24px));
    max-height: 92vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-color: rgba(96, 186, 255, 0.34);
    background:
        radial-gradient(1200px 280px at 0% 0%, rgba(15, 120, 210, 0.08), transparent 58%),
        linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.approved-modal-card .test-modal__head {
    padding: 20px 22px 16px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(248, 252, 255, 0.94));
    border-bottom: 1px solid rgba(113, 194, 255, 0.3);
}

.approved-modal-card .eyebrow {
    margin: 0 0 8px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 11px;
    border-radius: 999px;
    border: 1px solid rgba(83, 170, 206, 0.28);
    background: linear-gradient(180deg, #f2fcff 0%, #e9f8ff 100%);
    color: #1b7a95;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    line-height: 1;
}

.approved-modal-body {
    flex: 1;
    overflow: auto;
    padding: 14px 22px 16px;
    display: grid;
    gap: 14px;
    scrollbar-gutter: stable both-edges;
}

.approved-hero {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid rgba(124, 193, 255, 0.28);
    border-radius: 12px;
    background: linear-gradient(90deg, rgba(237, 247, 255, 0.9), rgba(245, 251, 255, 0.9));
}

.approved-hero__dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: linear-gradient(160deg, #1892ff, #0f65c8);
    box-shadow: 0 0 0 4px rgba(24, 146, 255, 0.14);
    flex: none;
}

.approved-hero p {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 600;
    color: #1d4f79;
}

.approved-modal-card .info-block {
    border-color: rgba(116, 191, 255, 0.25);
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    box-shadow: 0 12px 26px rgba(18, 72, 122, 0.06);
}

.approved-modal-card .info-block h4 {
    margin-bottom: 10px;
    color: #0f3f66;
}

.approved-form-subtitle {
    margin: 0 0 12px;
    font-size: 0.86rem;
    color: #4a6783;
}

.approved-modal-card .info-kv__row {
    border-color: rgba(117, 182, 234, 0.25);
    border-radius: 12px;
}

.approved-modal-card .info-kv__row .k {
    background: linear-gradient(180deg, #f6faff 0%, #eef6ff 100%);
}

.approved-modal__foot {
    position: sticky;
    bottom: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    padding: 12px 18px;
    border-top: 1px solid rgba(113, 194, 255, 0.34);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
}

.approved-modal__left-actions {
    margin-right: auto;
}

.approved-modal__left-actions form {
    margin: 0;
}

.approved-modal__actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    flex: none;
}

.approved-btn {
    border-radius: 10px;
    padding: 10px 16px;
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    cursor: pointer;
    border: 1px solid transparent;
    transition: transform 0.14s ease, box-shadow 0.14s ease, filter 0.14s ease;
}

.approved-btn:hover {
    transform: translateY(-1px);
}

.approved-btn--ghost {
    border-color: rgba(95, 158, 214, 0.35);
    color: #1f4d76;
    background: linear-gradient(180deg, #ffffff 0%, #f4f9ff 100%);
}

.approved-btn--danger {
    border-color: rgba(207, 57, 57, 0.35);
    color: #8b1f1f;
    background: linear-gradient(180deg, #fff6f6 0%, #ffeaea 100%);
}

.approved-btn--primary {
    color: #ffffff;
    border-color: #1565b5;
    background: linear-gradient(145deg, #1f97ff, #0f69c7);
    box-shadow: 0 10px 20px rgba(17, 101, 182, 0.28);
}

.approved-btn--primary:hover {
    filter: brightness(1.04);
}

.info-block {
    border: 1px solid rgba(124, 193, 255, 0.26);
    border-radius: 14px;
    padding: 14px;
    background: #ffffff;
}

.info-block h4 {
    margin: 0 0 8px;
    font-size: 1rem;
    color: #12395c;
}

.info-block p {
    margin: 6px 0;
    color: #1f405f;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.info-grid span {
    border: 1px solid rgba(121, 190, 255, 0.26);
    border-radius: 10px;
    padding: 8px;
    font-size: 0.9rem;
    color: #21486b;
    background: #ffffff;
}

.info-kv {
    display: grid;
    gap: 8px;
}

.info-kv__row {
    display: grid;
    grid-template-columns: 280px 1fr;
    border: 1px solid rgba(121, 190, 255, 0.26);
    border-radius: 10px;
    overflow: hidden;
}

.info-kv__row--education {
    overflow: visible;
    position: relative;
    z-index: 6;
}

.info-kv__row--education .v {
    padding-bottom: 8px;
}

.info-kv__row .k {
    padding: 8px 10px;
    font-weight: 700;
    color: #163b5e;
    background: #f4f8fd;
    border-right: 1px solid rgba(121, 190, 255, 0.26);
}

.info-kv__row .v {
    padding: 8px 10px 10px;
    color: #21486b;
    background: #ffffff;
}

.approved-field {
    width: 100%;
    border: 1px solid rgba(120, 176, 224, 0.5);
    border-radius: 8px;
    padding: 8px 10px;
    background: #ffffff;
    color: #163b5e;
    font: inherit;
    outline: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.approved-combo {
    position: relative;
    z-index: 10;
}

.approved-combo-input {
    padding-right: 10px;
}

.approved-combo-panel {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    z-index: 50;
    border: 1px solid rgba(109, 171, 224, 0.4);
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 14px 34px rgba(17, 69, 117, 0.14);
}

.approved-combo-list {
    max-height: 260px;
    overflow-y: auto;
    padding: 4px;
    display: grid;
    gap: 4px;
}

.approved-combo-option {
    border: 1px solid transparent;
    background: #f7fbff;
    border-radius: 8px;
    padding: 8px 10px;
    text-align: left;
    color: #123b60;
    cursor: pointer;
    display: grid;
    gap: 2px;
}

.approved-combo-option:hover,
.approved-combo-option.is-active {
    border-color: rgba(63, 144, 207, 0.4);
    background: #ebf6ff;
}

.approved-combo-option__name {
    font-size: 0.9rem;
    font-weight: 700;
}

.approved-combo-option__meta {
    font-size: 0.74rem;
    color: #587996;
}

.approved-combo-empty {
    padding: 10px;
    font-size: 0.82rem;
    color: #5f7893;
}

.approved-field:focus {
    border-color: #3a99e5;
    box-shadow: 0 0 0 3px rgba(34, 121, 191, 0.15);
}

.approved-field--date {
    min-height: 42px;
    font-variant-numeric: tabular-nums;
}

.approved-field::-webkit-calendar-picker-indicator {
    cursor: pointer;
    opacity: 0.88;
}

.approved-field:hover::-webkit-calendar-picker-indicator {
    opacity: 1;
}

.approved-field.is-invalid {
    border-color: #d65858;
    box-shadow: 0 0 0 3px rgba(214, 88, 88, 0.14);
}

.approved-help {
    display: block;
    margin-top: 6px;
    font-size: 0.76rem;
    color: #5f7893;
}

.approved-field-error {
    display: block;
    margin-top: 6px;
    font-size: 0.76rem;
    color: #c13636;
    min-height: 16px;
}

.approved-form-feedback {
    margin: 0;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 0.84rem;
    font-weight: 700;
    border: 1px solid transparent;
    background: #f6fbff;
    color: #375878;
    min-height: 40px;
    display: flex;
    align-items: center;
    flex: 1;
    max-width: 620px;
    margin-right: auto;
}

.approved-form-feedback:empty {
    display: none;
}

.approved-form-feedback.is-error {
    color: #8f2c2c;
    background: #fff5f5;
    border-color: rgba(198, 61, 61, 0.35);
}

.approved-form-feedback.is-success {
    color: #176044;
    background: #eefcf4;
    border-color: rgba(29, 141, 89, 0.36);
}

.rejected-resubmit {
    border-color: rgba(209, 77, 77, 0.22);
    background: linear-gradient(180deg, #fffafb 0%, #fff 100%);
}

.rejected-resubmit__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 10px;
}

.rejected-resubmit__grid label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.82rem;
    color: #2f5173;
    font-weight: 700;
}

.rejected-resubmit__actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 10px;
}

.social-profile {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    width: min(100%, 340px);
}

.social-profile img {
    width: 62px;
    height: 62px;
    border-radius: 999px;
    border: 2px solid rgba(121, 190, 255, 0.55);
    object-fit: cover;
    background: #f4f8fd;
    box-shadow: 0 6px 16px rgba(25, 83, 143, 0.16);
}

.social-link-mini {
    font-size: 0.7rem;
    line-height: 1.25;
    color: #3f6387;
    text-decoration: none;
    max-width: 180px;
    word-break: break-all;
}

.social-link-mini:hover {
    color: #1e4f7f;
    text-decoration: underline;
}

.signature-uploader {
    margin-top: 8px;
    border: 1px solid rgba(120, 176, 224, 0.45);
    border-radius: 10px;
    padding: 10px;
    background: #fcfeff;
}

.signature-uploader__head {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
}

.signature-title {
    font-size: 1.18rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    color: #0f2f50;
}

.signature-hint {
    margin: 7px 0 9px;
    font-size: 0.84rem;
    color: #4f6a82;
}

.signature-preview {
    position: relative;
    border: 1px solid rgba(125, 183, 233, 0.45);
    border-radius: 10px;
    width: 100px;
    height: 100px;
    display: grid;
    place-items: center;
    background:
        linear-gradient(45deg, #f5f9ff 25%, transparent 25%, transparent 75%, #f5f9ff 75%, #f5f9ff),
        linear-gradient(45deg, #f5f9ff 25%, transparent 25%, transparent 75%, #f5f9ff 75%, #f5f9ff);
    background-position: 0 0, 10px 10px;
    background-size: 20px 20px;
    overflow: hidden;
}

.signature-preview img {
    display: none;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.signature-preview img.show {
    display: block;
}

.signature-icon-btn {
    border: 0;
    background: transparent;
    width: 56px;
    height: 56px;
    padding: 0;
    display: grid;
    place-items: center;
    cursor: pointer;
}

.signature-icon-btn svg {
    width: 36px;
    height: 36px;
}

.signature-icon-btn.hide {
    display: none;
}

.signature-remove-btn {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 22px;
    height: 22px;
    border: 1px solid #d55d67;
    background: rgba(255, 255, 255, 0.95);
    color: #bb2e3d;
    border-radius: 999px;
    font-size: 14px;
    line-height: 1;
    font-weight: 800;
    cursor: pointer;
    display: none;
}

.signature-remove-btn.show {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.pending-status-card {
    width: min(980px, calc(100% - 24px));
}

.pending-status-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.pending-status-col {
    border: 1px solid rgba(121, 190, 255, 0.3);
    border-radius: 12px;
    background: #fbfdff;
    padding: 10px;
}

.pending-status-col h4 {
    margin: 0 0 8px;
    font-size: 0.96rem;
}

.pending-status-col.approved h4 { color: #14734d; }
.pending-status-col.pending h4 { color: #9a681f; }
.pending-status-col.rejected h4 { color: #9e3240; }

.pending-ref-card {
    border: 1px solid rgba(121, 190, 255, 0.25);
    border-radius: 10px;
    background: #ffffff;
    padding: 8px;
    display: grid;
    gap: 3px;
}

.pending-ref-card + .pending-ref-card {
    margin-top: 8px;
}

.pending-ref-card strong {
    color: #1f405f;
    font-size: 0.9rem;
}

.pending-ref-card small {
    color: #58718b;
    font-size: 0.8rem;
}

.pending-reason {
    color: #8a3341 !important;
}

.rejected-modal-title {
    margin: 0 0 6px;
}

.rejected-modal-title__state {
    color: #c53a3a;
    text-shadow: 0 0 0 rgba(197, 58, 58, 0.24);
    animation: rejectedSoftPulse 2.4s ease-in-out infinite;
}

.rejected-modal-title__reason {
    margin: 0;
    font-size: 0.88rem;
    font-weight: 700;
    color: #9c3535;
}

@keyframes rejectedSoftPulse {
    0% {
        color: #bb3737;
        text-shadow: 0 0 0 rgba(197, 58, 58, 0.2);
        opacity: 0.95;
    }
    50% {
        color: #d94d4d;
        text-shadow: 0 0 10px rgba(217, 77, 77, 0.2);
        opacity: 1;
    }
    100% {
        color: #bb3737;
        text-shadow: 0 0 0 rgba(197, 58, 58, 0.2);
        opacity: 0.95;
    }
}

@media (prefers-reduced-motion: reduce) {
    .rejected-modal-title__state {
        animation: none;
    }
}

.pending-empty {
    margin: 0;
    font-size: 0.85rem;
    color: #647b95;
}

@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-18px); }
    100% { transform: translateY(0); }
}

@media (max-width: 980px) {
    .login-shell {
        grid-template-columns: 1fr;
        width: min(560px, calc(100% - 28px));
    }

    .login-brand-mark {
        width: clamp(120px, 32vw, 178px);
        margin-bottom: 16px;
    }

    .login-intro h1 {
        max-width: 22ch;
    }
}

@media (max-width: 560px) {
    .login-shell {
        padding: 18px 0;
    }

    .login-card {
        border-radius: 18px;
        padding: 18px;
    }

    .highlights li {
        font-size: 0.9rem;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .info-kv__row {
        grid-template-columns: 1fr;
    }

    .info-kv__row .k {
        border-right: none;
        border-bottom: 1px solid rgba(121, 190, 255, 0.26);
    }

    .info-kv__row .v {
        padding: 9px;
    }

    .pending-status-grid {
        grid-template-columns: 1fr;
    }

    .rejected-resubmit__grid {
        grid-template-columns: 1fr;
    }

    .approved-modal-body {
        padding: 12px 14px 14px;
    }

    .approved-modal__foot {
        padding: 10px 14px;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .approved-modal__actions {
        display: flex;
        justify-content: flex-end;
        gap: 10px;
    }

    .approved-modal__left-actions {
        margin-right: 0;
    }

    .approved-btn {
        width: 100%;
        padding: 11px 12px;
    }
}

.register-shell {
    grid-template-columns: 1fr 1fr;
    align-items: start;
}

.register-intro {
    align-self: start;
    padding-top: 22px;
}

.register-card {
    display: flex;
    flex-direction: column;
    align-self: stretch;
    min-height: calc(100vh - 72px);
    max-height: none;
    overflow: hidden;
    padding: 0;
}

.register-form {
    display: grid;
    gap: 12px;
}

.register-tabs-wrap {
    margin: 0;
}

.register-content {
    flex: 1 1 auto;
    padding: 16px 24px 24px;
}

.card-top--register {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.card-top__title {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.card-top__title h2 {
    margin: 0;
}

.register-tabs {
    display: flex;
    align-items: stretch;
    width: 100%;
    border-bottom: 1px solid rgba(96, 131, 171, 0.45);
    border-radius: 24px 24px 0 0;
    background: linear-gradient(180deg, rgba(22, 33, 47, 0.86), rgba(17, 28, 40, 0.86));
    overflow: hidden;
}

.register-tab {
    position: relative;
    flex: 1 1 0;
    border: 0;
    border-right: 1px solid rgba(90, 123, 160, 0.38);
    border-radius: 0;
    background: rgba(10, 19, 31, 0.38);
    color: #9fb3c9;
    font-weight: 600;
    font-size: 0.86rem;
    letter-spacing: 0;
    padding: 10px 12px;
    cursor: pointer;
    transition: color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.register-tab:last-child {
    border-right: 0;
}

.register-tab::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 2px;
    background: transparent;
    transition: background-color 0.2s ease;
}

.register-tab:hover {
    color: #d2e2f3;
    background: rgba(24, 37, 52, 0.82);
}

.register-tab.is-active {
    color: #eaf6ff;
    background: linear-gradient(180deg, rgba(37, 49, 66, 0.96), rgba(31, 43, 58, 0.96));
    box-shadow: inset 0 -1px 0 rgba(184, 214, 245, 0.12);
}

.register-tab.is-active::before {
    background: linear-gradient(90deg, #5ec7ff, #6af4e0);
}

.register-tab-panels {
    position: relative;
}

.register-panel {
    display: block;
}

.register-panel[hidden] {
    display: none !important;
}

.register-panel.is-entering {
    animation: register-panel-in 0.34s cubic-bezier(.2, .8, .25, 1);
}

@keyframes register-panel-in {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.995);
        filter: saturate(0.94);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: saturate(1);
    }
}

.register-form .field {
    position: relative;
    display: block;
    margin-top: 6px;
}

.register-form .field > span {
    position: absolute;
    top: -9px;
    left: 12px;
    z-index: 1;
    margin: 0;
    padding: 0 8px;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.02em;
    color: rgba(144, 195, 255, 0.96);
    background: rgba(8, 17, 30, 0.98);
    text-shadow: 0 0 10px rgba(77, 240, 218, 0.12);
    transition: color 0.22s ease, text-shadow 0.22s ease;
    pointer-events: none;
}

.register-form .field input {
    padding: 13px 14px 11px;
}

.register-form .field:focus-within > span {
    color: var(--accent2);
    text-shadow: 0 0 12px rgba(77, 240, 218, 0.45);
}

.register-divider {
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #89dcff;
    margin-top: 4px;
}

.register-reference-hint {
    margin: -2px 0 4px;
    font-size: 0.78rem;
    line-height: 1.4;
    color: #9fb9d6;
}

.membership-references .field {
    margin-top: 12px;
}

.member-directory-trigger {
    width: max-content;
    border: 1px solid rgba(116, 198, 255, 0.4);
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(22, 48, 77, 0.75), rgba(13, 30, 47, 0.75));
    color: #bfe9ff;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    padding: 7px 12px;
    margin: -2px 0 6px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.member-directory-trigger--intro {
    margin-top: 8px;
}

.member-directory-trigger:hover {
    transform: translateY(-1px);
    border-color: rgba(106, 242, 220, 0.88);
    color: #e7fcff;
    box-shadow: 0 0 0 3px rgba(100, 240, 220, 0.14), 0 8px 20px rgba(8, 20, 34, 0.4);
}

.member-directory-trigger:focus-visible {
    outline: 2px solid rgba(105, 239, 220, 0.95);
    outline-offset: 2px;
}

.check-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    border: 1px solid rgba(144, 195, 255, 0.22);
    border-radius: 10px;
    background: rgba(9, 23, 38, 0.56);
    padding: 10px 12px;
    font-size: 0.88rem;
    color: #cde0f4;
}

.check-row input[type="checkbox"] {
    margin-top: 2px;
    accent-color: #59d6ff;
}

.check-row a {
    color: #9fd8ff;
}

.check-row a:hover {
    color: #dcf3ff;
}

.tek-apply-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 18, 34, 0.52);
    z-index: 2147483600;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.tek-apply-modal-overlay[hidden] {
    display: none;
}

.tek-apply-modal {
    width: min(560px, 96vw);
    background: #ffffff;
    border: 1px solid #d8e3f3;
    border-radius: 16px;
    box-shadow: 0 18px 48px rgba(12, 31, 60, 0.32);
    padding: 16px;
}

.tek-apply-modal h3 {
    margin: 0 0 10px;
    font-size: 22px;
    color: #143a6e;
    font-weight: 800;
}

.tek-apply-modal p {
    margin: 0 0 12px;
    color: #2b4466;
    font-size: 14px;
    line-height: 1.45;
}

.tek-apply-modal pre {
    margin: 0;
    border: 1px solid #d7e3f5;
    background: #f7faff;
    border-radius: 10px;
    padding: 10px;
    font-size: 12px;
    white-space: pre-wrap;
    word-break: break-word;
    color: #18365f;
}

.tek-apply-modal-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 12px;
}

.tek-apply-modal-close {
    border: 1px solid #cad9ef;
    border-radius: 10px;
    background: #f6f9ff;
    color: #224d83;
    font-weight: 700;
    padding: 7px 12px;
    cursor: pointer;
}

.tek-apply-modal-close:hover {
    background: #ecf3ff;
}

.member-directory-overlay {
    position: fixed;
    inset: 0;
    z-index: 2147483601;
    display: grid;
    place-items: center;
    padding: 16px;
    background: rgba(3, 10, 20, 0.66);
    backdrop-filter: blur(3px);
}

.member-directory-overlay[hidden] {
    display: none;
}

.member-directory-modal {
    width: min(760px, 96vw);
    max-height: min(82vh, 760px);
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid rgba(113, 194, 255, 0.4);
    background:
        radial-gradient(1200px 260px at 0% 0%, rgba(54, 160, 255, 0.1), transparent 58%),
        linear-gradient(170deg, #0b1b2f, #071426);
    box-shadow: 0 26px 64px rgba(1, 8, 16, 0.62);
    animation: member-directory-pop 0.24s ease;
}

@keyframes member-directory-pop {
    from {
        opacity: 0;
        transform: translateY(8px) scale(0.985);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.member-directory-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(113, 194, 255, 0.27);
}

.member-directory-head h3 {
    margin: 0;
    font-size: clamp(1rem, 2.4vw, 1.26rem);
    color: #e8f7ff;
}

.member-directory-close {
    border: 1px solid rgba(131, 197, 255, 0.45);
    border-radius: 10px;
    background: rgba(8, 26, 42, 0.72);
    color: #d8f3ff;
    width: 34px;
    height: 34px;
    cursor: pointer;
    transition: transform 0.16s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.member-directory-close:hover {
    transform: translateY(-1px);
    border-color: rgba(106, 242, 220, 0.9);
    background: rgba(18, 45, 67, 0.82);
}

.member-directory-subtitle {
    margin: 0;
    padding: 10px 16px 0;
    color: #9cc1df;
    font-size: 0.84rem;
}

.member-directory-search-wrap {
    padding: 10px 16px 0;
}

.member-directory-search-input {
    width: 100%;
    border: 1px solid rgba(111, 188, 249, 0.42);
    background: linear-gradient(180deg, rgba(8, 24, 40, 0.92), rgba(7, 22, 35, 0.92));
    color: #e9f7ff;
    border-radius: 12px;
    padding: 11px 12px;
    outline: none;
    font-size: 0.88rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.member-directory-search-input::placeholder {
    color: #87aac8;
}

.member-directory-search-input:focus {
    border-color: rgba(101, 239, 220, 0.9);
    box-shadow: 0 0 0 3px rgba(99, 238, 219, 0.16), 0 8px 22px rgba(2, 10, 18, 0.44);
    transform: translateY(-1px);
}

.member-directory-body {
    padding: 12px 16px 16px;
    max-height: calc(min(82vh, 760px) - 92px);
    overflow: auto;
}

.member-directory-state {
    margin: 8px 0;
    color: #bdd8ef;
}

.member-directory-state--error {
    color: #ffb9b9;
}

.member-directory-list {
    display: grid;
    gap: 10px;
}

.member-directory-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 11px 12px;
    border-radius: 12px;
    border: 1px solid rgba(103, 179, 242, 0.3);
    background: rgba(9, 28, 46, 0.62);
    transition: transform 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

.member-directory-item:hover {
    transform: translateY(-1px);
    border-color: rgba(111, 237, 220, 0.68);
    background: rgba(13, 36, 56, 0.86);
}

.member-directory-item strong {
    color: #e9f5ff;
    font-size: 0.92rem;
    font-weight: 700;
}

.member-directory-link {
    color: #8fe9ff;
    text-decoration: none;
    font-size: 0.84rem;
    white-space: nowrap;
}

.member-directory-link:hover {
    color: #d2fbff;
    text-decoration: underline;
}

.member-directory-link--empty {
    color: #91aac4;
    pointer-events: none;
}

@media (max-width: 980px) {
    .register-shell {
        grid-template-columns: 1fr;
    }

    .card-top--register {
        margin-bottom: 8px;
    }

    .register-card {
        min-height: auto;
        align-self: auto;
    }

    .register-content {
        padding: 14px 18px 18px;
    }

    .register-tabs {
        overflow-x: auto;
        border-radius: 18px 18px 0 0;
        scrollbar-width: thin;
    }

    .register-tab {
        flex: 0 0 auto;
        min-width: 160px;
        font-size: 0.82rem;
        padding: 10px 12px;
    }

    .member-directory-item {
        align-items: flex-start;
        flex-direction: column;
    }

    .member-directory-link {
        white-space: normal;
    }
}

.approved-btn--small {
    font-size: 0.82rem;
    padding: 8px 12px;
    min-height: 34px;
}

.language-block-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.language-block-subtitle {
    margin-top: 8px;
}

.language-cards-list {
    margin-top: 10px;
    display: grid;
    gap: 8px;
}

.language-cards-empty {
    color: #56708b;
    font-size: 0.92rem;
}

.language-tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 6px 0 10px;
}

.language-tag {
    border: 1px solid #cfe2f8;
    background: #f4f9ff;
    border-radius: 999px;
    padding: 5px 10px;
    font-size: 0.82rem;
    color: #2e4d6d;
}

.language-tag--other {
    background: #fff7eb;
    border-color: #f1d4a7;
    color: #6d4b1f;
}

.language-tag--empty {
    opacity: 0.7;
}

.language-card-item {
    border: 1px solid #cddff6;
    border-radius: 10px;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    background: #f8fbff;
}

.language-card-item__main p {
    margin: 4px 0 0;
    color: #3f5c79;
    font-size: 0.88rem;
}

.language-card-item__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-content: flex-start;
    justify-content: flex-end;
}

.language-pill-card {
    border: 1px solid #cddff6;
    border-radius: 12px;
    background:
        radial-gradient(220px 90px at 0% 0%, rgba(60, 139, 223, 0.12), transparent 65%),
        linear-gradient(180deg, #fbfdff 0%, #f4f9ff 100%);
    padding: 12px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.language-pill-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
    color: #2f4f71;
}

.language-pill-card__head strong {
    font-size: 0.9rem;
}

.language-pill-card__head small {
    font-size: 0.78rem;
    color: #5f7b99;
    border: 1px solid #d5e5f8;
    border-radius: 999px;
    padding: 3px 8px;
    background: #ffffff;
}

.language-pill-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.language-modal-inline-list {
    margin-top: 12px;
}

.language-pill-chip {
    position: relative;
    border: 1px solid #cfe2f8;
    background: #f4f9ff;
    color: #2e4d6d;
    border-radius: 999px;
    font-size: 0.82rem;
    padding: 7px 24px 7px 11px;
    cursor: pointer;
    min-height: 32px;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 2px 8px rgba(40, 90, 140, 0.08);
    transition: border-color 0.16s ease, background 0.16s ease, transform 0.16s ease;
}

.language-pill-chip:hover {
    border-color: #a8c8e9;
    background: #edf6ff;
    transform: translateY(-1px);
}

.language-pill-chip--other {
    background: #fff7eb;
    border-color: #f1d4a7;
    color: #6d4b1f;
}

.language-pill-chip__label {
    pointer-events: none;
}

.language-pill-chip__x {
    position: absolute;
    top: 3px;
    right: 6px;
    width: 14px;
    height: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    color: #8c2a2a;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(201, 99, 99, 0.4);
    pointer-events: none;
    box-shadow: 0 1px 4px rgba(141, 56, 56, 0.15);
    transform: translateY(-0.2px);
}

.language-delete-modal {
    position: fixed;
    inset: 0;
    z-index: 1600;
}

.language-delete-modal[hidden] {
    display: none !important;
}

.language-delete-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 18, 30, 0.58);
}

.language-delete-modal__card {
    position: relative;
    width: min(440px, calc(100vw - 24px));
    margin: 14vh auto 0;
    border: 1px solid #c7dbf2;
    border-radius: 14px;
    background:
        radial-gradient(260px 100px at 0% 0%, rgba(76, 160, 238, 0.1), transparent 65%),
        #ffffff;
    box-shadow: 0 22px 52px rgba(7, 25, 44, 0.34);
    padding: 14px;
}

.language-delete-modal__card h4 {
    margin: 0 0 8px;
    color: #183f67;
    font-size: 1rem;
}

.language-delete-modal__card p {
    margin: 0 0 10px;
    color: #2d4e70;
    font-size: 0.9rem;
}

.language-delete-modal__actions {
    margin-top: 8px;
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

.language-delete-modal .approved-form-feedback {
    max-width: 100%;
    margin-right: 0;
    margin-bottom: 0;
}

.language-modal[hidden] {
    display: none !important;
}

.language-modal {
    position: fixed;
    inset: 0;
    z-index: 1400;
}

.language-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 26, 44, 0.56);
}

.language-modal__card {
    position: relative;
    width: min(780px, calc(100vw - 24px));
    margin: 3vh auto;
    background: #fff;
    border-radius: 14px;
    border: 1px solid #c3d9f1;
    max-height: 94vh;
    display: flex;
    flex-direction: column;
}

.language-modal__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #dce9f6;
    padding: 12px 16px;
}

.language-modal__head h3 {
    margin: 0;
    color: #173a5f;
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: 0;
}

.language-modal__steps {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    padding: 10px 16px 0;
}

.language-step-pill {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 58px;
    padding: 8px 10px;
    border: 1px solid #c7d8ea;
    border-radius: 12px;
    background: linear-gradient(180deg, #f8fbff 0%, #eef4fb 100%);
    color: #2a4768;
    font-size: 0.92rem;
    font-weight: 700;
    text-align: center;
    line-height: 1.25;
    box-shadow: 0 4px 12px rgba(18, 66, 117, 0.08);
}

.language-step-pill.is-active {
    color: #0f3c6d;
    border-color: #5d97d1;
    background: linear-gradient(180deg, #edf6ff 0%, #dbeeff 100%);
    box-shadow: 0 8px 18px rgba(17, 79, 140, 0.18);
}

.language-modal__body {
    padding: 14px 16px;
    overflow: auto;
}

.language-step {
    display: none;
}

.language-step.is-active {
    display: block;
}

.language-step-title {
    margin: 0 0 10px;
    font-weight: 700;
    color: #2d4662;
}

.language-step-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.language-step-head .language-step-title {
    margin: 0;
}

.language-other-field {
    margin-top: 14px;
}

.language-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.language-grid--cefr {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.language-option {
    border: 1px solid #d2e3f6;
    border-radius: 10px;
    padding: 9px 10px;
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: 0.9rem;
    color: #274564;
    background: #f8fbff;
}

.language-option--stack {
    align-items: flex-start;
    gap: 10px;
}

.language-option__title {
    display: block;
    font-size: 0.9rem;
    color: #1f3f61;
}

.language-option__hint {
    display: block;
    margin-top: 4px;
    font-size: 0.78rem;
    line-height: 1.35;
    color: #4f6985;
}

.language-grid--cefr.is-compact .language-option__hint {
    display: none;
}

.certificate-details {
    margin-top: 10px;
}

.language-modal .field > span {
    color: #365978;
    font-weight: 700;
}

.language-modal .field input.approved-field,
.language-modal .field select.approved-field,
.language-modal .field textarea.approved-field {
    background: #ffffff;
    color: #173b5e;
    border-color: rgba(120, 176, 224, 0.58);
}

.language-modal .field input.approved-field::placeholder,
.language-modal .field textarea.approved-field::placeholder {
    color: #6b86a1;
}

.language-modal .field input.approved-field:focus,
.language-modal .field select.approved-field:focus,
.language-modal .field textarea.approved-field:focus {
    border-color: #3a99e5;
    box-shadow: 0 0 0 3px rgba(34, 121, 191, 0.15);
}

.language-modal__foot {
    border-top: 1px solid #dce9f6;
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.language-modal__actions {
    display: flex;
    gap: 8px;
}

@media (max-width: 760px) {
    .language-modal__steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .language-grid,
    .language-grid--cefr {
        grid-template-columns: 1fr;
    }

    .language-card-item {
        flex-direction: column;
    }
}

.hobby-block-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.hobby-block-subtitle {
    margin-top: 8px;
}

.hobby-summary-list {
    margin-top: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hobby-summary-chip {
    border: 1px solid #cfe2f8;
    background: #f4f9ff;
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 0.82rem;
    color: #2e4d6d;
}

.hobby-summary-empty {
    color: #617f9f;
    font-size: 0.92rem;
}

.hobby-modal[hidden] {
    display: none !important;
}

.hobby-modal {
    position: fixed;
    inset: 0;
    z-index: 1500;
}

.hobby-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(6, 21, 38, 0.58);
}

.hobby-modal__card {
    position: relative;
    width: min(980px, calc(100vw - 24px));
    margin: 2vh auto;
    border: 1px solid #c2d8ee;
    border-radius: 14px;
    background: #fff;
    max-height: 96vh;
    display: flex;
    flex-direction: column;
}

.hobby-modal__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid #d9e8f6;
}

.hobby-modal__steps {
    padding: 10px 16px 0;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.hobby-step-pill {
    border: 1px solid #c4d9ef;
    border-radius: 999px;
    padding: 5px 10px;
    color: #486a8a;
    font-size: 0.78rem;
}

.hobby-step-pill.is-active {
    background: #2a75d6;
    color: #fff;
    border-color: #2a75d6;
}

.hobby-modal__body {
    overflow: auto;
    padding: 12px 16px;
}

.hobby-step {
    display: none;
}

.hobby-step.is-active {
    display: block;
}

.hobby-counter-wrap {
    margin-bottom: 10px;
}

.hobby-counter {
    color: #1f65be;
}

.hobby-counter.is-warning {
    color: #bd7e04;
}

.hobby-counter.is-limit {
    color: #1d8a4a;
}

.hobby-category-list {
    display: grid;
    gap: 10px;
}

.hobby-category {
    border: 1px solid #d5e4f3;
    border-radius: 10px;
    background: #f8fbff;
    overflow: hidden;
}

.hobby-category__head {
    width: 100%;
    border: 0;
    background: transparent;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    color: #2f4f71;
    font-weight: 700;
    cursor: pointer;
}

.hobby-category__head em {
    font-style: normal;
    font-size: 0.8rem;
    color: #4f6e8f;
}

.hobby-category__body {
    display: none;
    padding: 0 10px 10px;
    gap: 8px;
    flex-wrap: wrap;
}

.hobby-category.is-open .hobby-category__body {
    display: flex;
}

.hobby-pill {
    border: 1px solid #b8d2ee;
    border-radius: 999px;
    background: #fff;
    color: #33597e;
    font-size: 0.82rem;
    padding: 6px 10px;
    cursor: pointer;
}

.hobby-pill.is-selected {
    border-color: #2f79db;
    background: #2f79db;
    color: #fff;
}

.hobby-pill.is-disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.hobby-pill.is-shake {
    animation: hobby-shake 0.28s ease;
}

@keyframes hobby-shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-2px); }
    75% { transform: translateX(2px); }
}

.hobby-selected {
    margin-top: 14px;
    border-top: 1px solid #dbe9f7;
    padding-top: 10px;
}

.hobby-selected h5 {
    margin: 0 0 8px;
    color: #2c4e6f;
}

.hobby-selected-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hobby-selected-chip {
    border: 1px solid #8fb8e5;
    border-radius: 999px;
    background: #eaf4ff;
    color: #2b537d;
    font-size: 0.8rem;
    padding: 6px 10px;
    cursor: pointer;
}

.hobby-selected-empty {
    color: #6d88a4;
    font-size: 0.9rem;
}

.hobby-step-title {
    margin: 0 0 10px;
    color: #2f506f;
    font-weight: 700;
}

.hobby-mentor-list {
    display: grid;
    gap: 8px;
}

.hobby-mentor-item {
    border: 1px solid #d5e3f3;
    border-radius: 10px;
    padding: 10px 12px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 6px 12px;
    align-items: center;
    background: #f8fbff;
}

.hobby-mentor-item span {
    color: #2f5071;
    font-weight: 600;
}

.hobby-mentor-item small {
    grid-column: 1 / 2;
    color: #607e9c;
}

.hobby-modal__foot {
    border-top: 1px solid #d9e8f6;
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.hobby-modal__actions {
    display: flex;
    gap: 8px;
}

@media (max-width: 760px) {
    .hobby-mentor-item {
        grid-template-columns: 1fr;
    }
}

.education-cards-list {
    margin-top: 10px;
    display: grid;
    gap: 10px;
}

.education-card {
    border: 1px solid #d4e4f7;
    border-radius: 12px;
    background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
    padding: 12px;
}

.education-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
}

.education-card__head strong {
    color: #1b456f;
}

.education-card__meta {
    color: #496887;
    font-size: 0.83rem;
}

.education-card__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.education-card__chip {
    border: 1px solid #c9ddf3;
    background: #eef6ff;
    color: #24507d;
    border-radius: 999px;
    font-size: 0.78rem;
    padding: 5px 10px;
}

.education-card__actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 10px;
}

.education-modal[hidden] {
    display: none !important;
}

.education-modal {
    position: fixed;
    inset: 0;
    z-index: 1580;
}

.education-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(9, 23, 40, 0.56);
}

.education-modal__card {
    position: relative;
    width: min(760px, calc(100vw - 24px));
    margin: 4vh auto 0;
    border: 1px solid #c3dbf3;
    border-radius: 14px;
    background: linear-gradient(180deg, #fbfdff 0%, #f4f9ff 100%);
    box-shadow: 0 28px 58px rgba(8, 24, 42, 0.34);
    max-height: 92vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    color-scheme: light;
}

.education-modal__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 14px 16px;
    border-bottom: 1px solid #deebf8;
}

.education-modal__head h3 {
    margin: 0;
    color: #173f68;
}

.education-modal__steps {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    padding: 12px 16px 0;
}

.education-step-pill {
    border-radius: 999px;
    border: 1px solid #b9d5f2;
    color: #35597d;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 5px 11px;
    background: #edf5ff;
}

.education-step-pill.is-active {
    color: #114473;
    border-color: #6ca8df;
    background: linear-gradient(180deg, #eaf5ff 0%, #dceeff 100%);
    font-weight: 700;
    box-shadow: 0 6px 14px rgba(18, 86, 151, 0.12);
}

.education-modal__body {
    overflow: auto;
    padding: 12px 16px;
}

.education-step {
    display: none;
}

.education-step.is-active {
    display: grid;
    gap: 10px;
}

.education-inline-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.education-modal__foot {
    border-top: 1px solid #deebf8;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.education-modal__actions {
    display: flex;
    gap: 8px;
}

.education-modal .field > span {
    color: #1f4b74;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.education-modal .approved-help {
    color: #2f5e8a;
    font-weight: 600;
}

.education-modal .field input.approved-field,
.education-modal .field select.approved-field,
.education-modal .field textarea.approved-field {
    background: #ffffff !important;
    color: #0f3b63 !important;
    border-color: #90b9e0 !important;
    min-height: 44px;
    font-size: 0.98rem;
    font-weight: 600;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
    -webkit-text-fill-color: #0f3b63 !important;
}

.education-modal .field input.approved-field::placeholder,
.education-modal .field textarea.approved-field::placeholder {
    color: #6284a5 !important;
    opacity: 1;
}

.education-modal .field input.approved-field:focus,
.education-modal .field select.approved-field:focus,
.education-modal .field textarea.approved-field:focus {
    border-color: #1876cc !important;
    box-shadow: 0 0 0 3px rgba(24, 118, 204, 0.17), 0 4px 14px rgba(20, 87, 145, 0.08) !important;
}

.education-modal .field input.approved-field:-webkit-autofill,
.education-modal .field textarea.approved-field:-webkit-autofill,
.education-modal .field select.approved-field:-webkit-autofill {
    -webkit-text-fill-color: #0f3b63 !important;
    box-shadow: 0 0 0px 1000px #ffffff inset !important;
}

.education-modal .language-option {
    color: #244e75;
    border-color: #b8d3ed;
    background: #f7fbff;
}

.education-modal .language-option input[type="checkbox"],
.education-modal .language-option input[type="radio"] {
    accent-color: #1f7fd8;
}

@media (max-width: 768px) {
    .education-inline-grid {
        grid-template-columns: 1fr;
    }
}

.article-link-row {
    border: 1px solid #d7e5f6;
    border-radius: 10px;
    padding: 10px;
    background: #f8fbff;
    display: grid;
    gap: 8px;
    margin-bottom: 8px;
}

.article-link-row__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}
