* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.register-page {
    --blue: #0b63d6;
    --blue-600: #0753b0;
    --blue-light: #dbeafe;
    --muted-bg: #f4f6f9;
    --card: #ffffff;
    --text: #1f2937;
    --muted: #6b7280;
    --soft-shadow: 0 4px 12px rgba(17, 24, 39, 0.08);
    --card-border: rgba(0, 0, 0, 0.06);
    min-height: 100vh;
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text);
    background:
        radial-gradient(95rem 55rem at -18% -10%, rgba(11, 99, 214, 0.14), transparent 60%),
        radial-gradient(90rem 52rem at 110% 116%, rgba(11, 99, 214, 0.1), transparent 62%),
        linear-gradient(160deg, #f2f6fd 0%, var(--muted-bg) 100%);
}

html[data-embedded='1'] .register-page,
.register-page.embedded-mode {
    min-height: auto;
    background: #f3f7fe;
}

html[data-embedded='1'] .register-topbar,
html[data-embedded='1'] .register-info,
.register-page.embedded-mode .register-topbar,
.register-page.embedded-mode .register-info {
    display: none;
}

html[data-embedded='1'] .register-layout,
.register-page.embedded-mode .register-layout {
    width: 100%;
    margin: 0;
    display: block;
    padding: 12px;
}

html[data-embedded='1'] .register-card,
.register-page.embedded-mode .register-card {
    border-radius: 14px;
    border-color: #e4ecf7;
    box-shadow: none;
    padding: 16px;
}

html[data-embedded='1'] .form-actions,
.register-page.embedded-mode .form-actions {
    justify-content: flex-end;
}

.register-topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid #e5edf6;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.topbar-shell {
    width: min(1120px, calc(100% - 28px));
    margin: 0 auto;
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.topbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
}

.brand-mark {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, var(--blue), var(--blue-600));
    box-shadow: 0 10px 24px rgba(11, 99, 214, 0.28);
}

.topbar-brand strong {
    display: block;
    font-size: 14px;
    line-height: 1.15;
}

.topbar-brand small {
    font-size: 11px;
    font-weight: 500;
    color: var(--muted);
}

