/* BJS Resume Manager - Frontend Styles */

.bjs-resume-form-wrapper,
.bjs-employer-dashboard,
.bjs-wallet-dashboard,
.bjs-admin-dashboard {
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    max-width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 5px rgba(0, 115, 170, 0.3);
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.btn-primary {
    background: #0073aa;
    color: #fff;
}

.btn-primary:hover {
    background: #005a87;
}

.btn-primary:active {
    transform: scale(0.98);
}

.bjs-resume-actions {
    display: flex;
    align-items: stretch;
    gap: 12px;
    flex-wrap: wrap;
}

.bjs-resume-action-btn {
    min-height: 56px;
    padding: 12px 20px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    box-sizing: border-box;
}

.bjs-resume-action-btn--delete {
    flex: 0 1 220px;
    border: 1px solid #c0392b;
    background: #fff5f3;
    color: #c0392b;
}

.bjs-resume-action-btn--primary.button.button-primary {
    flex: 1 1 280px;
    min-width: 220px;
    background: #f5a623;
    color: #fff;
    border: none;
    box-shadow: none;
}

.bjs-resume-action-btn--primary.button.button-primary:hover,
.bjs-resume-action-btn--primary.button.button-primary:focus {
    background: #e09714;
    color: #fff;
}

.bjs-resume-action-btn--primary.button.button-primary:active {
    background: #cc8500;
}

.dashboard-header {
    border-bottom: 2px solid #0073aa;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.dashboard-header h1 {
    margin: 0;
    color: #333;
}

.search-box {
    margin: 15px 0;
}

.search-box input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.wallet-section,
.resumes-section {
    margin: 20px 0;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 4px;
}

.wallet-section h2,
.resumes-section h2 {
    margin-top: 0;
    color: #333;
}

.wallet-balance {
    font-size: 24px;
    font-weight: bold;
    color: #0073aa;
    padding: 15px;
    background: #f0f8ff;
    border-radius: 4px;
    margin: 10px 0;
}

.transaction-history {
    margin-top: 20px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

th, td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

th {
    background: #f5f5f5;
    font-weight: 600;
    color: #333;
}

tr:hover {
    background: #f9f9f9;
}

.status-active {
    color: #28a745;
    font-weight: 500;
}

.status-pending {
    color: #ffc107;
    font-weight: 500;
}

.status-inactive {
    color: #dc3545;
    font-weight: 500;
}

#bjs-resumes-list {
    display: grid;
    gap: 15px;
    margin-top: 15px;
}

.resume-item {
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    transition: all 0.3s ease;
}

.resume-item:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.resume-item h3 {
    margin: 0 0 10px 0;
    color: #333;
}

.resume-item p {
    color: #666;
    margin: 5px 0;
}

.download-btn {
    margin-top: 10px;
}

.bjs-help-accordion {
    margin-top: 15px;
}

.bjs-help-accordion__item {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
    margin-bottom: 10px;
    overflow: hidden;
}

.bjs-help-accordion__header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    background: #f8fafc;
    border: 0;
    cursor: pointer;
    text-align: left;
    font: inherit;
}

.bjs-help-accordion__header:hover {
    background: #f1f5f9;
}

.bjs-help-accordion__title {
    font-weight: 600;
    color: #0f172a;
}

.bjs-help-accordion__icon {
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #e2e8f0;
    color: #0f172a;
    font-weight: 700;
    line-height: 1;
}

.bjs-help-accordion__item.is-open .bjs-help-accordion__icon {
    background: #0073aa;
    color: #fff;
}

.bjs-help-accordion__panel {
    padding: 12px 14px;
    color: #334155;
    line-height: 1.6;
}

.bjs-help-accordion__content strong {
    color: #0f172a;
}

.bjs-searchable {
    position: relative;
    width: 100%;
}

.bjs-searchable__native {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.bjs-searchable__control {
    position: relative;
}

.bjs-searchable__input {
    width: 100%;
    max-width: 100%;
    padding: 10px 42px 10px 12px;
    border: 1px solid #d5d9dd;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 14px;
    color: #333;
    background: #fff;
}

.bjs-searchable__input:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.12);
}

.bjs-searchable__toggle {
    position: absolute;
    top: 50%;
    right: 6px;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #51606d;
    cursor: pointer;
}

.bjs-searchable__toggle:hover {
    background: #f3f6f8;
}

.bjs-searchable__menu {
    position: absolute;
    top: calc(100% - 1px);
    left: 0;
    right: 0;
    z-index: 40;
    max-height: 260px;
    overflow-y: auto;
    margin-top: 0;
    padding: 2px;
    border: 1px solid #d5d9dd;
    border-radius: 0 0 8px 8px;
    background: #fff;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.14);
}

