.register-page {
    min-height: 100vh;
    background:
        radial-gradient(circle at 14% 16%, rgba(227, 66, 52, 0.16), transparent 24%),
        radial-gradient(circle at 82% 18%, rgba(87, 110, 133, 0.14), transparent 24%),
        linear-gradient(135deg, #090b0d 0%, #111418 42%, #161a1f 100%);
    color: #edf1f5;
}

.register-layout {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(320px, 0.85fr) minmax(620px, 1.15fr);
}

.register-brand-panel,
.register-form-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 64px;
}

.register-brand-panel {
    position: relative;
    gap: 18px;
    background:
        linear-gradient(135deg, rgba(227, 66, 52, 0.12), transparent 40%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 24%);
    border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.register-home-link {
    position: absolute;
    top: 28px;
    left: 28px;
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.register-logo {
    width: 136px;
    height: 136px;
    object-fit: contain;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 0 0 5px rgba(227, 66, 52, 0.10);
    filter: drop-shadow(0 16px 28px rgba(0, 0, 0, 0.4));
}

.register-brand-wordmark {
    flex-wrap: wrap;
    gap: 0;
}

.register-copy {
    max-width: 360px;
    line-height: 1.7;
    color: rgba(231, 236, 241, 0.74);
}

.register-form-panel {
    position: relative;
}

.register-form-panel::before {
    content: "";
    position: absolute;
    inset: 6.5% 5.5%;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01)),
        linear-gradient(180deg, rgba(255, 255, 255, 0.012), rgba(255, 255, 255, 0.03));
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.32);
}

.register-form-panel > * {
    position: relative;
    z-index: 1;
}

.register-card {
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
    padding: 40px;
    background: rgba(14, 17, 21, 0.86);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
}

.register-head {
    margin-bottom: 24px;
}

.register-kicker {
    color: #f06d5f;
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.register-head h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3rem;
    letter-spacing: 2px;
    line-height: 0.95;
    margin-bottom: 10px;
}

.register-head p {
    color: rgba(231, 236, 241, 0.72);
}

.register-alert,
.register-success {
    margin-bottom: 18px;
    padding: 16px 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
}

.register-success strong {
    display: block;
    margin-bottom: 10px;
    color: #f06d5f;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.register-success p {
    margin: 4px 0;
}

.register-form {
    width: 100%;
}

.register-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.form-span-2 {
    grid-column: span 2;
}

.register-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-top: 22px;
}

.register-back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 18px;
    color: #f7f8fa;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    border: 1px solid rgba(240, 109, 95, 0.42);
    background:
        linear-gradient(135deg, rgba(240, 109, 95, 0.08), rgba(255, 255, 255, 0.02)),
        rgba(255, 255, 255, 0.03);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
    transition: transform 0.2s, border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.register-back:hover {
    transform: translateY(-1px);
    border-color: rgba(240, 109, 95, 0.7);
    background:
        linear-gradient(135deg, rgba(240, 109, 95, 0.16), rgba(255, 255, 255, 0.04)),
        rgba(255, 255, 255, 0.04);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.register-form .form-input,
.register-form select.form-input {
    background: rgba(255, 255, 255, 0.04);
    color: #f4f7fa;
}

.register-form select.form-input {
    appearance: none;
}

.register-form .form-input::placeholder {
    color: rgba(233, 237, 241, 0.52);
}

.register-form .btn-submit {
    width: auto;
    min-width: 240px;
    min-height: 54px;
    padding: 0 28px;
    border: 1px solid rgba(240, 109, 95, 0.6);
    color: #f7f8fa;
    background:
        linear-gradient(135deg, rgba(240, 109, 95, 0.28), rgba(255, 255, 255, 0.03) 42%, rgba(0, 0, 0, 0.24)),
        linear-gradient(135deg, #13171c 0%, #0b0d10 100%);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.06),
        0 12px 30px rgba(0, 0, 0, 0.28),
        0 0 0 1px rgba(240, 109, 95, 0.12);
    position: relative;
    overflow: hidden;
}

.register-form .btn-submit::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 0 48%, rgba(255, 255, 255, 0.08) 50%, transparent 52%);
    transform: translateX(-120%);
    transition: transform 0.6s ease;
}

.register-form .btn-submit::after {
    content: "";
    position: absolute;
    right: 10px;
    top: 50%;
    width: 8px;
    height: 8px;
    border-top: 2px solid #f06d5f;
    border-right: 2px solid #f06d5f;
    transform: translateY(-50%) rotate(45deg);
}

.register-form .btn-submit:hover {
    transform: translateY(-1px);
    border-color: rgba(240, 109, 95, 0.9);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.1),
        0 16px 34px rgba(0, 0, 0, 0.32),
        0 0 20px rgba(240, 109, 95, 0.18);
}

.register-form .btn-submit:hover::before {
    transform: translateX(120%);
}

@media (max-width: 900px) {
    .register-layout {
        grid-template-columns: 1fr;
    }

    .register-brand-panel {
        min-height: 260px;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .register-form-panel {
        padding: 28px 18px 36px;
    }

    .register-form-panel::before {
        inset: 18px 14px;
    }

    .register-card {
        padding: 28px 20px;
    }

    .register-grid {
        grid-template-columns: 1fr;
    }

    .form-span-2 {
        grid-column: span 1;
    }

    .register-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .register-form .btn-submit,
    .register-back {
        width: 100%;
        text-align: center;
    }
}