.topbar-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.topbar-link {
    min-height: 38px;
    padding: 0 14px;
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    color: var(--blue);
    border: 1.5px solid var(--blue-light);
    background: transparent;
    transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.topbar-link:hover {
    background: var(--blue-light);
    border-color: var(--blue);
    transform: translateY(-1px);
}

.register-layout {
    width: min(1120px, calc(100% - 28px));
    margin: 22px auto 34px;
    display: grid;
    grid-template-columns: minmax(280px, .8fr) minmax(0, 1.2fr);
    gap: 16px;
}

.register-info {
    border-radius: 20px;
    padding: clamp(20px, 3vw, 30px);
    border: 1px solid rgba(11, 99, 214, 0.2);
    background: linear-gradient(160deg, var(--blue) 0%, var(--blue-600) 64%, #074d9e 100%);
    color: #ebf3ff;
    box-shadow: 0 18px 40px rgba(7, 83, 176, 0.28);
    align-self: stretch;
}

.info-kicker {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 800;
    color: rgba(235, 243, 255, 0.84);
}

.register-info h1 {
    margin-top: 8px;
    font-family: 'Sora', 'Inter', sans-serif;
    font-size: clamp(30px, 4vw, 38px);
    line-height: 1.08;
    letter-spacing: -0.9px;
}

.register-info p {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.7;
    color: rgba(235, 243, 255, 0.9);
}

.info-points {
    list-style: none;
    margin-top: 16px;
    display: grid;
    gap: 7px;
}

.info-points li {
    display: flex;
    gap: 9px;
    align-items: flex-start;
    padding: 8px 9px;
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 13px;
}

.info-points li span {
    width: 23px;
    height: 23px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
    flex: 0 0 auto;
    background: rgba(255, 255, 255, 0.24);
}

.register-card {
    border-radius: 16px;
    border: 1px solid #f0f3f9;
    background: var(--card);
    box-shadow: var(--soft-shadow);
    padding: clamp(18px, 3vw, 30px);
}

.register-head h2 {
    font-family: 'Sora', 'Inter', sans-serif;
    font-size: clamp(24px, 3vw, 30px);
    letter-spacing: -0.5px;
    line-height: 1.14;
    color: #12243f;
}

.register-head p {
    margin-top: 6px;
    font-size: 13px;
    color: #5a6c7d;
}

.form-message {
    display: none;
    margin-top: 12px;
    margin-bottom: 4px;
    border-radius: 11px;
    padding: 9px 12px;
    font-size: 13px;
    font-weight: 600;
}

.form-message.is-visible {
    display: block;
}

.form-message.success {
    color: #047857;
    border: 1px solid rgba(16, 185, 129, 0.3);
    background: rgba(16, 185, 129, 0.12);
}

.form-message.error {
    color: #b91c1c;
    border: 1px solid rgba(239, 68, 68, 0.24);
    background: rgba(239, 68, 68, 0.1);
}

.register-form {
    margin-top: 14px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group.full {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .46px;
    color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
    min-height: 46px;
    border: 1.5px solid #e5edf6;
    border-radius: 10px;
    padding: 12px 14px;
    background: #f9fafb;
    font-size: 13px;
    color: #1f2937;
    font-family: inherit;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.form-group textarea {
    min-height: 92px;
    resize: vertical;
}

.form-group input[type="file"] {
    min-height: 44px;
    padding: 8px;
    background: #fff;
    border-style: dashed;
}

.form-group input[type="file"]::file-selector-button {
    margin-right: 10px;
    border: 0;
    border-radius: 8px;
    padding: 8px 10px;
    font-size: 12px;
    font-weight: 700;
    color: var(--blue);
    background: var(--blue-light);
    cursor: pointer;
}

.image-preview {
    margin-top: 4px;
    min-height: 42px;
    border: 1px dashed #d7e0ec;
    border-radius: 10px;
    padding: 8px;
    font-size: 12px;
    color: #6b7280;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fbfdff;
    text-align: center;
}

.resume-preview {
    margin-top: 4px;
    min-height: 42px;
    border: 1px dashed #d7e0ec;
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 12px;
    color: #4b5563;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background: #fbfdff;
    text-align: left;
    word-break: break-word;
}

.resume-preview.has-image {
    padding: 8px;
    justify-content: center;
    text-align: center;
}

.image-preview.has-file-list,
.resume-preview.has-file-list {
    display: block;
    text-align: left;
}

.image-preview.has-upload-items,
.resume-preview.has-upload-items {
    display: block;
    text-align: left;
    padding: 10px;
}

.upload-preview-summary {
    margin: 0 0 8px;
    font-size: 12px;
    font-weight: 700;
    color: #334155;
}

.upload-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 8px;
}

.upload-preview-item {
    position: relative;
    border: 1px solid #d7e0ec;
    border-radius: 10px;
    background: #ffffff;
    overflow: hidden;
    min-height: 120px;
    display: flex;
    flex-direction: column;
}

.upload-preview-remove {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 22px;
    height: 22px;
    border: 0;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.75);
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    transition: background .18s ease, transform .18s ease;
}

.upload-preview-remove:hover {
    background: rgba(185, 28, 28, 0.92);
    transform: scale(1.05);
}

.upload-preview-thumb {
    width: 100%;
    aspect-ratio: 4 / 3;
    background: #f1f5f9;
    border-bottom: 1px solid #e5edf6;
    display: flex;
    align-items: center;
    justify-content: center;
}

.upload-preview-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.upload-preview-file-icon {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-bottom: 1px solid #e5edf6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .42px;
    color: #1e3a8a;
    background: linear-gradient(160deg, #e0ecff 0%, #f0f6ff 100%);
    text-transform: uppercase;
}

.upload-preview-meta {
    padding: 8px;
    display: grid;
    gap: 4px;
}

.upload-preview-name {
    margin: 0;
    font-size: 11px;
    font-weight: 700;
    color: #1f2937;
    word-break: break-word;
    line-height: 1.35;
}

.upload-preview-size {
    margin: 0;
    font-size: 11px;
    color: #64748b;
}

.image-preview.has-file-list img {
    margin: 0 auto 8px;
}

.file-preview-summary {
    margin: 0;
    font-size: 12px;
    font-weight: 700;
    color: #334155;
}

.file-preview-list {
    margin: 6px 0 0;
    padding-left: 16px;
    display: grid;
    gap: 4px;
}

.file-preview-list li {
    font-size: 12px;
    color: #475569;
    line-height: 1.35;
    word-break: break-word;
}

.cropper-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.42);
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding: 16px;
    z-index: 1200;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    overflow-y: auto;
}

.cropper-backdrop.is-visible {
    display: flex;
}

.image-crop-modal {
    width: min(1180px, calc(100vw - 24px));
    max-height: calc(100vh - 32px);
    border-radius: 14px;
    background: #1b2028;
    border: 1px solid rgba(148, 163, 184, 0.25);
    box-shadow: 0 28px 68px rgba(2, 6, 23, 0.44);
    color: #e5e7eb;
    padding: 0;
    margin: 0 auto;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.image-crop-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.image-crop-head h3 {
    margin: 0;
    font-size: 28px;
    font-weight: 800;
    color: #f8fafc;
}

.image-crop-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) clamp(250px, 24vw, 320px);
    flex: 1 1 auto;
    min-height: 0;
}

