@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Orbitron:wght@600;700;800&display=swap");

:root {
    --bg: #070a11;
    --panel: #0c111c;
    --card: rgba(15, 21, 34, 0.94);

    --border: rgba(143, 161, 198, 0.16);
    --border-active: rgba(132, 102, 255, 0.65);

    --text: #f6f8fd;
    --secondary: #98a3b7;
    --muted: #657087;

    --purple: #7957ff;
    --purple-light: #a08aff;
    --blue: #2ab8ff;
    --cyan: #32f0ce;

    --danger: #ff667c;
    --success: #3bd897;

    --radius-lg: 28px;
    --radius-md: 16px;
    --radius-sm: 12px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    color-scheme: dark;
}

body {
    min-width: 320px;
    min-height: 100vh;

    overflow-x: hidden;

    color: var(--text);

    background:
        radial-gradient(
            circle at 12% 15%,
            rgba(109, 77, 255, 0.16),
            transparent 35%
        ),
        radial-gradient(
            circle at 88% 85%,
            rgba(29, 180, 240, 0.1),
            transparent 38%
        ),
        var(--bg);

    font-family: "Inter", sans-serif;
}

button,
input,
textarea {
    font: inherit;
}

a {
    color: inherit;
}

.register-page {
    position: relative;

    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 30px;
}

.background-grid {
    position: absolute;
    inset: 0;

    opacity: 0.16;

    background-image:
        linear-gradient(
            rgba(134, 153, 190, 0.13) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(134, 153, 190, 0.13) 1px,
            transparent 1px
        );

    background-size: 44px 44px;

    mask-image:
        linear-gradient(
            to bottom,
            #000,
            transparent
        );

    pointer-events: none;
}

.glow {
    position: absolute;

    border-radius: 50%;

    filter: blur(100px);

    pointer-events: none;
}

.glow-one {
    width: 400px;
    height: 400px;

    top: -200px;
    left: -130px;

    background: rgba(111, 77, 255, 0.22);
}

.glow-two {
    width: 360px;
    height: 360px;

    right: -150px;
    bottom: -160px;

    background: rgba(42, 184, 255, 0.15);
}

.register-shell {
    position: relative;
    z-index: 2;

    width: min(1320px, 100%);

    display: grid;
    grid-template-columns:
        minmax(350px, 0.8fr)
        minmax(550px, 1.2fr);

    overflow: hidden;

    border: 1px solid var(--border);
    border-radius: var(--radius-lg);

    background: rgba(8, 12, 20, 0.92);

    box-shadow:
        0 35px 90px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.03);

    backdrop-filter: blur(18px);
}

.register-info {
    position: relative;
    overflow: hidden;

    min-height: 850px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    padding: 44px;

    border-right: 1px solid var(--border);

    background:
        linear-gradient(
            140deg,
            rgba(113, 80, 255, 0.13),
            transparent 45%
        ),
        linear-gradient(
            330deg,
            rgba(31, 185, 255, 0.09),
            transparent 45%
        ),
        var(--panel);
}

.register-info::before {
    content: "";

    position: absolute;

    width: 450px;
    height: 450px;

    right: -230px;
    top: 160px;

    border: 1px solid rgba(143, 116, 255, 0.12);
    border-radius: 50%;

    box-shadow:
        0 0 0 55px rgba(143, 116, 255, 0.025),
        0 0 0 110px rgba(143, 116, 255, 0.018);
}

.brand-header,
.info-content,
.info-footer {
    position: relative;
    z-index: 2;
}

.brand-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.brand,
.mobile-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;

    text-decoration: none;
}

.brand-mark {
    width: 46px;
    height: 46px;

    display: grid;
    place-items: center;

    border: 1px solid rgba(150, 126, 255, 0.65);
    border-radius: 14px;

    color: #fff;

    background:
        linear-gradient(
            145deg,
            var(--purple),
            #4431aa
        );

    box-shadow:
        0 13px 30px rgba(89, 61, 221, 0.33),
        inset 0 1px 0 rgba(255, 255, 255, 0.24);

    font-family: "Orbitron", sans-serif;
    font-size: 23px;
    font-weight: 800;
}

