﻿@charset "utf-8";

/* =========================================================
   AIZaac Register / My Information
   Seaside glass style
========================================================= */

html,
body {
    width: 100% !important;
    min-height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #edf7ff !important;
    overflow-x: hidden !important;
}

body {
    font-family: 'Inter', 'Pretendard', 'Noto Sans KR', Arial, sans-serif;
}

.az-profile-page,
.az-profile-page * {
    box-sizing: border-box;
}

.az-profile-page {
    position: relative;
    width: 100%;
    min-height: 100vh;
    padding: 118px 32px 56px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    overflow: hidden;
    color: #111827;
}

/* Time-based background target.
   The global hero script will inject main01.jpg ~ main24.jpg here. */
.az-profile-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1.02);
    pointer-events: none;
    transition: background-image .45s ease, filter .45s ease;
}

.az-profile-shade {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(255,255,255,0.92) 0%, rgba(255,255,255,0.58) 46%, rgba(255,255,255,0.22) 100%),
        linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.62)),
        radial-gradient(circle at 18% 84%, rgba(124,58,237,0.16), transparent 30%),
        radial-gradient(circle at 84% 18%, rgba(37,99,235,0.14), transparent 32%);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

/* Time mode support from inherited main script */
.az-profile-page.az-hero--morning .az-profile-bg {
    filter: brightness(1.05) saturate(1.03);
}

.az-profile-page.az-hero--afternoon .az-profile-bg {
    filter: brightness(1.02) saturate(1.05);
}

.az-profile-page.az-hero--evening .az-profile-bg {
    filter: brightness(.97) saturate(1.08);
}

.az-profile-page.az-hero--night .az-profile-bg {
    filter: brightness(.78) saturate(1.04);
}

.az-profile-page.az-hero--night .az-profile-shade {
    background:
        linear-gradient(90deg, rgba(255,255,255,0.90) 0%, rgba(255,255,255,0.66) 46%, rgba(255,255,255,0.34) 100%),
        radial-gradient(circle at 18% 84%, rgba(124,58,237,0.22), transparent 30%),
        radial-gradient(circle at 84% 18%, rgba(37,99,235,0.20), transparent 32%);
}

/* =========================================================
   Main Layout
========================================================= */