.bjs-searchable__option {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 6px 10px;
    border: 0;
    border-radius: 5px;
    background: transparent;
    color: #1f2933;
    cursor: pointer;
    text-align: left;
    font: inherit;
    line-height: 1.25;
}

.bjs-searchable__option:hover,
.bjs-searchable__option.is-active {
    background: #eef6fb;
}

.bjs-searchable__option.is-custom {
    color: #0b5d80;
}

.bjs-searchable__option-label {
    flex: 1 1 auto;
}

.bjs-searchable__option-meta {
    flex: 0 0 auto;
    font-size: 12px;
    color: #607080;
}

.bjs-searchable__empty {
    padding: 8px 10px;
    color: #607080;
    font-size: 13px;
}

.bjs-searchable__status {
    min-height: 0;
    margin-top: 4px;
    color: #607080;
    font-size: 12px;
}

.bjs-searchable__status:empty {
    display: none;
}

@media (max-width: 768px) {
    .bjs-resume-form-wrapper,
    .bjs-employer-dashboard,
    .bjs-wallet-dashboard {
        margin: 10px;
        padding: 15px;
    }

    .bjs-resume-actions,
    .bjs-rm-form-actions {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        max-width: 100%;
    }

    .bjs-resume-action-btn,
    .bjs-resume-action-btn--delete,
    .bjs-resume-action-btn--primary.button.button-primary {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        flex: 0 0 auto;
        box-sizing: border-box;
    }

    .btn {
        padding: 8px 15px;
        font-size: 13px;
    }

    table {
        font-size: 12px;
    }

    th, td {
        padding: 8px;
    }
}