.brand-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.brand-text strong {
    letter-spacing: 0.14em;

    font-family: "Orbitron", sans-serif;
    font-size: 16px;
}

.brand-text small {
    color: var(--muted);

    letter-spacing: 0.18em;
    font-size: 9px;
}

.secure-badge {
    padding: 8px 11px;

    border: 1px solid var(--border);
    border-radius: 999px;

    color: var(--secondary);
    background: rgba(255, 255, 255, 0.025);

    font-size: 10px;
    font-weight: 600;
}

.info-content {
    max-width: 580px;
}

.eyebrow,
.form-kicker {
    color: var(--purple-light);

    letter-spacing: 0.18em;

    font-size: 11px;
    font-weight: 700;
}

.info-content h1 {
    margin: 18px 0;

    font-family: "Orbitron", sans-serif;
    font-size: clamp(38px, 4.2vw, 60px);
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.info-content h1 span {
    color: transparent;

    background:
        linear-gradient(
            90deg,
            var(--purple-light),
            var(--blue)
        );

    background-clip: text;
    -webkit-background-clip: text;
}

.info-content > p {
    color: var(--secondary);

    font-size: 14px;
    line-height: 1.8;
}

.benefit-list {
    display: flex;
    flex-direction: column;
    gap: 13px;

    margin-top: 35px;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;

    padding: 16px;

    border: 1px solid var(--border);
    border-radius: 14px;

    background: rgba(255, 255, 255, 0.025);
}

.benefit-number {
    width: 36px;
    height: 36px;

    flex: 0 0 36px;

    display: grid;
    place-items: center;

    border-radius: 10px;

    color: var(--purple-light);
    background: rgba(121, 87, 255, 0.12);

    font-family: "Orbitron", sans-serif;
    font-size: 10px;
}

.benefit-item strong {
    display: block;

    margin-bottom: 4px;

    font-size: 13px;
}

.benefit-item p {
    color: var(--muted);

    font-size: 11px;
    line-height: 1.55;
}

.info-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.info-footer span {
    padding: 7px 9px;

    border: 1px solid var(--border);
    border-radius: 8px;

    color: var(--muted);

    font-size: 9px;
    letter-spacing: 0.1em;
}

.register-form-panel {
    padding: 45px;

    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.015),
            transparent
        ),
        rgba(8, 12, 20, 0.95);
}

.form-container {
    width: min(720px, 100%);
    margin: auto;
}

.mobile-brand {
    display: none;

    margin-bottom: 32px;
}

.form-heading {
    margin-bottom: 26px;
}

.form-heading h2 {
    margin: 9px 0;

    font-family: "Orbitron", sans-serif;
    font-size: clamp(26px, 3vw, 36px);
}

.form-heading p {
    color: var(--secondary);
    font-size: 13px;
}

.alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;

    margin-bottom: 20px;
    padding: 13px 14px;

    border: 1px solid;
    border-radius: 12px;

    font-size: 12px;
    line-height: 1.55;
}

.alert-icon {
    width: 20px;
    height: 20px;

    flex: 0 0 20px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    font-weight: 800;
}

.alert-error {
    color: #ffc1cb;

    border-color: rgba(255, 102, 124, 0.28);

    background: rgba(255, 102, 124, 0.08);
}

.alert-error .alert-icon {
    color: #190307;
    background: var(--danger);
}

.alert-success {
    color: #b8f4d8;

    border-color: rgba(59, 216, 151, 0.28);

    background: rgba(59, 216, 151, 0.08);
}

.alert-success .alert-icon {
    color: #03130c;
    background: var(--success);
}