.az-profile-shell {
    position: relative;
    z-index: 2;
    width: min(1080px, calc(100vw - 64px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(320px, .82fr) minmax(0, 1.18fr);
    gap: 26px;
    align-items: stretch;
}

/* =========================================================
   Left Visual Area
========================================================= */

.az-profile-side {
    position: relative;
    min-height: 640px;
    padding: 42px;
    border-radius: 34px;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(255,255,255,0.74), rgba(255,255,255,0.46)),
        radial-gradient(circle at 12% 14%, rgba(124,58,237,0.14), transparent 34%),
        radial-gradient(circle at 84% 22%, rgba(6,182,212,0.16), transparent 34%);
    border: 1px solid rgba(255,255,255,0.78);
    box-shadow:
        0 26px 80px rgba(37,99,235,0.14),
        inset 0 1px 0 rgba(255,255,255,0.88);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
}

.az-profile-side::before {
    content: "";
    position: absolute;
    right: -80px;
    top: 92px;
    width: 310px;
    height: 220px;
    border-radius: 36px;
    background: rgba(255,255,255,0.24);
    border: 1px solid rgba(255,255,255,0.54);
    transform: rotate(-10deg);
}

.az-profile-side::after {
    content: "";
    position: absolute;
    left: -110px;
    bottom: -110px;
    width: 260px;
    height: 260px;
    border-radius: 999px;
    background: rgba(124,58,237,0.16);
    filter: blur(8px);
}

.az-profile-side__inner {
    position: relative;
    z-index: 1;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.az-profile-side__eyebrow {
    width: fit-content;
    margin: 0 0 24px;
    padding: 10px 16px;
    border-radius: 999px;
    color: #2563eb;
    background: rgba(255,255,255,0.74);
    border: 1px solid rgba(255,255,255,0.78);
    box-shadow: 0 14px 36px rgba(37,99,235,0.09);
    font-size: 11px;
    line-height: 1;
    font-weight: 950;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.az-profile-side__eyebrow::before {
    content: "✦";
    margin-right: 8px;
    color: #7c3aed;
}

.az-profile-side__title {
    margin: 0;
    color: #111827;
    font-size: clamp(44px, 5.2vw, 50px);
    line-height: 1.02;
    font-weight: 950;
    letter-spacing: -.07em;
}

.az-profile-side__title span {
    display: inline-block;
    background: linear-gradient(135deg, #7c3aed, #2563eb 56%, #06b6d4);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.az-profile-side__desc {
    max-width: 440px;
    margin: 24px 0 0;
    color: #405069;
    font-size: 16px;
    line-height: 1.7;
    font-weight: 650;
}

.az-profile-side__features {
    margin-top: 44px;
    display: grid;
    gap: 14px;
}

.az-profile-feature {
    min-height: 86px;
    padding: 18px;
    border-radius: 22px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: rgba(255,255,255,0.72);
    border: 1px solid rgba(255,255,255,0.78);
    box-shadow:
        0 18px 42px rgba(37,99,235,0.08),
        inset 0 1px 0 rgba(255,255,255,0.84);
}

.az-profile-feature span {
    width: 38px;
    height: 38px;
    flex: 0 0 auto;
    border-radius: 15px;
    display: grid;
    place-items: center;
    color: #ffffff;
    background: linear-gradient(135deg, #7c3aed, #2563eb, #06b6d4);
    box-shadow: 0 14px 28px rgba(37,99,235,0.20);
    font-size: 15px;
}

.az-profile-feature strong {
    display: block;
    margin-bottom: 6px;
    color: #111827;
    font-size: 14px;
    font-weight: 950;
    letter-spacing: -.02em;
}

.az-profile-feature em {
    display: block;
    color: #5b677c;
    font-size: 12.5px;
    line-height: 1.55;
    font-weight: 650;
    font-style: normal;
}

/* =========================================================
   Register Card
========================================================= */

.az-profile-card {
    position: relative;
    min-height: 640px;
    max-height: calc(100vh - 174px);
    padding: 38px;
    border-radius: 34px;
    overflow-x: hidden;
    overflow-y: auto;
    background:
        linear-gradient(135deg, rgba(255,255,255,0.88), rgba(255,255,255,0.68)),
        radial-gradient(circle at 100% 0%, rgba(124,58,237,0.10), transparent 34%);
    border: 1px solid rgba(255,255,255,0.84);
    box-shadow:
        0 26px 80px rgba(37,99,235,0.15),
        inset 0 1px 0 rgba(255,255,255,0.90);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
}

.az-profile-card__head {
    margin-bottom: 26px;
}

.az-profile-card__head p {
    width: fit-content;
    margin: 0 0 12px;
    padding: 8px 13px;
    border-radius: 999px;
    color: #4f46e5;
    background: rgba(238,242,255,0.88);
    font-size: 11px;
    line-height: 1;
    font-weight: 950;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.az-profile-card__head h2 {
    margin: 0;
    color: #111827;
    font-size: 38px;
    line-height: 1.06;
    font-weight: 950;
    letter-spacing: -.055em;
}

.az-profile-card__head span {
    display: block;
    margin-top: 10px;
    color: #64748b;
    font-size: 14px;
    line-height: 1.55;
    font-weight: 650;
}

/* =========================================================
   Sections
========================================================= */

.az-section {
    margin-bottom: 26px;
}

.az-section--compact {
    margin-bottom: 18px;
}

.az-section__title {
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.az-section__title h3 {
    margin: 0;
    color: #111827;
    font-size: 15px;
    line-height: 1.2;
    font-weight: 950;
    letter-spacing: -.025em;
}

.az-section__title span {
    min-height: 26px;
    padding: 0 10px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    color: #2563eb;
    font-size: 11px;
    font-weight: 950;
    background: rgba(239,246,255,0.92);
    border: 1px solid rgba(147,197,253,0.42);
}

/* =========================================================
   Upload Area
========================================================= */

.az-profile-upload-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.az-upload-card {
    min-width: 0;
    padding: 18px;
    border-radius: 22px;
    background: rgba(255,255,255,0.62);
    border: 1px solid rgba(226,232,240,0.62);
    box-shadow:
        0 14px 34px rgba(37,99,235,0.06),
        inset 0 1px 0 rgba(255,255,255,0.82);
}

.az-avatar-row {
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 0;
}

.az-avatar {
    width: 74px;
    height: 74px;
    flex: 0 0 74px;
    border-radius: 24px;
    object-fit: cover;
    padding: 4px;
    background: linear-gradient(135deg, #7c3aed, #2563eb, #06b6d4);
    box-shadow: 0 16px 34px rgba(37,99,235,0.18);
}

.az-icon-preview {
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    border-radius: 20px;
    object-fit: cover;
    padding: 4px;
    background: linear-gradient(135deg, #7c3aed, #2563eb, #06b6d4);
    box-shadow: 0 14px 28px rgba(37,99,235,0.16);
}

.az-upload-control {
    min-width: 0;
    flex: 1;
}

.az-upload-help {
    margin-bottom: 8px;
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
}

.az-file-input {
    width: 100%;
    color: #475569;
    font-size: 12px;
    font-weight: 700;
}

.az-file-input::file-selector-button {
    margin-right: 9px;
    padding: 8px 12px;
    border: 0;
    border-radius: 12px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 900;
    background: linear-gradient(135deg, #7c3aed, #2563eb 58%, #06b6d4);
    cursor: pointer;
}

/* =========================================================
   Form Fields
========================================================= */

.az-profile-form {
    margin: 0;
    padding: 0;
}

.az-profile-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 17px 14px;
}

.az-field {
    min-width: 0;
}

.az-field--full {
    grid-column: 1 / -1;
}

.az-field-label {
    display: block;
    margin-bottom: 8px;
    color: #1f2937;
    font-size: 12.5px;
    line-height: 1.2;
    font-weight: 850;
}

.az-input,
.form-control {
    width: 100% !important;
    height: 54px !important;
    padding: 0 17px !important;
    border: 1px solid rgba(203,213,225,0.86) !important;
    border-radius: 18px !important;
    outline: none !important;
    background: rgba(255,255,255,0.78) !important;
    color: #111827 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.86),
        0 10px 24px rgba(37,99,235,0.05) !important;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease, transform .2s ease !important;
}

.az-input::placeholder,
.form-control::placeholder {
    color: #94a3b8 !important;
    font-weight: 650 !important;
}

.az-input:focus,
.form-control:focus {
    background: rgba(255,255,255,0.98) !important;
    border-color: rgba(124,58,237,0.62) !important;
    box-shadow:
        0 0 0 4px rgba(124,58,237,0.12),
        0 16px 34px rgba(37,99,235,0.12) !important;
    transform: translateY(-1px);
}

.az-input[readonly],
.form-control[readonly] {
    background: rgba(248,250,252,0.86) !important;
    color: #64748b !important;
    cursor: not-allowed !important;
}

.az-info-text {
    display: block;
    margin-top: 7px;
    font-size: 11.5px;
    line-height: 1.4;
    font-weight: 750;
}

.az-info-text--ok,
.frm_info_true,
.email_info_true {
    color: #2563eb;
}

.az-info-text--error,
.frm_info_false,
.email_info_false,
.password_info_false,
.text-danger {
    color: #dc2626 !important;
}

/* =========================================================
   Actions
========================================================= */

.az-form-actions {
    margin-top: 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.az-login-link {
    color: #475569;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.az-login-link:hover {
    color: #2563eb;
    text-decoration: underline;
}

.az-save-btn,
#submit {
    min-width: 180px;
    height: 56px;
    padding: 0 24px;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    color: #ffffff;
    font-size: 15px;
    font-weight: 950;
    background: linear-gradient(135deg, #7c3aed, #2563eb 58%, #06b6d4);
    box-shadow:
        0 20px 38px rgba(37,99,235,0.26),
        inset 0 1px 0 rgba(255,255,255,0.28);
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease, opacity .18s ease;
}

.az-save-btn:hover,
#submit:hover {
    transform: translateY(-2px);
    filter: brightness(1.04);
    box-shadow:
        0 26px 48px rgba(37,99,235,0.32),
        inset 0 1px 0 rgba(255,255,255,0.34);
}

.az-save-btn:disabled,
#submit:disabled {
    opacity: .48;
    cursor: not-allowed;
    transform: none;
    filter: none;
    box-shadow: none;
}

/* =========================================================
   Legacy / Bootstrap Cleanup
========================================================= */

.container-fluid,
.form-group,
.register_tab_wrap,
.register_tab,
.register_tab li,
.btn_confirm,
.form-horizontal,
.form-bordered {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    border: 0 !important;
    box-shadow: none !important;
}

.register_tab {
    display: block !important;
}

.register_tab li {
    list-style: none !important;
}

hr {
    border: 0;
    height: 1px;
    margin: 24px 0;
    background: rgba(226,232,240,0.95);
}

.d-none {
    display: none !important;
}

.text-muted {
    color: #64748b !important;
}

.fw-semibold {
    font-weight: 700 !important;
}

.sound_only,
.msg_sound_only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    border: 0 !important;
    overflow: hidden !important;
    clip: rect(0,0,0,0) !important;
    white-space: nowrap !important;
}

/* =========================================================
   Scrollbar
========================================================= */

.az-profile-card::-webkit-scrollbar {
    width: 9px;
}

.az-profile-card::-webkit-scrollbar-track {
    background: rgba(241,245,249,0.55);
    border-radius: 999px;
}

.az-profile-card::-webkit-scrollbar-thumb {
    background: rgba(148,163,184,0.58);
    border-radius: 999px;
    border: 2px solid rgba(241,245,249,0.55);
}

.az-profile-card::-webkit-scrollbar-thumb:hover {
    background: rgba(100,116,139,0.78);
}

/* =========================================================
   Modal Safety
========================================================= */

.modal {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    z-index: 1055 !important;
    display: none;
    width: 100% !important;
    height: 100% !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    outline: 0 !important;
}

.modal.show {
    display: block !important;
}

.modal-dialog {
    position: relative !important;
    width: auto !important;
    margin: 1.75rem auto !important;
    pointer-events: none !important;
}

.modal-dialog-centered {
    display: flex !important;
    align-items: center !important;
    min-height: calc(100% - 3.5rem) !important;
}

.modal-content {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    pointer-events: auto !important;
    background-color: #fff !important;
    background-clip: padding-box !important;
    border: 0 !important;
    outline: 0 !important;
}

.modal-backdrop {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    z-index: 1050 !important;
    width: 100vw !important;
    height: 100vh !important;
    background-color: #000 !important;
}

.modal-backdrop.show {
    opacity: .45 !important;
}

body.modal-open {
    overflow: hidden !important;
}

/* =========================================================
   Responsive
========================================================= */

@media (max-width: 1366px), (max-height: 820px) {
    .az-profile-page {
        padding: 96px 28px 42px;
    }

    .az-profile-shell {
        width: min(980px, calc(100vw - 56px));
        gap: 22px;
    }

    .az-profile-side {
        min-height: 560px;
        padding: 34px;
    }

    .az-profile-card {
        min-height: 560px;
        max-height: calc(100vh - 138px);
        padding: 32px;
    }

    .az-profile-side__title {
        font-size: clamp(38px, 4.4vw, 56px);
    }

    .az-profile-side__desc {
        font-size: 14.5px;
        line-height: 1.6;
    }

    .az-profile-side__features {
        margin-top: 30px;
    }

    .az-profile-feature {
        min-height: 76px;
        padding: 15px;
    }

    .az-profile-card__head h2 {
        font-size: 34px;
    }

    .az-input,
    .form-control {
        height: 50px !important;
    }
}

@media (max-width: 1024px) {
    .az-profile-page {
        padding: 34px 24px;
        overflow-y: auto;
    }

    .az-profile-shell {
        width: 100%;
        max-width: 760px;
        grid-template-columns: 1fr;
    }

    .az-profile-side {
        min-height: auto;
        padding: 34px 30px;
    }

    .az-profile-side__inner {
        min-height: auto;
    }

    .az-profile-side__features {
        grid-template-columns: 1fr;
    }

    .az-profile-card {
        min-height: auto;
        max-height: none;
        overflow: visible;
        padding: 34px 30px;
    }
}

@media (max-width: 760px) {
    .az-profile-upload-grid,
    .az-profile-fields {
        grid-template-columns: 1fr;
    }

    .az-avatar-row {
        align-items: flex-start;
    }

    .az-form-actions {
        align-items: stretch;
        flex-direction: column-reverse;
    }

    .az-save-btn,
    #submit {
        width: 100%;
    }

    .az-login-link {
        text-align: center;
    }
}

@media (max-width: 560px) {
    .az-profile-page {
        padding: 20px 16px;
    }

    .az-profile-shell {
        width: 100%;
        gap: 16px;
    }

    .az-profile-side,
    .az-profile-card {
        border-radius: 26px;
    }

    .az-profile-side {
        padding: 28px 22px;
    }

    .az-profile-card {
        padding: 28px 22px;
    }

    .az-profile-side__title {
        font-size: 38px;
    }

    .az-profile-card__head h2 {
        font-size: 31px;
    }

    .az-avatar-row {
        flex-direction: column;
    }

    .az-avatar,
    .az-icon-preview {
        width: 70px;
        height: 70px;
        flex-basis: 70px;
    }
}

/* =========================================================
   AIZaac Register - Final Background + Header Gap Fix
   Replace the previous register fix block with this one.
========================================================= */

/* Page root */
#azProfilePage.az-profile-page.az-register-page {
    position: relative !important;
    width: 100% !important;
    min-height: 100vh !important;
    padding: 0 32px 64px !important;
    display: block !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    isolation: isolate !important;

    /*
       Strong fallback.
       This makes the image visible even if the inherited hero script
       fails to update .az-hero__bg.
    */
    background-image:
        linear-gradient(
            90deg,
            rgba(255,255,255,0.72) 0%,
            rgba(255,255,255,0.42) 46%,
            rgba(255,255,255,0.14) 100%
        ),
        url("/iBoard/Theme/AIZAAC/images/main08.jpg") !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}

/* Actual script background target */
#azProfilePage.az-profile-page.az-register-page .az-profile-bg.az-hero__bg {
    position: fixed !important;
    inset: 0 !important;
    z-index: -2 !important;
    display: block !important;

    background-image: url("/iBoard/Theme/AIZAAC/images/main08.jpg");
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;

    opacity: 1 !important;
    filter: brightness(1.04) saturate(1.06) !important;
    transform: scale(1.02) !important;
    pointer-events: none !important;
}

/* Reduce white overlay so the image can actually show */
#azProfilePage.az-profile-page.az-register-page .az-profile-shade {
    position: fixed !important;
    inset: 0 !important;
    z-index: -1 !important;
    pointer-events: none !important;

    background:
        linear-gradient(
            90deg,
            rgba(255,255,255,0.68) 0%,
            rgba(255,255,255,0.42) 44%,
            rgba(255,255,255,0.16) 100%
        ),
        linear-gradient(
            180deg,
            rgba(255,255,255,0.05),
            rgba(255,255,255,0.38)
        ),
        radial-gradient(circle at 18% 84%, rgba(124,58,237,0.13), transparent 30%),
        radial-gradient(circle at 84% 18%, rgba(37,99,235,0.12), transparent 32%) !important;

    backdrop-filter: blur(1px) !important;
    -webkit-backdrop-filter: blur(1px) !important;
}

/* This is the real fix for the menu overlap */
#azProfilePage.az-profile-page.az-register-page .az-profile-shell {
    position: relative !important;
    z-index: 2 !important;

    width: min(1080px, calc(100vw - 64px)) !important;
    max-width: 1080px !important;

    margin-left: auto !important;
    margin-right: auto !important;

    /*
       Push content below the top menu.
       Increase this if your menu is taller.
    */
    margin-top: 132px !important;
    margin-bottom: 64px !important;

    display: grid !important;
    grid-template-columns: minmax(320px, .82fr) minmax(0, 1.18fr) !important;
    gap: 26px !important;
}

/* Make panels more glass-like so background belongs to the design */
#azProfilePage.az-profile-page.az-register-page .az-profile-side {
    background:
        linear-gradient(135deg, rgba(255,255,255,0.72), rgba(255,255,255,0.42)),
        radial-gradient(circle at 12% 14%, rgba(124,58,237,0.14), transparent 34%),
        radial-gradient(circle at 84% 22%, rgba(6,182,212,0.16), transparent 34%) !important;
    border: 1px solid rgba(255,255,255,0.78) !important;
    backdrop-filter: blur(22px) !important;
    -webkit-backdrop-filter: blur(22px) !important;
}

#azProfilePage.az-profile-page.az-register-page .az-profile-card {
    background:
        linear-gradient(135deg, rgba(255,255,255,0.88), rgba(255,255,255,0.66)),
        radial-gradient(circle at 100% 0%, rgba(124,58,237,0.10), transparent 34%) !important;
    border: 1px solid rgba(255,255,255,0.84) !important;
    backdrop-filter: blur(26px) !important;
    -webkit-backdrop-filter: blur(26px) !important;
}

