.register-page {
    min-height: calc(100vh - 220px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 70px 20px 100px;
}

.register-card {
    position: relative;
    isolation: isolate;
    overflow: hidden;

    width: 100%;
    max-width: 520px;
    padding: 52px 46px 42px;

    border-radius: 36px;

    background:
        radial-gradient(circle at top right, rgba(56, 189, 248, 0.22), transparent 34%),
        radial-gradient(circle at bottom left, rgba(34, 197, 94, 0.14), transparent 34%),
        linear-gradient(180deg, rgba(30, 41, 59, 0.98), rgba(15, 23, 42, 0.98));

    border: 1px solid rgba(148, 163, 184, 0.18);

    box-shadow:
        0 34px 95px rgba(0, 0, 0, 0.52),
        0 0 80px rgba(56, 189, 248, 0.12);

    animation: registerAppear 0.65s ease;
}

.register-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;

    background:
        linear-gradient(135deg, rgba(255,255,255,0.07), transparent 38%),
        radial-gradient(circle at 50% 120%, rgba(59,130,246,0.22), transparent 46%);

    pointer-events: none;
}

.register-badge {
    width: fit-content;
    margin: 0 auto 20px;
    padding: 9px 18px;

    border-radius: 999px;

    background: rgba(56,189,248,0.10);
    border: 1px solid rgba(56,189,248,0.28);

    color: #38bdf8;

    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0.2px;
}

.register-title {
    margin: 0;

    color: #f8fafc;

    text-align: center;
    font-size: 46px;
    line-height: 1;
    font-weight: 950;
    letter-spacing: -1.6px;
}

.register-subtitle {
    max-width: 420px;
    margin: 18px auto 34px;

    color: #94a3b8;

    text-align: center;
    font-size: 16px;
    line-height: 1.65;
}

.register-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.register-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.register-field label {
    color: #cbd5e1;

    font-size: 14px;
    font-weight: 850;
}

.register-field input {
    width: 100%;
    height: 56px;

    padding: 0 18px;

    border-radius: 18px;

    background: rgba(2, 6, 23, 0.52);
    border: 1px solid rgba(148, 163, 184, 0.22);

    color: #f8fafc;

    font-size: 16px;

    box-shadow: none;
}

.register-field input:hover {
    border-color: rgba(56,189,248,0.46);
}

.register-field input:focus {
    border-color: rgba(56,189,248,0.88);
    background: rgba(2, 6, 23, 0.68);

    box-shadow:
        0 0 0 4px rgba(56,189,248,0.13);
}

.register-btn {
    width: 100%;
    height: 60px;
    margin-top: 8px;

    border-radius: 20px;

    background: linear-gradient(135deg, #38bdf8, #2563eb, #7c3aed);

    color: #ffffff;

    font-size: 17px;
    font-weight: 950;

    box-shadow:
        0 20px 48px rgba(37, 99, 235, 0.34);
}

.register-btn:hover {
    transform: translateY(-3px);

    box-shadow:
        0 26px 58px rgba(37, 99, 235, 0.46);
}

.register-footer {
    margin-top: 28px;

    color: #cbd5e1;

    text-align: center;
    font-size: 15px;
    line-height: 1.5;
}

.register-footer a {
    color: #38bdf8;

    text-decoration: none;
    font-weight: 900;
}

.register-footer a:hover {
    color: #7dd3fc;
}

.register-errors {
    padding: 14px 16px;

    border-radius: 16px;

    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.28);

    color: #fecaca;

    font-size: 14px;
    line-height: 1.5;
    font-weight: 700;
}

@keyframes registerAppear {
    from {
        opacity: 0;
        transform: translateY(24px) scale(0.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 768px) {
    .register-page {
        min-height: auto;
        padding: 46px 16px 90px;
    }

    .register-card {
        padding: 36px 24px 32px;
        border-radius: 30px;
    }

    .register-title {
        font-size: 38px;
    }

    .register-subtitle {
        font-size: 15px;
        margin-bottom: 28px;
    }

    .register-field input {
        height: 54px;
    }

    .register-btn {
        height: 58px;
    }
}

.register-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 4px 0 18px;
    color: rgba(226, 232, 240, 0.78);
    font-size: 13px;
    line-height: 1.45;
}

.register-consent input {
    width: 16px;
    height: 16px;
    min-width: 16px;
    margin-top: 2px;
    accent-color: #38bdf8;
    cursor: pointer;
}

.register-consent span {
    display: block;
}

.register-consent a {
    color: #38bdf8;
    font-weight: 700;
    text-decoration: none;
}

.register-consent a:hover {
    color: #7dd3fc;
    text-decoration: underline;
}