.image-crop-main {
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto auto;
    gap: 10px;
    padding: 14px;
    min-width: 0;
    min-height: 0;
}

.image-crop-body {
    min-height: 300px;
    height: clamp(260px, 62vh, 620px);
    border-radius: 12px;
    overflow: hidden;
    background: #090d14;
    border: 1px solid rgba(148, 163, 184, 0.25);
    position: relative;
}

.image-crop-body img {
    display: block;
    width: 100%;
    max-width: 100%;
}

.image-crop-hint {
    margin: 0;
    font-size: 12px;
    color: #93a2b8;
}

.image-crop-sidebar {
    border-left: 1px solid rgba(148, 163, 184, 0.2);
    background: #141922;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    overflow-y: auto;
    min-height: 0;
}

.image-crop-control-section {
    padding: 2px 0 0;
}

.image-crop-control-section h4 {
    margin: 0 0 8px;
    font-size: 20px;
    font-weight: 700;
    color: #f8fafc;
}

.image-crop-field-label {
    display: block;
    margin: 0 0 6px;
    font-size: 12px;
    color: #93a2b8;
    letter-spacing: 0.2px;
}

.image-crop-aspect-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.image-crop-select {
    flex: 1;
    min-height: 34px;
    border-radius: 8px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    background: #0f141d;
    color: #e5e7eb;
    font-size: 13px;
    padding: 0 10px;
}

.image-crop-select:focus {
    outline: none;
    border-color: #4f8fdf;
    box-shadow: 0 0 0 2px rgba(79, 143, 223, 0.2);
}

.crop-ratio-rotate-btn {
    appearance: none;
    -webkit-appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 34px;
    min-height: 34px;
    padding: 0;
    border-radius: 8px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    background: #0f141d;
    color: #e5e7eb;
    cursor: pointer;
    transition: background .15s ease, border-color .15s ease, color .15s ease;
}

.crop-ratio-rotate-icon {
    width: 17px;
    height: 17px;
    display: block;
}

.crop-ratio-rotate-btn:hover {
    border-color: #4f8fdf;
    background: #1b2535;
}

.crop-ratio-rotate-btn:focus-visible {
    outline: 2px solid rgba(79, 143, 223, 0.5);
    outline-offset: 1px;
}