@keyframes bjs-spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.bjs-rm-form-ui,
.bjs-rm-employer-access-ui {
    --bjs-rm-bg: #f4f6fb;
    --bjs-rm-card: #ffffff;
    --bjs-rm-text: #172033;
    --bjs-rm-muted: #60708a;
    --bjs-rm-border: #dbe2f0;
    --bjs-rm-border-strong: #c4cde0;
    --bjs-rm-accent: #7FB141;
    --bjs-rm-accent-strong: #648C33;
    --bjs-rm-accent-soft: rgba(127, 177, 65, 0.12);
    --bjs-rm-danger: #d14360;
    --bjs-rm-success: #207a52;
    --bjs-rm-shadow: 0 18px 45px rgba(23, 32, 51, 0.08);
    --bjs-rm-shadow-soft: 0 10px 24px rgba(23, 32, 51, 0.06);
    max-width: 1120px;
    margin: 24px auto;
    padding: 0 16px;
    color: var(--bjs-rm-text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.bjs-rm-form-shell {
    padding: 20px 0 8px;
    border-radius: 28px;
    background:
        radial-gradient(circle at top left, rgba(127, 177, 65, 0.08), transparent 30%),
        linear-gradient(180deg, #fbfcff 0%, var(--bjs-rm-bg) 100%);
}

.bjs-rm-form-hero {
    padding: 12px 8px 28px;
    text-align: center;
}

.bjs-rm-form-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(127, 177, 65, 0.1);
    color: var(--bjs-rm-accent-strong);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.bjs-rm-form-hero__title {
    margin: 14px 0 10px;
    color: var(--bjs-rm-text);
    font-size: clamp(1.9rem, 4vw, 2.8rem);
    line-height: 1.1;
}

.bjs-rm-form-hero__intro {
    max-width: 720px;
    margin: 0 auto;
    color: var(--bjs-rm-muted);
    font-size: 15px;
    line-height: 1.7;
}

.bjs-rm-form {
    display: grid;
    gap: 20px;
}

.bjs-rm-form-section {
    padding: 22px 18px;
    border: 1px solid rgba(219, 226, 240, 0.95);
    border-radius: 22px;
    background: var(--bjs-rm-card);
    box-shadow: var(--bjs-rm-shadow-soft);
}

.bjs-rm-section-heading {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 20px;
}

.bjs-rm-section-heading__icon {
    flex: 0 0 14px;
    width: 14px;
    height: 14px;
    margin-top: 7px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--bjs-rm-accent), #648C33);
    box-shadow: 0 0 0 8px rgba(127, 177, 65, 0.1);
}

.bjs-rm-section-heading__title {
    margin: 0 0 4px;
    color: var(--bjs-rm-text);
    font-size: 1.15rem;
    line-height: 1.3;
}

.bjs-rm-section-heading__text {
    margin: 0;
    color: var(--bjs-rm-muted);
    font-size: 14px;
    line-height: 1.6;
}

.bjs-rm-form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

.bjs-rm-field {
    min-width: 0;
}

.bjs-rm-field--full {
    grid-column: 1 / -1;
}

.bjs-rm-field__label {
    display: block;
    margin-bottom: 8px;
    color: var(--bjs-rm-text);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
}

.bjs-rm-required {
    color: var(--bjs-rm-accent);
}

.bjs-rm-input,
.bjs-rm-form-ui .bjs-searchable__input {
    width: 100%;
    min-height: 52px;
    padding: 14px 16px;
    border: 1px solid var(--bjs-rm-border);
    border-radius: 14px;
    box-sizing: border-box;
    color: var(--bjs-rm-text);
    background: #fbfcff;
    font-size: 15px;
    line-height: 1.4;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.bjs-rm-input::placeholder,
.bjs-rm-form-ui .bjs-searchable__input::placeholder {
    color: #8592a9;
}

.bjs-rm-input:hover,
.bjs-rm-form-ui .bjs-searchable__input:hover {
    border-color: var(--bjs-rm-border-strong);
    background: #ffffff;
}

.bjs-rm-input:focus,
.bjs-rm-form-ui .bjs-searchable__input:focus {
    outline: none;
    border-color: var(--bjs-rm-accent);
    box-shadow: 0 0 0 4px var(--bjs-rm-accent-soft);
    background: #ffffff;
}

.bjs-rm-input[readonly],
.bjs-rm-input--readonly {
    color: #65748b;
    background: #eef2f8;
    cursor: not-allowed;
}

select.bjs-rm-input {
    padding-right: 42px;
    appearance: none;
    background-image:
        linear-gradient(45deg, transparent 50%, #72809a 50%),
        linear-gradient(135deg, #72809a 50%, transparent 50%);
    background-position:
        calc(100% - 18px) calc(50% - 1px),
        calc(100% - 13px) calc(50% - 1px);
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
}

.bjs-rm-input[type="url"],
.bjs-rm-input[type="email"],
.bjs-rm-input[type="text"],
.bjs-rm-input[type="tel"] {
    overflow: hidden;
    text-overflow: ellipsis;
}

.bjs-rm-field__hint {
    display: block;
    margin-top: 8px;
    color: var(--bjs-rm-muted);
    font-size: 12px;
    line-height: 1.6;
}

.bjs-rm-field__error {
    margin-top: 8px;
    color: var(--bjs-rm-danger);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
}

.bjs-rm-inline-notice {
    padding: 14px 16px;
    border: 1px solid rgba(127, 177, 65, 0.16);
    border-radius: 16px;
    background: rgba(127, 177, 65, 0.08);
    color: var(--bjs-rm-accent-strong);
    font-size: 14px;
    font-weight: 600;
}

.bjs-rm-phone-verification {
    margin-top: 12px;
    padding: 14px 16px;
    border: 1px solid rgba(121, 142, 171, 0.22);
    border-radius: 16px;
    background: linear-gradient(180deg, #fbfcff 0%, #f4f7fc 100%);
}

.bjs-rm-phone-verification__meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.bjs-rm-phone-verification__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    padding: 6px 10px;
    border-radius: 999px;
    background: #eef2f8;
    color: #42526e;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.bjs-rm-phone-verification[data-state="verified"] .bjs-rm-phone-verification__badge {
    background: rgba(39, 174, 96, 0.12);
    color: #177245;
}

.bjs-rm-phone-verification[data-ui-state="pending_whatsapp"] .bjs-rm-phone-verification__badge {
    background: rgba(59, 130, 246, 0.12);
    color: #1d4ed8;
}

.bjs-rm-phone-verification[data-ui-state="rejected"] .bjs-rm-phone-verification__badge,
.bjs-rm-phone-verification[data-ui-state="expired"] .bjs-rm-phone-verification__badge,
.bjs-rm-phone-verification[data-ui-state="not_verified"] .bjs-rm-phone-verification__badge,
.bjs-rm-phone-verification[data-ui-state="changed_number"] .bjs-rm-phone-verification__badge {
    background: rgba(239, 68, 68, 0.12);
    color: #b91c1c;
}

.bjs-rm-phone-verification__message {
    margin: 0;
    color: var(--bjs-rm-text);
    font-size: 13px;
    line-height: 1.6;
}

.bjs-rm-phone-verification[data-state="verified"] .bjs-rm-phone-verification__message {
    color: #177245;
}

.bjs-rm-phone-verification[data-ui-state="pending_whatsapp"] .bjs-rm-phone-verification__message {
    color: #1d4ed8;
}

.bjs-rm-phone-verification[data-ui-state="rejected"] .bjs-rm-phone-verification__message,
.bjs-rm-phone-verification[data-ui-state="expired"] .bjs-rm-phone-verification__message,
.bjs-rm-phone-verification[data-ui-state="not_verified"] .bjs-rm-phone-verification__message,
.bjs-rm-phone-verification[data-ui-state="changed_number"] .bjs-rm-phone-verification__message {
    color: #b91c1c;
}

.bjs-rm-phone-verification__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}

.bjs-rm-phone-verification .bjs-resume-action-btn {
    min-width: 180px;
}

.bjs-rm-preference-stack {
    display: grid;
    gap: 16px;
}

.bjs-rm-preference-card {
    padding: 18px;
    border: 1px solid var(--bjs-rm-border);
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
}

.bjs-rm-check-card,
.bjs-rm-toggle-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    cursor: pointer;
}

.bjs-rm-check-card__input,
.bjs-rm-switch__input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.bjs-rm-check-card__box {
    position: relative;
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    margin-top: 2px;
    border: 1.5px solid var(--bjs-rm-border-strong);
    border-radius: 8px;
    background: #fff;
    box-shadow: inset 0 1px 1px rgba(23, 32, 51, 0.04);
    transition: all 0.2s ease;
}

.bjs-rm-check-card__box::after {
    content: "";
    position: absolute;
    top: 4px;
    left: 7px;
    width: 5px;
    height: 10px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    opacity: 0;
    transform: rotate(45deg);
    transition: opacity 0.2s ease;
}

.bjs-rm-check-card__input:focus + .bjs-rm-check-card__box {
    border-color: var(--bjs-rm-accent);
    box-shadow: 0 0 0 4px var(--bjs-rm-accent-soft);
}

.bjs-rm-check-card__input:checked + .bjs-rm-check-card__box {
    border-color: var(--bjs-rm-accent);
    background: var(--bjs-rm-accent);
}

.bjs-rm-check-card__input:checked + .bjs-rm-check-card__box::after {
    opacity: 1;
}

.bjs-rm-check-card__content,
.bjs-rm-toggle-card__copy {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.bjs-rm-check-card__title,
.bjs-rm-toggle-card__title {
    color: var(--bjs-rm-text);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
}

.bjs-rm-check-card__text,
.bjs-rm-toggle-card__text {
    color: var(--bjs-rm-muted);
    font-size: 13px;
    line-height: 1.6;
}

.bjs-rm-toggle-card {
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.bjs-rm-switch {
    position: relative;
    flex: 0 0 auto;
}

.bjs-rm-switch__track {
    position: relative;
    display: inline-flex;
    align-items: center;
    width: 62px;
    height: 36px;
    padding: 4px;
    border-radius: 999px;
    background: #d9e1ef;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.bjs-rm-switch__thumb {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 6px 18px rgba(23, 32, 51, 0.18);
    transition: transform 0.2s ease;
}

.bjs-rm-switch__input:focus + .bjs-rm-switch__track {
    box-shadow: 0 0 0 4px var(--bjs-rm-accent-soft);
}

.bjs-rm-switch__input:checked + .bjs-rm-switch__track {
    background: linear-gradient(135deg, var(--bjs-rm-accent), #648C33);
}

.bjs-rm-switch__input:checked + .bjs-rm-switch__track .bjs-rm-switch__thumb {
    transform: translateX(26px);
}

.bjs-rm-switch__input:disabled + .bjs-rm-switch__track {
    opacity: 0.5;
    cursor: not-allowed;
}

.bjs-rm-visibility-card {
    background:
        linear-gradient(135deg, rgba(127, 177, 65, 0.08), rgba(127, 177, 65, 0.02)),
        #ffffff;
}

.bjs-rm-visibility-status {
    margin-top: 16px;
    padding: 16px;
    border-radius: 16px;
    border: 1px solid transparent;
}

.bjs-rm-visibility-status[data-state="live"] {
    background: rgba(32, 122, 82, 0.1);
    border-color: rgba(32, 122, 82, 0.12);
}

.bjs-rm-visibility-status[data-state="draft"] {
    background: rgba(127, 177, 65, 0.08);
    border-color: rgba(127, 177, 65, 0.12);
}

.bjs-rm-visibility-status[data-state="hidden"] {
    background: rgba(96, 112, 138, 0.1);
    border-color: rgba(96, 112, 138, 0.12);
}

.bjs-rm-visibility-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    color: var(--bjs-rm-text);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.bjs-rm-visibility-badge[data-state="live"] {
    color: var(--bjs-rm-success);
}

.bjs-rm-visibility-badge[data-state="draft"] {
    color: var(--bjs-rm-accent-strong);
}

.bjs-rm-visibility-badge[data-state="hidden"] {
    color: #4b5a72;
}

.bjs-rm-visibility-status__message {
    margin-top: 10px;
    color: var(--bjs-rm-text);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.6;
}

.bjs-rm-messages {
    min-height: 0;
}

.bjs-rm-message {
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid transparent;
    font-size: 14px;
    line-height: 1.6;
    box-shadow: var(--bjs-rm-shadow-soft);
}

.bjs-rm-message strong {
    display: block;
    margin-bottom: 2px;
}

.bjs-rm-message--success {
    border-color: rgba(32, 122, 82, 0.14);
    background: rgba(32, 122, 82, 0.1);
    color: #17593b;
}

.bjs-rm-message--warning {
    border-color: rgba(194, 126, 10, 0.16);
    background: rgba(255, 191, 36, 0.14);
    color: #8a5a00;
}

.bjs-rm-message--error {
    border-color: rgba(209, 67, 96, 0.14);
    background: rgba(209, 67, 96, 0.1);
    color: #8d2740;
}

.bjs-rm-submit-loader {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.84);
    color: var(--bjs-rm-muted);
    font-size: 14px;
    font-weight: 600;
    box-shadow: var(--bjs-rm-shadow-soft);
}

.bjs-rm-submit-loader__spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(127, 177, 65, 0.16);
    border-top-color: var(--bjs-rm-accent);
    border-radius: 50%;
    animation: bjs-spin 0.8s linear infinite;
}

.bjs-rm-form-actions {
    margin-top: 2px;
}

.bjs-rm-form-ui .bjs-resume-actions {
    width: 100%;
    max-width: 100%;
}

.bjs-rm-form-ui .bjs-resume-action-btn,
.bjs-rm-employer-access-ui .bjs-resume-action-btn {
    min-height: 56px;
    border-radius: 16px;
    font-size: 15px;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.bjs-rm-form-ui .bjs-resume-action-btn:focus,
.bjs-rm-employer-access-ui .bjs-resume-action-btn:focus {
    outline: none;
    box-shadow: 0 0 0 4px var(--bjs-rm-accent-soft);
}

.bjs-rm-form-ui .bjs-resume-action-btn--delete,
.bjs-rm-employer-access-ui .bjs-resume-action-btn--delete {
    border-color: #ecc5cf;
    background: #fff4f7;
    color: var(--bjs-rm-danger);
}

.bjs-rm-form-ui .bjs-resume-action-btn--delete:hover,
.bjs-rm-form-ui .bjs-resume-action-btn--delete:focus,
.bjs-rm-employer-access-ui .bjs-resume-action-btn--delete:hover,
.bjs-rm-employer-access-ui .bjs-resume-action-btn--delete:focus {
    border-color: #e4aebc;
    background: #ffecef;
    color: #b73652;
}

.bjs-rm-form-ui .bjs-resume-action-btn--primary.button.button-primary,
.bjs-rm-employer-access-ui .bjs-resume-action-btn--primary.button.button-primary {
    background: linear-gradient(135deg, var(--bjs-rm-accent), #648C33);
    color: #fff;
    box-shadow: 0 14px 28px rgba(127, 177, 65, 0.22);
}

.bjs-rm-form-ui .bjs-resume-action-btn--primary.button.button-primary:hover,
.bjs-rm-form-ui .bjs-resume-action-btn--primary.button.button-primary:focus,
.bjs-rm-employer-access-ui .bjs-resume-action-btn--primary.button.button-primary:hover,
.bjs-rm-employer-access-ui .bjs-resume-action-btn--primary.button.button-primary:focus {
    background: linear-gradient(135deg, var(--bjs-rm-accent-strong), #5a7a2a);
    color: #fff;
    transform: translateY(-1px);
}

.bjs-rm-form-ui .bjs-resume-action-btn--primary.button.button-primary:active,
.bjs-rm-employer-access-ui .bjs-resume-action-btn--primary.button.button-primary:active {
    transform: translateY(0);
}

.bjs-rm-form-ui .bjs-searchable__control {
    position: relative;
}

.bjs-rm-form-ui .bjs-searchable__input {
    padding-right: 48px;
}

.bjs-rm-form-ui .bjs-searchable__toggle {
    right: 10px;
    width: 32px;
    height: 32px;
    color: #6f7d94;
}

.bjs-rm-form-ui .bjs-searchable__toggle:hover {
    background: rgba(127, 177, 65, 0.08);
    color: var(--bjs-rm-accent-strong);
}

.bjs-rm-form-ui .bjs-searchable__menu {
    top: calc(100% + 8px);
    border: 1px solid var(--bjs-rm-border);
    border-radius: 16px;
    box-shadow: var(--bjs-rm-shadow);
}

.bjs-rm-form-ui .bjs-searchable__option {
    min-height: 42px;
    padding: 10px 12px;
    border-radius: 12px;
}

.bjs-rm-form-ui .bjs-searchable__option:hover,
.bjs-rm-form-ui .bjs-searchable__option.is-active {
    background: rgba(127, 177, 65, 0.09);
}

.bjs-rm-form-ui .bjs-searchable__status {
    margin-top: 8px;
    color: var(--bjs-rm-muted);
}

.bjs-rm-form-ui input[type="checkbox"]:disabled,
.bjs-rm-form-ui input:disabled,
.bjs-rm-form-ui select:disabled,
.bjs-rm-form-ui textarea:disabled,
.bjs-rm-form-ui button:disabled,
.bjs-rm-employer-access-ui input[type="checkbox"]:disabled,
.bjs-rm-employer-access-ui input:disabled,
.bjs-rm-employer-access-ui select:disabled,
.bjs-rm-employer-access-ui textarea:disabled,
.bjs-rm-employer-access-ui button:disabled {
    cursor: not-allowed;
}

.bjs-rm-form-ui input:disabled:not([type="checkbox"]),
.bjs-rm-form-ui select:disabled,
.bjs-rm-form-ui textarea:disabled,
.bjs-rm-employer-access-ui input:disabled:not([type="checkbox"]),
.bjs-rm-employer-access-ui select:disabled,
.bjs-rm-employer-access-ui textarea:disabled {
    background: #edf1f7;
    opacity: 0.8;
}

.bjs-rm-employer-access-hero {
    text-align: left;
}

.bjs-rm-employer-access-ui .bjs-rm-form-hero__intro {
    font-size: 16px;
    line-height: 1.55;
}

.bjs-rm-employer-access-ui .bjs-rm-form-section {
    padding: 20px;
}

.bjs-rm-employer-access-hero__heading {
    display: flex;
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
}

.bjs-rm-employer-access-status-badge {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid rgba(219, 226, 240, 0.95);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--bjs-rm-shadow-soft);
}

.bjs-rm-employer-access-status-badge__label {
    color: var(--bjs-rm-muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.bjs-rm-employer-access-status-badge__value {
    font-size: 14px;
    font-weight: 700;
}

.bjs-rm-employer-access-status-badge[data-state="success"] .bjs-rm-employer-access-status-badge__value {
    color: var(--bjs-rm-success);
}

.bjs-rm-employer-access-status-badge[data-state="pending"] .bjs-rm-employer-access-status-badge__value {
    color: #9a6200;
}

.bjs-rm-employer-access-status-badge[data-state="danger"] .bjs-rm-employer-access-status-badge__value {
    color: var(--bjs-rm-danger);
}

.bjs-rm-employer-access-layout {
    align-items: start;
}

.bjs-rm-employer-access-card {
    position: relative;
}

.bjs-rm-employer-access-card--full {
    grid-column: 1 / -1;
}

.bjs-rm-employer-access-ui .bjs-rm-section-heading {
    margin-bottom: 16px;
}

.bjs-rm-employer-access-ui .bjs-rm-section-heading__title {
    font-size: 1.28rem;
    line-height: 1.35;
}

.bjs-rm-employer-access-ui .bjs-rm-section-heading__text {
    font-size: 15px;
    line-height: 1.55;
}

.bjs-rm-employer-access-ui .notice {
    margin: 0;
}

.bjs-rm-employer-access-ui .bjs-rm-message {
    box-shadow: var(--bjs-rm-shadow-soft);
}

.bjs-rm-employer-access-summary {
    display: grid;
    gap: 16px;
    margin-top: 8px;
}

.bjs-rm-employer-access-summary__meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 14px;
}

.bjs-rm-employer-access-summary__item {
    padding: 16px 18px;
    border: 1px solid var(--bjs-rm-border);
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
}

.bjs-rm-employer-access-summary__item strong {
    display: block;
    margin-top: 6px;
    color: var(--bjs-rm-text);
    font-size: 15px;
    line-height: 1.5;
}

.bjs-rm-employer-access-summary__label {
    color: var(--bjs-rm-muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.bjs-rm-employer-access-details {
    border: 1px solid var(--bjs-rm-border);
    border-radius: 18px;
    background: #fbfcff;
}

.bjs-rm-employer-access-details summary {
    cursor: pointer;
    padding: 16px 18px;
    color: var(--bjs-rm-text);
    font-size: 14px;
    font-weight: 700;
}

.bjs-rm-employer-access-details__content {
    padding: 0 18px 18px;
    color: var(--bjs-rm-muted);
    font-size: 14px;
    line-height: 1.7;
}

.bjs-rm-employer-access-details__content p {
    margin: 0 0 10px;
}

.bjs-rm-employer-access-admin-note {
    padding: 16px 18px;
    border-radius: 18px;
    background: rgba(127, 177, 65, 0.08);
    color: var(--bjs-rm-text);
    font-size: 14px;
    line-height: 1.7;
}

.bjs-rm-employer-access-admin-note strong {
    color: var(--bjs-rm-accent-strong);
}

.bjs-rm-employer-access-list {
    display: grid;
    gap: 8px;
    margin: 0;
    padding-left: 18px;
    color: var(--bjs-rm-muted);
    font-size: 15px;
    line-height: 1.55;
}

.bjs-rm-employer-access-list li::marker {
    color: var(--bjs-rm-accent);
}

.bjs-rm-employer-access-payment-layout {
    display: grid;
    gap: 16px;
}

.bjs-rm-employer-access-qr-card {
    display: grid;
    gap: 10px;
    align-content: start;
    padding: 18px;
    border: 1px solid rgba(127, 177, 65, 0.16);
    border-radius: 22px;
    background:
        radial-gradient(circle at top right, rgba(127, 177, 65, 0.12), transparent 32%),
        linear-gradient(180deg, #ffffff 0%, #f7f3ff 100%);
    box-shadow: var(--bjs-rm-shadow-soft);
}

.bjs-rm-employer-access-qr-card__eyebrow {
    display: inline-flex;
    width: fit-content;
    min-height: 32px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(127, 177, 65, 0.12);
    color: var(--bjs-rm-accent-strong);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.bjs-rm-employer-access-qr-card__text,
.bjs-rm-employer-access-qr-card__note {
    margin: 0;
    color: var(--bjs-rm-muted);
    font-size: 15px;
    line-height: 1.55;
}

.bjs-rm-employer-access-qr-card__figure {
    margin: 0;
    padding: 10px;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: inset 0 0 0 1px rgba(219, 226, 240, 0.9);
    text-align: center;
}

.bjs-rm-employer-access-qr-card__image {
    display: inline-block;
    width: min(100%, 230px);
    height: auto;
    border-radius: 14px;
}

.bjs-rm-employer-access-payment-copy {
    display: grid;
    align-content: center;
}

.bjs-rm-employer-access-form-grid {
    margin-top: 2px;
    gap: 16px 20px;
}

.bjs-rm-employer-access-ui .bjs-rm-field__label {
    font-size: 15px;
}

.bjs-rm-employer-access-ui .bjs-rm-field__hint {
    font-size: 13px;
    line-height: 1.7;
}

.bjs-rm-employer-access-ui .bjs-rm-field__error {
    font-size: 14px;
    line-height: 1.55;
}

.bjs-rm-employer-access-ui .bjs-rm-input {
    min-height: 50px;
    padding: 12px 14px;
    font-size: 16px;
}

.bjs-rm-employer-access-ui .bjs-rm-input[aria-invalid="true"] {
    border-color: var(--bjs-rm-danger);
    box-shadow: 0 0 0 4px rgba(211, 47, 47, 0.12);
}

.bjs-rm-employer-access-fieldset {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.bjs-rm-field__hint--spaced {
    margin: -2px 0 0;
}

.bjs-rm-employer-access-option-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.bjs-rm-employer-access-choice {
    position: relative;
    display: block;
    cursor: pointer;
}

.bjs-rm-employer-access-choice input {
    position: absolute;
    top: 18px;
    left: 18px;
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: var(--bjs-rm-accent);
}

.bjs-rm-employer-access-choice__content {
    display: block;
    min-height: 54px;
    padding: 14px 16px 14px 48px;
    border: 1px solid var(--bjs-rm-border);
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.bjs-rm-employer-access-choice:hover .bjs-rm-employer-access-choice__content {
    border-color: var(--bjs-rm-border-strong);
    transform: translateY(-1px);
}

.bjs-rm-employer-access-choice input:focus + .bjs-rm-employer-access-choice__content {
    border-color: var(--bjs-rm-accent);
    box-shadow: 0 0 0 4px var(--bjs-rm-accent-soft);
}

.bjs-rm-employer-access-choice input:checked + .bjs-rm-employer-access-choice__content {
    border-color: rgba(127, 177, 65, 0.42);
    background: linear-gradient(180deg, rgba(127, 177, 65, 0.14) 0%, rgba(127, 177, 65, 0.08) 100%);
    box-shadow: 0 14px 28px rgba(127, 177, 65, 0.12);
}

.bjs-rm-employer-access-ui .bjs-rm-employer-access-choice input[aria-invalid="true"] + .bjs-rm-employer-access-choice__content {
    border-color: var(--bjs-rm-danger);
    box-shadow: 0 0 0 4px rgba(211, 47, 47, 0.12);
}

.bjs-rm-employer-access-choice__title {
    display: block;
    color: var(--bjs-rm-text);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.55;
}

.bjs-rm-employer-access-choice--checkbox .bjs-rm-employer-access-choice__content {
    min-height: 58px;
}

.bjs-rm-employer-access-actions {
    align-items: center;
    margin-top: 16px;
}

.bjs-rm-employer-access-verification-status {
    margin-top: 10px;
    padding: 12px;
}

.bjs-rm-employer-access-verification-actions {
    gap: 10px;
    margin-top: 10px;
}

.bjs-rm-employer-access-disabled-help,
.bjs-rm-employer-access-notice-action {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.bjs-rm-employer-access-disabled-help .bjs-rm-field__hint {
    margin-top: 0;
}

.bjs-rm-employer-access-ui .bjs-rm-employer-access-warning-text {
    color: #b91c1c;
    font-weight: 600;
}

.bjs-rm-employer-access-focus-verification {
    min-height: 38px;
    padding: 8px 14px;
}

.bjs-rm-employer-access-ui .bjs-rm-employer-access-status-badge {
    align-self: flex-start;
}

.bjs-rm-employer-access-actions .bjs-resume-action-btn--primary.button.button-primary {
    min-width: 220px;
}

@media (min-width: 768px) {
    .bjs-rm-form-ui,
    .bjs-rm-employer-access-ui {
        padding: 0 20px;
    }

    .bjs-rm-form-shell {
        padding: 28px 0 12px;
    }

    .bjs-rm-form-section {
        padding: 28px;
    }

    .bjs-rm-form-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    .bjs-rm-employer-access-hero__heading {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }

    .bjs-rm-employer-access-layout {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bjs-rm-employer-access-payment-layout {
        grid-template-columns: minmax(230px, 320px) minmax(0, 1fr);
        align-items: center;
    }

    .bjs-rm-employer-access-form-grid {
        grid-template-rows: auto auto;
        align-items: start;
    }

    .bjs-rm-employer-access-field--organization {
        grid-column: 1;
        grid-row: 1;
    }

    .bjs-rm-employer-access-field--contact {
        grid-column: 1;
        grid-row: 2;
    }

    .bjs-rm-employer-access-field--email {
        grid-column: 2;
        grid-row: 1 / span 2;
    }

    .bjs-rm-employer-access-option-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bjs-rm-employer-access-option-grid--plans {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .bjs-rm-form-shell {
        padding-left: 14px;
        padding-right: 14px;
    }

    .bjs-rm-form-hero {
        padding-bottom: 30px;
    }
}

@media (max-width: 767px) {
    .bjs-rm-form-ui,
    .bjs-rm-employer-access-ui {
        margin: 16px auto;
        padding: 0 10px;
    }

    .bjs-rm-form-shell {
        padding: 12px 0 4px;
        border-radius: 24px;
    }

    .bjs-rm-form-hero {
        padding: 8px 4px 20px;
    }

    .bjs-rm-form-hero__intro {
        font-size: 14px;
    }

    .bjs-rm-form-section {
        padding: 18px 16px;
        border-radius: 20px;
    }

    .bjs-rm-section-heading {
        gap: 12px;
        margin-bottom: 16px;
    }

    .bjs-rm-toggle-card {
        align-items: flex-start;
        flex-direction: column;
    }

    .bjs-rm-toggle-card .bjs-rm-switch {
        align-self: flex-end;
    }

    .bjs-rm-form-ui .bjs-resume-actions,
    .bjs-rm-employer-access-ui .bjs-resume-actions,
    .bjs-rm-form-ui .bjs-rm-form-actions,
    .bjs-rm-employer-access-ui .bjs-rm-form-actions {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        max-width: 100%;
    }

    .bjs-rm-form-ui .bjs-resume-action-btn,
    .bjs-rm-form-ui .bjs-resume-action-btn--delete,
    .bjs-rm-form-ui .bjs-resume-action-btn--primary.button.button-primary,
    .bjs-rm-employer-access-ui .bjs-resume-action-btn,
    .bjs-rm-employer-access-ui .bjs-resume-action-btn--delete,
    .bjs-rm-employer-access-ui .bjs-resume-action-btn--primary.button.button-primary {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        flex: 0 0 auto;
        box-sizing: border-box;
    }

    .bjs-rm-employer-access-choice__content {
        padding-right: 16px;
    }
}
