.cr-hero {
    position: relative;
    overflow: hidden;
    min-height: 300px;
    border: 1px solid rgba(209, 213, 219, 0.9);
    border-radius: 8px;
    background: #111827;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
}

.cr-hero-img,
.cr-auth-img,
.cr-welcome-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cr-hero-img {
    opacity: 0.72;
}

.cr-hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(17, 24, 39, 0.98), rgba(17, 24, 39, 0.76) 48%, rgba(17, 24, 39, 0.12));
}

.cr-hero-copy {
    position: relative;
    display: grid;
    align-items: end;
    min-height: 300px;
    padding: 2rem;
}

.cr-hero-copy-inner {
    max-width: 42rem;
}

.cr-kicker {
    margin: 0;
    font-size: 0.875rem;
    font-weight: 600;
    color: #d1d5db;
}

.cr-hero-title {
    margin: 0.75rem 0 0;
    max-width: 38rem;
    font-size: clamp(2rem, 2.8vw, 2.75rem);
    line-height: 1.08;
    font-weight: 650;
    letter-spacing: 0;
    color: #ffffff;
}

.cr-hero-body {
    margin: 1rem 0 0;
    max-width: 34rem;
    font-size: 1rem;
    line-height: 1.7;
    color: #e5e7eb;
}

.cr-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.cr-btn-light,
.cr-btn-glass,
.cr-btn-dark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.5rem;
    border-radius: 8px;
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
    font-weight: 650;
    line-height: 1.2;
    text-decoration: none;
    transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.cr-btn-light {
    background: #ffffff;
    color: #111827;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.12);
}

.cr-btn-light:hover {
    background: #f3f4f6;
}

.cr-btn-glass {
    border: 1px solid rgba(255, 255, 255, 0.32);
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    backdrop-filter: blur(10px);
}

.cr-btn-glass:hover {
    background: rgba(255, 255, 255, 0.2);
}

.cr-btn-dark {
    background: #111827;
    color: #ffffff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.12);
}

.cr-btn-dark:hover {
    background: #1f2937;
}

.cr-auth-shell {
    min-height: 100vh;
    background: #f9fafb;
}

.cr-auth-visual {
    position: relative;
    display: none;
    overflow: hidden;
    background: #111827;
}

.cr-auth-img {
    opacity: 0.86;
}

.cr-auth-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(17, 24, 39, 0.98), rgba(17, 24, 39, 0.62) 42%, rgba(17, 24, 39, 0.12));
}

.cr-auth-copy {
    position: relative;
    display: flex;
    height: 100%;
    align-items: end;
    padding: 3rem;
}

.cr-auth-copy-inner {
    max-width: 30rem;
}

.cr-auth-title {
    margin: 1.5rem 0 0;
    font-size: 2.5rem;
    line-height: 1.1;
    font-weight: 650;
    letter-spacing: 0;
    color: #ffffff;
}

.cr-auth-body {
    margin: 1rem 0 0;
    font-size: 1rem;
    line-height: 1.7;
    color: #e5e7eb;
}

.cr-auth-form-shell {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
    justify-content: center;
    padding: 2.5rem 1.5rem;
}

.cr-auth-form-inner {
    width: 100%;
    max-width: 28rem;
    margin: 0 auto;
}

.cr-auth-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.cr-auth-brand-text {
    font-size: 0.875rem;
    font-weight: 650;
    color: #111827;
}

.cr-auth-card {
    margin-top: 2rem;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #ffffff;
    padding: 1.5rem;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
}

.cr-welcome {
    position: relative;
    display: flex;
    min-height: 100vh;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #f9fafb;
    padding: 1.5rem;
}

.cr-welcome-img {
    opacity: 0.45;
}

.cr-welcome-shade {
    position: absolute;
    inset: 0;
    background: rgba(249, 250, 251, 0.82);
}

.cr-welcome-panel {
    position: relative;
    width: 100%;
    max-width: 38rem;
    text-align: center;
}

.cr-welcome-title {
    margin: 1.25rem 0 0;
    font-size: clamp(2.25rem, 5vw, 3rem);
    line-height: 1.08;
    font-weight: 650;
    letter-spacing: 0;
    color: #111827;
}

.cr-welcome-body {
    margin: 1rem auto 0;
    max-width: 32rem;
    font-size: 1rem;
    line-height: 1.7;
    color: #4b5563;
}

.cr-welcome-actions {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.75rem;
}

@media (min-width: 640px) {
    .cr-hero-copy {
        padding: 2rem;
    }
}

@media (min-width: 1024px) {
    .cr-hero-copy {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        padding: 2.5rem;
    }

    .cr-auth-shell {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }

    .cr-auth-visual {
        display: block;
    }

    .cr-auth-form-shell {
        padding-left: 3.5rem;
        padding-right: 3.5rem;
    }
}

@media (max-width: 639px) {
    .cr-hero {
        min-height: 360px;
    }

    .cr-hero-shade {
        background: linear-gradient(0deg, rgba(17, 24, 39, 0.98), rgba(17, 24, 39, 0.78) 58%, rgba(17, 24, 39, 0.2));
    }

    .cr-hero-copy {
        min-height: 360px;
        padding: 1.5rem;
    }

    .cr-btn-light,
    .cr-btn-glass,
    .cr-btn-dark {
        width: 100%;
    }
}