.image-crop-ratio-status {
    margin: 8px 0 0;
    font-size: 12px;
    color: #93a2b8;
    font-weight: 500;
}

.image-crop-range {
    width: 100%;
    accent-color: #4f8fdf;
}

.image-crop-slider-meta {
    margin-top: 6px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-size: 12px;
    color: #93a2b8;
}

.image-crop-link-btn {
    appearance: none;
    -webkit-appearance: none;
    border: 0;
    background: transparent;
    color: #78a8e8;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    padding: 0;
}

.image-crop-link-btn:hover {
    color: #9fc4f1;
    text-decoration: underline;
}

.image-crop-icon-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}

.image-crop-icon-btn {
    appearance: none;
    -webkit-appearance: none;
    height: 34px;
    border-radius: 8px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    background: #0f141d;
    color: #e5e7eb;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .15s ease, border-color .15s ease, color .15s ease;
}

.image-crop-icon-btn svg {
    width: 16px;
    height: 16px;
}

.image-crop-icon-btn:hover {
    border-color: #4f8fdf;
    background: #1b2535;
}

.image-crop-icon-btn:focus-visible {
    outline: 2px solid rgba(79, 143, 223, 0.5);
    outline-offset: 1px;
}

.image-crop-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
}

/* Cropper.js contrast tuning for clearer crop boundaries */
.image-crop-modal .cropper-bg {
    background-image: none;
    background-color: #0d121b;
}

.image-crop-modal .cropper-view-box {
    outline: 2px solid rgba(255, 255, 255, 0.98);
    box-shadow: 0 0 0 1px rgba(79, 143, 223, 0.95);
}

.image-crop-modal .cropper-face {
    background-color: rgba(79, 143, 223, 0.08);
}

.image-crop-modal .cropper-dashed {
    border-color: rgba(255, 255, 255, 0.85);
}

.image-crop-modal .cropper-line,
.image-crop-modal .cropper-point {
    background-color: #ffffff;
}

.image-crop-modal .cropper-point {
    width: 11px;
    height: 11px;
    opacity: 1;
    border: 1px solid rgba(11, 99, 214, 0.95);
    box-shadow: 0 1px 5px rgba(2, 6, 23, 0.2);
}

.image-crop-modal .cropper-center {
    opacity: 1;
}

@media (max-width: 960px) {
    .cropper-backdrop {
        padding: 10px;
    }

    .image-crop-modal {
        width: min(1180px, calc(100vw - 10px));
        max-height: calc(100vh - 20px);
    }

    .image-crop-layout {
        grid-template-columns: 1fr;
    }

    .image-crop-sidebar {
        border-left: 0;
        border-top: 1px solid rgba(148, 163, 184, 0.2);
        max-height: 220px;
        padding: 10px;
    }
}