.register-form {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.section-label {
    display: block;

    margin-bottom: 10px;

    color: #dce2ec;

    font-size: 12px;
    font-weight: 600;
}

.role-selector {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 13px;
}

.role-option input {
    position: absolute;

    opacity: 0;

    pointer-events: none;
}

.role-card {
    min-height: 86px;

    display: flex;
    align-items: center;
    gap: 14px;

    padding: 15px;

    border: 1px solid var(--border);
    border-radius: 14px;

    background: rgba(255, 255, 255, 0.022);

    cursor: pointer;

    transition:
        border-color 0.25s ease,
        background 0.25s ease,
        transform 0.25s ease;
}

.role-card:hover {
    transform: translateY(-2px);

    border-color: rgba(145, 118, 255, 0.42);
}

.role-option input:checked + .role-card {
    border-color: var(--border-active);

    background: rgba(121, 87, 255, 0.1);

    box-shadow:
        0 0 0 3px rgba(121, 87, 255, 0.07);
}

.role-icon {
    width: 45px;
    height: 45px;

    flex: 0 0 45px;

    display: grid;
    place-items: center;

    border-radius: 12px;

    color: var(--purple-light);
    background: rgba(121, 87, 255, 0.12);
}

.role-icon svg,
.input-icon svg,
.button-arrow {
    width: 20px;
    height: 20px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.role-detail {
    min-width: 0;

    display: flex;
    flex-direction: column;
    gap: 4px;
}

.role-detail strong {
    font-size: 13px;
}

.role-detail small {
    color: var(--muted);
    font-size: 10px;
}

.form-grid {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 17px;
}

.form-group.full {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;

    margin-bottom: 8px;

    color: #dce2ec;

    font-size: 12px;
    font-weight: 600;
}

.input-wrapper {
    position: relative;
}

.input-wrapper input,
.form-group textarea {
    width: 100%;

    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    outline: none;

    color: var(--text);
    background: rgba(255, 255, 255, 0.024);

    font-size: 13px;

    transition:
        border-color 0.25s ease,
        background 0.25s ease,
        box-shadow 0.25s ease;
}

.input-wrapper input {
    height: 52px;
    padding: 0 47px;
}

.form-group textarea {
    min-height: 110px;

    resize: vertical;

    padding: 14px;
}

.input-wrapper input::placeholder,
.form-group textarea::placeholder {
    color: #566176;
}

.input-wrapper input:focus,
.form-group textarea:focus {
    border-color: var(--border-active);

    background: rgba(121, 87, 255, 0.035);

    box-shadow:
        0 0 0 4px rgba(121, 87, 255, 0.08);
}

.input-icon {
    position: absolute;

    left: 15px;
    top: 50%;

    display: grid;
    place-items: center;

    color: #69748a;

    transform: translateY(-50%);

    pointer-events: none;

    font-size: 14px;
}

.password-toggle {
    position: absolute;

    right: 9px;
    top: 50%;

    width: 35px;
    height: 35px;

    display: grid;
    place-items: center;

    border: 0;
    border-radius: 9px;

    background: transparent;

    cursor: pointer;

    transform: translateY(-50%);
}

.password-toggle:hover {
    background: rgba(255, 255, 255, 0.045);
}

.helper {
    display: block;

    margin-top: 6px;

    color: var(--muted);

    font-size: 9px;
    line-height: 1.5;
}

.password-strength {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 5px;

    margin-top: 8px;
}

.strength-bar {
    height: 4px;

    border-radius: 999px;

    background: rgba(255, 255, 255, 0.08);
}

.strength-bar.active.level-1 {
    background: var(--danger);
}

.strength-bar.active.level-2 {
    background: #f2a53a;
}

.strength-bar.active.level-3 {
    background: #55c7ff;
}

.strength-bar.active.level-4 {
    background: var(--success);
}

.strength-text.level-1 {
    color: var(--danger);
}

.strength-text.level-2 {
    color: #f2a53a;
}

.strength-text.level-3 {
    color: #55c7ff;
}

.strength-text.level-4,
.success-text {
    color: var(--success);
}

.error-text {
    color: var(--danger);
}

.seller-fields {
    display: none;

    padding: 18px;

    border: 1px solid rgba(126, 101, 255, 0.22);
    border-radius: 16px;

    background: rgba(121, 87, 255, 0.045);
}

.seller-fields.active {
    display: block;

    animation: sellerOpen 0.25s ease;
}

@keyframes sellerOpen {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.seller-heading {
    display: flex;
    align-items: center;
    gap: 12px;

    margin-bottom: 17px;
}

.seller-heading-icon {
    width: 38px;
    height: 38px;

    flex: 0 0 38px;

    display: grid;
    place-items: center;

    border-radius: 10px;

    color: var(--cyan);
    background: rgba(50, 240, 206, 0.09);

    font-family: "Orbitron", sans-serif;
}

.seller-heading strong {
    display: block;

    margin-bottom: 3px;

    font-size: 12px;
}

.seller-heading p {
    color: var(--muted);

    font-size: 10px;
}

.agreement {
    display: flex;
    align-items: flex-start;
    gap: 10px;

    color: var(--secondary);

    cursor: pointer;

    font-size: 11px;
    line-height: 1.6;
}

.agreement input {
    position: absolute;

    opacity: 0;
}

.custom-checkbox {
    width: 18px;
    height: 18px;

    flex: 0 0 18px;

    position: relative;

    margin-top: 1px;

    border: 1px solid rgba(153, 169, 202, 0.34);
    border-radius: 5px;

    background: rgba(255, 255, 255, 0.025);
}

.agreement input:checked + .custom-checkbox {
    border-color: var(--purple);
    background: var(--purple);
}

.agreement input:checked + .custom-checkbox::after {
    content: "";

    position: absolute;

    left: 5px;
    top: 2px;

    width: 4px;
    height: 8px;

    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;

    transform: rotate(45deg);
}

.agreement a {
    color: var(--purple-light);
    text-decoration: none;
}

.register-button {
    width: 100%;
    min-height: 55px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    padding: 0 20px;

    border: 0;
    border-radius: 13px;

    color: #fff;

    background:
        linear-gradient(
            105deg,
            #6f4dff,
            #4d37ce
        );

    box-shadow:
        0 16px 38px rgba(85, 57, 211, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);

    cursor: pointer;

    font-family: "Orbitron", sans-serif;
    font-size: 11px;
    letter-spacing: 0.08em;

    transition:
        transform 0.25s ease,
        opacity 0.25s ease;
}

.register-button:hover:not(:disabled) {
    transform: translateY(-2px);
}

.register-button:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

.button-arrow {
    width: 17px;
    height: 17px;
}

.button-loader {
    display: none;

    width: 18px;
    height: 18px;

    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
    border-radius: 50%;

    animation: spin 0.8s linear infinite;
}

.register-button.loading .button-loader {
    display: block;
}

.register-button.loading .button-arrow {
    display: none;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.login-link {
    margin-top: 24px;

    color: var(--secondary);

    text-align: center;

    font-size: 12px;
}

.login-link a {
    color: var(--purple-light);

    text-decoration: none;

    font-weight: 700;
}

.login-link a:hover {
    text-decoration: underline;
}

@media (max-width: 1000px) {
    .register-shell {
        grid-template-columns:
            minmax(300px, 0.7fr)
            minmax(500px, 1.3fr);
    }

    .register-info {
        padding: 35px;
    }

    .register-form-panel {
        padding: 38px;
    }
}

@media (max-width: 850px) {
    .register-page {
        align-items: flex-start;

        padding: 18px;
    }

    .register-shell {
        grid-template-columns: 1fr;
    }

    .register-info {
        display: none;
    }

    .register-form-panel {
        padding: 35px 28px;
    }

    .mobile-brand {
        display: inline-flex;
    }
}

@media (max-width: 600px) {
    .register-page {
        padding: 0;
    }

    .register-shell {
        min-height: 100vh;

        border: 0;
        border-radius: 0;

        box-shadow: none;
    }

    .register-form-panel {
        padding: 26px 18px;
    }

    .form-grid,
    .role-selector {
        grid-template-columns: 1fr;
    }

    .form-group.full {
        grid-column: auto;
    }

    .mobile-brand {
        margin-bottom: 35px;
    }

    .brand-mark {
        width: 42px;
        height: 42px;

        font-size: 20px;
    }
}
/*
|--------------------------------------------------------------------------
| SELLER ADDRESS FORM
|--------------------------------------------------------------------------
*/

.seller-fields {
    display: none;

    padding: 22px;

    border: 1px solid rgba(54, 234, 201, 0.18);
    border-radius: 18px;

    background:
        linear-gradient(
            135deg,
            rgba(54, 234, 201, 0.035),
            rgba(117, 81, 255, 0.025)
        );
}

.seller-fields.active {
    display: block;

    animation:
        sellerFieldsAppear 0.3s ease;
}

@keyframes sellerFieldsAppear {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.seller-heading {
    display: flex;
    align-items: flex-start;
    gap: 12px;

    margin-bottom: 22px;
}

.seller-heading-icon {
    width: 40px;
    height: 40px;

    flex: 0 0 40px;

    display: grid;
    place-items: center;

    border-radius: 12px;

    color: var(--cyan);
    background: rgba(54, 234, 201, 0.1);

    font-family: "Orbitron", sans-serif;
    font-size: 14px;
}

.seller-heading strong {
    display: block;

    margin-bottom: 5px;

    color: var(--text);
    font-size: 13px;
}

.seller-heading p {
    color: var(--text-muted);

    font-size: 10px;
    line-height: 1.55;
}

.seller-notice {
    display: flex;
    align-items: flex-start;
    gap: 10px;

    margin-top: 18px;
    padding: 13px;

    border: 1px solid rgba(255, 184, 77, 0.2);
    border-radius: 12px;

    color: #dfc28f;
    background: rgba(255, 184, 77, 0.05);

    font-size: 10px;
    line-height: 1.6;
}

.seller-notice > span {
    width: 20px;
    height: 20px;

    flex: 0 0 20px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    color: #180f00;
    background: #ffb84d;

    font-weight: 800;
}

textarea {
    width: 100%;
    min-height: 110px;

    resize: vertical;

    padding: 14px 15px;

    border: 1px solid var(--border);
    border-radius: var(--small-radius);
    outline: none;

    color: var(--text);
    background: rgba(255, 255, 255, 0.023);

    font-size: 13px;
    line-height: 1.6;

    transition:
        border-color 0.23s ease,
        box-shadow 0.23s ease,
        background 0.23s ease;
}

textarea::placeholder {
    color: #566176;
}

textarea:hover {
    border-color: rgba(150, 168, 200, 0.28);
}

textarea:focus {
    border-color: var(--border-focus);

    background: rgba(117, 81, 255, 0.035);

    box-shadow:
        0 0 0 4px
        rgba(117, 81, 255, 0.08);
}

.password-strength {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 5px;

    margin-top: 9px;
}

.strength-bar {
    height: 5px;

    border-radius: 999px;

    background: rgba(255, 255, 255, 0.08);

    transition:
        background 0.2s ease,
        box-shadow 0.2s ease;
}

.strength-bar.active.weak {
    background: #ff637b;
}

.strength-bar.active.medium {
    background: #ffb84d;
}

.strength-bar.active.strong {
    background: #37d596;

    box-shadow:
        0 0 8px rgba(55, 213, 150, 0.35);
}

.helper.success {
    color: #37d596;
}

.helper.error {
    color: #ff637b;
}

@media (max-width: 600px) {
    .seller-fields {
        padding: 16px;
    }

    .seller-heading {
        margin-bottom: 18px;
    }
}