:root {
    --rp-auth-black: #070707;
    --rp-auth-panel: #080808;
    --rp-auth-white: #ffffff;
    --rp-auth-muted: #8a94a6;
    --rp-auth-border: #33363d;
    --rp-auth-bright: #75ff46;
    --rp-auth-error: #ff3b3b;
}

.rp-auth-body {
    margin: 0;
    background: var(--rp-auth-black);
    color: var(--rp-auth-white);
    font-family: Inter, Arial, sans-serif;
    min-height: 100vh;
}

.rp-auth-page {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(420px, .95fr);
    background: var(--rp-auth-black);
}

.rp-auth-media {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    background: #111;
}

.rp-auth-media video,
.rp-auth-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rp-auth-panel {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(32px, 6vw, 92px);
    background: var(--rp-auth-panel);
}

.rp-auth-card {
    width: min(100%, 570px);
}

.rp-auth-card h1 {
    margin: 0 0 48px;
    color: var(--rp-auth-white);
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(44px, 4.5vw, 64px);
    font-style: italic;
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: 0;
}

.rp-auth-intro {
    color: var(--rp-auth-white);
    max-width: 540px;
    margin: -18px 0 36px;
    font-size: 22px;
    line-height: 1.45;
    font-weight: 700;
}

.rp-auth-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.rp-auth-form label,
.rp-auth-password-row {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    color: var(--rp-auth-white);
    font-size: 18px;
    font-weight: 700;
}

.rp-auth-form label {
    flex-direction: column;
}

.rp-auth-password-row {
    margin-bottom: -12px;
}

.rp-auth-password-row a,
.rp-auth-bright {
    color: var(--rp-auth-bright);
    text-decoration: none;
}

.rp-auth-form input {
    width: 100%;
    min-height: 52px;
    box-sizing: border-box;
    border: 1px solid var(--rp-auth-border);
    border-radius: 9px;
    background: transparent;
    color: var(--rp-auth-white);
    padding: 0 14px;
    font-size: 18px;
    outline: none;
}

.rp-auth-form input:focus {
    border-color: var(--rp-auth-white);
}

.rp-auth-form input::placeholder {
    color: var(--rp-auth-muted);
}

.rp-auth-form input:disabled,
.rp-auth-submit:disabled {
    opacity: .45;
    cursor: not-allowed;
}

.rp-auth-password-wrap {
    position: relative;
}

.rp-auth-password-wrap input {
    padding-right: 54px;
}

.rp-auth-eye {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border: 0;
    background: transparent;
    color: var(--rp-auth-muted);
    cursor: pointer;
}

.rp-auth-submit {
    min-height: 61px;
    border: 0;
    border-radius: 14px;
    background: #2b2b2b;
    color: #000;
    font-size: 20px;
    font-weight: 800;
    cursor: pointer;
}

.rp-auth-submit:not(:disabled) {
    background: var(--rp-auth-white);
    color: var(--rp-auth-black);
}

.rp-auth-links {
    margin-top: 44px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    color: var(--rp-auth-white);
    font-size: 18px;
    font-weight: 700;
}

.rp-auth-links a {
    color: var(--rp-auth-white);
    text-decoration: none;
}

.rp-auth-links .rp-auth-bright {
    color: var(--rp-auth-bright);
}

.rp-auth-message,
.rp-auth-field-message {
    color: var(--rp-auth-error);
    font-size: 16px;
    font-weight: 700;
    margin: -24px 0 24px;
}

.rp-auth-field-message {
    margin: -16px 0 -8px;
    min-height: 18px;
}

.rp-auth-two {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.rp-auth-muted {
    color: var(--rp-auth-muted);
    font-weight: 500;
}

.rp-auth-hidden {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

@media (max-width: 900px) {
    .rp-auth-page {
        grid-template-columns: 1fr;
        min-height: 100vh;
    }

    .rp-auth-media {
        min-height: 38vh;
    }

    .rp-auth-panel {
        min-height: auto;
        padding: 38px 22px 88px;
    }

    .rp-auth-card h1 {
        font-size: clamp(38px, 11vw, 52px);
        margin-bottom: 34px;
    }

    .rp-auth-two {
        grid-template-columns: 1fr;
    }

    .rp-auth-links {
        flex-direction: column;
        align-items: flex-start;
        font-size: 16px;
    }
}