/* Time mode support from inherited main script */
#azProfilePage.az-register-page.az-hero--morning .az-profile-bg {
    filter: brightness(1.06) saturate(1.03) !important;
}

#azProfilePage.az-register-page.az-hero--afternoon .az-profile-bg {
    filter: brightness(1.03) saturate(1.05) !important;
}

#azProfilePage.az-register-page.az-hero--evening .az-profile-bg {
    filter: brightness(.98) saturate(1.08) !important;
}

#azProfilePage.az-register-page.az-hero--night .az-profile-bg {
    filter: brightness(.76) saturate(1.04) !important;
}

#azProfilePage.az-register-page.az-hero--night .az-profile-shade {
    background:
        linear-gradient(
            90deg,
            rgba(255,255,255,0.80) 0%,
            rgba(255,255,255,0.58) 46%,
            rgba(255,255,255,0.30) 100%
        ),
        radial-gradient(circle at 18% 84%, rgba(124,58,237,0.22), transparent 30%),
        radial-gradient(circle at 84% 18%, rgba(37,99,235,0.20), transparent 32%) !important;
}

/* 1366 / short screen */
@media (max-width: 1366px), (max-height: 820px) {
    #azProfilePage.az-profile-page.az-register-page {
        padding-left: 28px !important;
        padding-right: 28px !important;
        padding-bottom: 42px !important;
    }

    #azProfilePage.az-profile-page.az-register-page .az-profile-shell {
        width: min(980px, calc(100vw - 56px)) !important;
        max-width: 980px !important;
        margin-top: 118px !important;
    }
}