@media (max-width: 640px) {
    .image-crop-modal {
        width: min(1180px, calc(100vw - 8px));
        max-height: calc(100vh - 12px);
    }

    .image-crop-main {
        padding: 10px;
    }

    .image-crop-body {
        min-height: 220px;
    }

    .image-crop-actions {
        justify-content: stretch;
    }

    .image-crop-actions .btn-primary,
    .image-crop-actions .btn-secondary {
        flex: 1;
        text-align: center;
    }

    .image-crop-icon-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.image-preview img {
    max-height: 150px;
    max-width: 100%;
    border-radius: 8px;
    object-fit: contain;
    display: block;
}

.multi-select {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    min-height: 54px;
    padding: 10px 12px;
    border-radius: 14px;
    border: 1px solid #d7e0ec;
    background: linear-gradient(180deg, #fbfdff 0%, #f5f8fc 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
    cursor: text;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease, transform .16s ease;
}

.multi-select:hover {
    border-color: #c2cede;
}

.multi-select:focus-within {
    outline: none;
    border-color: var(--blue);
    background: #fff;
    box-shadow: 0 0 0 3px var(--blue-light), 0 10px 24px rgba(11, 99, 214, 0.08);
    transform: translateY(-1px);
}

.multi-chips {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    align-content: flex-start;
    gap: 8px;
    flex: 1 0 100%;
    max-height: 88px;
    overflow-y: auto;
    padding-right: 4px;
}

.multi-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 11px;
    border-radius: 999px;
    border: 1px solid #c8dcfb;
    background: linear-gradient(135deg, #ebf3ff 0%, #dceaff 100%);
    color: #0b4a9a;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1px;
    line-height: 1;
    box-shadow: 0 1px 3px rgba(11, 99, 214, 0.12);
}

.multi-chip-remove {
    appearance: none;
    -webkit-appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border: 0;
    border-radius: 999px;
    padding: 0;
    margin: 0;
    background: rgba(11, 99, 214, 0.15);
    color: #0b4a9a;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: background .15s ease, transform .15s ease, color .15s ease;
}

.multi-chip-remove:hover {
    background: var(--blue);
    color: #fff;
    transform: scale(1.06);
}

.multi-chip-remove:active {
    transform: scale(.95);
}

.multi-chip-remove:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--blue-light);
}

.multi-select-input {
    flex: 1 0 100%;
    min-width: 0;
    min-height: 32px !important;
    border: 0 !important;
    padding: 8px 4px !important;
    background: transparent !important;
    color: var(--text) !important;
    font-size: 13px;
    box-shadow: none !important;
    outline: none !important;
}

.multi-select-input::placeholder {
    color: #8b94a7;
}

.multi-select-input:focus {
    box-shadow: none !important;
}

.multi-chips {
    scrollbar-width: thin;
    scrollbar-color: rgba(11, 99, 214, 0.42) rgba(15, 23, 42, 0.06);
}

.multi-chips::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.multi-chips::-webkit-scrollbar-track {
    background: rgba(15, 23, 42, 0.06);
    border-radius: 999px;
}

.multi-chips::-webkit-scrollbar-thumb {
    background: rgba(11, 99, 214, 0.42);
    border-radius: 999px;
}

.multi-chips::-webkit-scrollbar-thumb:hover {
    background: rgba(11, 99, 214, 0.62);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px var(--blue-light);
    background: #fff;
}

.helper-text {
    font-size: 12px;
    color: #6b7280;
}

.form-actions {
    margin-top: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    min-height: 46px;
    border-radius: 9px;
    text-decoration: none;
    border: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.3px;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.btn-primary {
    color: #fff;
    background: var(--blue);
    box-shadow: 0 2px 8px rgba(11, 99, 214, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    background: var(--blue-600);
    box-shadow: 0 8px 22px rgba(11, 99, 214, 0.28);
}

.btn-primary:disabled {
    cursor: wait;
    opacity: .9;
    transform: none;
}

.btn-secondary {
    color: var(--blue);
    border: 1.5px solid var(--blue-light);
    background: transparent;
}

.btn-secondary:hover {
    background: var(--blue-light);
    border-color: var(--blue);
    transform: translateY(-1px);
}

@media (max-width: 980px) {
    .register-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .topbar-shell {
        min-height: 86px;
        flex-wrap: wrap;
        padding: 10px 0;
    }

    .topbar-actions {
        width: 100%;
        justify-content: space-between;
    }

    .register-layout {
        width: min(1120px, calc(100% - 18px));
        margin-top: 12px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
    }

    html[data-embedded='1'] .register-layout,
    .register-page.embedded-mode .register-layout {
        width: 100%;
        margin: 0;
        padding: 8px;
    }

    html[data-embedded='1'] .register-card,
    .register-page.embedded-mode .register-card {
        padding: 12px;
    }

    html[data-embedded='1'] .btn-primary,
    html[data-embedded='1'] .btn-secondary,
    .register-page.embedded-mode .btn-primary,
    .register-page.embedded-mode .btn-secondary {
        width: auto;
    }
}
