:root {
    --paw-navy: #061f31;
    --paw-navy-light: #0b3548;
    --paw-teal: #31b7af;
    --paw-teal-soft: #dff5f2;
    --paw-gold: #c69a45;
    --paw-ivory: #fbfaf5;
    --paw-white: #ffffff;
    --paw-text: #102c3d;
    --paw-muted: #667c89;
    --paw-border: #d9e2e6;
    --paw-error: #b83f4c;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

body {
    min-width: 320px;
    min-height: 100vh;
    min-height: 100dvh;
    margin: 0;
    color: var(--paw-text);
    background:
        radial-gradient(
            circle at 70% 20%,
            rgba(49, 183, 175, 0.18),
            transparent 30%
        ),
        radial-gradient(
            circle at 15% 80%,
            rgba(198, 154, 69, 0.13),
            transparent 27%
        ),
        var(--paw-navy);
    font-family:
        Inter,
        Manrope,
        Arial,
        sans-serif;
}

a {
    color: inherit;
}

button,
input,
select {
    font: inherit;
}

.registration-header {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 1540px;
    margin: 0 auto;
}

.registration-header__brand {
    color: var(--paw-navy);
    font-family:
        Georgia,
        "Times New Roman",
        serif;
    font-size: 31px;
    font-weight: 600;
    letter-spacing: -1px;
    text-decoration: none;
}

.registration-header__brand span {
    color: var(--paw-gold);
}

.registration-header__description {
    color: rgba(255, 255, 255, 0.58);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.registration-header__login {
    margin-left: auto;
    border-bottom: 1px solid rgba(255, 255, 255, 0.45);
    color: var(--paw-white);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.registration-stage {
    position: relative;
    display: grid;
    width: 100%;
    max-width: 1540px;
    margin: 0 auto;
}

.registration-stage::before {
    position: absolute;
    z-index: 0;
    inset: 5% 5% auto auto;
    width: 52%;
    aspect-ratio: 1;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    box-shadow:
        0 0 0 70px rgba(255, 255, 255, 0.018),
        0 0 0 140px rgba(255, 255, 255, 0.012);
    content: "";
    pointer-events: none;
}

.registration-card,
.identity-card-preview {
    position: relative;
    z-index: 2;
    overflow: hidden;
    border-radius: 30px;
    box-shadow:
        0 35px 80px rgba(0, 0, 0, 0.34);
}

.registration-card {
    border: 1px solid rgba(198, 154, 69, 0.55);
    background:
        radial-gradient(
            circle at 95% 5%,
            rgba(198, 154, 69, 0.12),
            transparent 23%
        ),
        var(--paw-ivory);
}

.registration-card::after {
    position: absolute;
    top: -90px;
    right: -70px;
    width: 250px;
    height: 250px;
    border: 1px solid rgba(198, 154, 69, 0.17);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.registration-card__heading {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 25px;
}

.registration-card__label {
    margin-bottom: 7px;
    color: #9a762f;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.17em;
    text-transform: uppercase;
}

.registration-card h1 {
    margin: 0;
    color: var(--paw-navy);
    font-family:
        Georgia,
        "Times New Roman",
        serif;
    font-weight: 600;
    letter-spacing: -0.025em;
}

.registration-card__heading p {
    margin: 7px 0 0;
    color: var(--paw-muted);
    line-height: 1.5;
}

.registration-card__mark {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid rgba(198, 154, 69, 0.65);
    border-radius: 50%;
    color: var(--paw-teal);
    background: rgba(255, 255, 255, 0.55);
    font-family:
        Georgia,
        "Times New Roman",
        serif;
    font-weight: 700;
}

.form-alert {
    position: relative;
    z-index: 1;
    margin-top: 16px;
    padding: 11px 14px;
    border: 1px solid rgba(184, 63, 76, 0.25);
    border-radius: 9px;
    color: var(--paw-error);
    background: rgba(184, 63, 76, 0.07);
    font-size: 13px;
    font-weight: 700;
}

.registration-form {
    position: relative;
    z-index: 1;
}

.registration-form__grid {
    display: grid;
}

.form-field label {
    display: block;
    margin-bottom: 7px;
    color: var(--paw-text);
    font-size: 12px;
    font-weight: 800;
}

.form-field input,
.form-field select {
    width: 100%;
    min-height: 46px;
    padding: 0 14px;
    border: 1px solid var(--paw-border);
    border-radius: 9px;
    outline: none;
    color: var(--paw-text);
    background: rgba(255, 255, 255, 0.75);
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.form-field input::placeholder {
    color: #9aa9b1;
}

.form-field input:focus,
.form-field select:focus {
    border-color: var(--paw-teal);
    background: var(--paw-white);
    box-shadow:
        0 0 0 4px rgba(49, 183, 175, 0.12);
}

.nickname-information {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 7px;
    color: var(--paw-muted);
    font-size: 10px;
    font-weight: 600;
}

.nickname-status {
    color: var(--paw-teal);
    font-weight: 800;
    white-space: nowrap;
}

.nickname-status.is-premium {
    color: #a87822;
}

.nickname-status.is-invalid {
    color: var(--paw-error);
}

.form-error {
    display: block;
    margin-top: 6px;
    color: var(--paw-error);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.4;
}

.terms-field {
    display: flex;
    align-items: flex-start;
    color: var(--paw-muted);
    font-size: 11px;
    font-weight: 600;
    line-height: 1.5;
}

.terms-field input {
    width: 17px;
    height: 17px;
    flex: 0 0 auto;
    margin: 0 10px 0 0;
    accent-color: var(--paw-teal);
}

.registration-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 49px;
    border: 1px solid rgba(198, 154, 69, 0.55);
    border-radius: 10px;
    color: var(--paw-white);
    background:
        linear-gradient(
            110deg,
            var(--paw-navy),
            var(--paw-navy-light)
        );
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.01em;
    box-shadow:
        0 13px 28px rgba(6, 31, 49, 0.21);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.registration-submit span {
    margin-left: 12px;
    font-size: 20px;
    line-height: 1;
}

.registration-submit:hover {
    transform: translateY(-1px);
    box-shadow:
        0 16px 32px rgba(6, 31, 49, 0.27);
}

.registration-submit:active {
    transform: translateY(0);
}

.registration-form__privacy {
    position: relative;
    padding-left: 23px;
    color: var(--paw-muted);
    font-size: 10px;
    font-weight: 700;
}

.registration-form__privacy::before {
    position: absolute;
    top: 50%;
    left: 0;
    width: 13px;
    height: 15px;
    border: 1px solid var(--paw-teal);
    border-radius: 7px 7px 5px 5px;
    content: "";
    transform: translateY(-50%);
}

.identity-card-preview {
    border: 1px solid rgba(198, 154, 69, 0.56);
    color: var(--paw-white);
    background:
        radial-gradient(
            circle at 17% 18%,
            rgba(49, 183, 175, 0.22),
            transparent 33%
        ),
        radial-gradient(
            circle at 92% 82%,
            rgba(198, 154, 69, 0.12),
            transparent 27%
        ),
        linear-gradient(
            135deg,
            #06283a,
            #071e31 68%,
            #0b3548
        );
}

.identity-card-preview::before {
    position: absolute;
    inset: 0;
    opacity: 0.14;
    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.1) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.1) 1px,
            transparent 1px
        );
    background-size: 34px 34px;
    content: "";
    pointer-events: none;
    mask-image:
        radial-gradient(circle at 85% 55%, black, transparent 68%);
}

.identity-card-preview > * {
    position: relative;
    z-index: 1;
}

.identity-card-preview__top {
    display: flex;
    justify-content: space-between;
    gap: 25px;
}

.identity-card-preview__type {
    display: block;
    margin-bottom: 5px;
    color: #79d5cf;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.identity-card-preview__top strong {
    color: var(--paw-navy) !important;
    font-family:
        Georgia,
        "Times New Roman",
        serif;
    font-size: 24px;
}

.identity-card-preview__top strong span {
    color: var(--paw-gold);
}

.identity-card-preview__verified {
    color: rgba(255, 255, 255, 0.55);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-align: right;
    text-transform: uppercase;
}

.identity-card-preview__symbol {
    display: flex;
    align-items: center;
}

.identity-card-preview__person {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid rgba(198, 154, 69, 0.65);
    border-radius: 50%;
    color: var(--paw-gold);
    background: rgba(255, 255, 255, 0.035);
    font-family:
        Georgia,
        "Times New Roman",
        serif;
    font-weight: 700;
}

.identity-card-preview__symbol span {
    display: block;
    margin-bottom: 4px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.identity-card-preview__symbol strong {
    display: block;
    font-family:
        Georgia,
        "Times New Roman",
        serif;
    font-weight: 500;
}

.identity-card-preview__data {
    display: grid;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.identity-card-preview__data span {
    display: block;
    margin-bottom: 5px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.identity-card-preview__data strong {
    color: var(--paw-white);
    font-family:
        ui-monospace,
        SFMono-Regular,
        Menlo,
        Consolas,
        monospace;
    font-weight: 700;
}

.identity-card-preview__status {
    color: #6ed8d1 !important;
}

.identity-card-preview__footer {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    color: rgba(255, 255, 255, 0.43);
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.registration-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1540px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.43);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;

}
/* Светлое оформление страницы и цифровой карты PawID */

body {
    background: #ffffff !important;
}

.identity-card-preview {
    border-color: rgba(198, 154, 69, 0.65) !important;
    color: var(--paw-navy) !important;
    background:
        radial-gradient(
            circle at 17% 18%,
            rgba(49, 183, 175, 0.12),
            transparent 34%
        ),
        radial-gradient(
            circle at 92% 82%,
            rgba(198, 154, 69, 0.12),
            transparent 30%
        ),
        #ffffff !important;
    box-shadow:
        0 28px 70px rgba(6, 31, 49, 0.13),
        inset 0 0 0 1px rgba(255, 255, 255, 0.9);
}

.identity-card-preview::before {
    opacity: 0.45;
    background-image:
        linear-gradient(
            rgba(49, 183, 175, 0.08) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(49, 183, 175, 0.08) 1px,
            transparent 1px
        );
}

.identity-card-preview__type {
    color: var(--paw-teal);
}

.identity-card-preview__verified,
.identity-card-preview__symbol span,
.identity-card-preview__data span,
.identity-card-preview__footer {
    color: var(--paw-muted);
}

.identity-card-preview__person {
    color: var(--paw-gold);
    background: var(--paw-ivory);
}

.identity-card-preview__data {
    border-top-color: rgba(6, 31, 49, 0.12);
    border-bottom-color: rgba(6, 31, 49, 0.12);
}

.identity-card-preview__data strong {
    color: var(--paw-navy);
}

.identity-card-preview__status {
    color: #168f88 !important;
}

.registration-footer {
    color: var(--paw-muted);
}