/* Very short desktop */
@media (max-height: 760px) and (min-width: 1025px) {
    #azProfilePage.az-profile-page.az-register-page .az-profile-shell {
        margin-top: 96px !important;
    }
}

/* Tablet */
@media (max-width: 1024px) {
    #azProfilePage.az-profile-page.az-register-page {
        padding: 0 24px 40px !important;
    }

    #azProfilePage.az-profile-page.az-register-page .az-profile-shell {
        width: 100% !important;
        max-width: 760px !important;
        margin-top: 48px !important;
        grid-template-columns: 1fr !important;
    }
}

/* Mobile */
@media (max-width: 560px) {
    #azProfilePage.az-profile-page.az-register-page {
        padding: 0 16px 32px !important;
    }

    #azProfilePage.az-profile-page.az-register-page .az-profile-shell {
        width: 100% !important;
        max-width: none !important;
        margin-top: 24px !important;
        gap: 16px !important;
    }
}

.az-recaptcha-box {
    width: 100%;
    min-height: 92px;
    padding: 18px;
    border-radius: 18px;
    background: rgba(255,255,255,0.72);
    border: 1px solid rgba(203,213,225,0.86);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.86),
        0 10px 24px rgba(37,99,235,0.05);
    overflow-x: auto;
}

#registerRecaptcha {
    min-height: 78px;
    display: flex;
    align-items: center;
}

@media (max-width: 420px) {
    .az-recaptcha-box {
        padding: 12px;
    }

    #registerRecaptcha {
        transform: scale(0.88);
        transform-origin: left center;
    }
}