/* =========================================================
   LOGIN DENTAL CLOUD - PREMIUM SALES UI
   Archivo independiente del app.css
   ========================================================= */

   :root {
    --crm-primary: #00A9B7;
    --crm-primary-dark: #047A85;
    --crm-primary-soft: #E6FAFC;
    --crm-ink: #0F172A;
    --crm-muted: #64748B;
    --crm-border: #DBE3EA;
    --crm-card: #FFFFFF;
    --crm-success: #22C55E;
    --crm-shadow: 0 34px 95px rgba(15, 23, 42, .14);
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

body {
    margin: 0;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

.crm-login-body {
    min-height: 100vh;
    overflow-x: hidden;
    color: var(--crm-ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background:
        radial-gradient(circle at 7% 8%, rgba(79, 209, 219, .30), transparent 31%),
        radial-gradient(circle at 88% 84%, rgba(15, 23, 42, .13), transparent 34%),
        linear-gradient(135deg, #ECFBFD 0%, #F8FBFF 45%, #EEF7F9 100%);
}

/* =========================================================
   LAYOUT PRINCIPAL
   ========================================================= */

.crm-login-page {
    width: min(1220px, calc(100% - 48px));
    min-height: 100vh;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.42fr) minmax(410px, .82fr);
    gap: 36px;
    align-items: center;
    padding: 30px 0;
}

/* =========================================================
   HERO IZQUIERDO
   ========================================================= */

.crm-login-hero {
    position: relative;
    overflow: hidden;
    min-height: 680px;
    border-radius: 42px;
    padding: 42px;
    display: flex;
    flex-direction: column;
    color: #FFFFFF;
    background:
        radial-gradient(circle at 78% 70%, rgba(0, 169, 183, .44), transparent 38%),
        linear-gradient(145deg, rgba(9, 18, 34, .98), rgba(13, 51, 61, .96));
    box-shadow:
        0 35px 100px rgba(15, 23, 42, .26),
        inset 0 1px 0 rgba(255, 255, 255, .09);
    isolation: isolate;
}

.crm-login-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -3;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px),
        linear-gradient(180deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
    background-size: 58px 58px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .82), transparent 94%);
}

.crm-login-hero::after {
    content: "";
    position: absolute;
    right: -130px;
    bottom: -130px;
    width: 430px;
    height: 430px;
    border-radius: 999px;
    z-index: -2;
    background: rgba(0, 169, 183, .35);
    filter: blur(12px);
}

.crm-orb {
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
    z-index: -1;
    filter: blur(22px);
    animation: crmFloat 8s ease-in-out infinite;
}

.crm-orb-one {
    width: 230px;
    height: 230px;
    left: 22%;
    top: 12%;
    background: rgba(79, 209, 219, .18);
}

.crm-orb-two {
    width: 320px;
    height: 320px;
    right: -8%;
    bottom: 8%;
    background: rgba(0, 169, 183, .22);
    animation-delay: -2s;
}

.crm-orb-three {
    width: 180px;
    height: 180px;
    right: 24%;
    top: 34%;
    background: rgba(255, 255, 255, .09);
    animation-delay: -4s;
}

@keyframes crmFloat {
    0%,
    100% {
        transform: translate3d(0, 0, 0) scale(1);
    }

    50% {
        transform: translate3d(0, -18px, 0) scale(1.04);
    }
}

/* =========================================================
   MARCA HERO
   ========================================================= */

.crm-hero-navbar {
    position: relative;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 14px;
}

.crm-brand-icon,
.crm-form-logo {
    width: 54px;
    height: 54px;
    border-radius: 19px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #5AD6DF, #00A9B7);
    color: #FFFFFF;
    font-weight: 950;
    letter-spacing: -.04em;
    box-shadow:
        0 18px 38px rgba(0, 169, 183, .32),
        inset 0 1px 0 rgba(255, 255, 255, .28);
}

.crm-hero-navbar strong,
.crm-hero-navbar span {
    display: block;
}

.crm-hero-navbar strong {
    color: #FFFFFF;
    font-size: 15px;
    font-weight: 950;
}

.crm-hero-navbar span {
    margin-top: 2px;
    color: rgba(255, 255, 255, .64);
    font-size: 12px;
    font-weight: 700;
}

/* =========================================================
   TEXTO HERO
   ========================================================= */

.crm-hero-content {
    position: relative;
    z-index: 5;
    max-width: 670px;
    margin-top: 48px;
}

.crm-chip {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    width: fit-content;
    padding: 9px 13px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .15);
    color: rgba(255, 255, 255, .9);
    font-size: 12px;
    font-weight: 900;
    box-shadow: 0 15px 30px rgba(0, 0, 0, .08);
}

.crm-chip span {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #34D399;
    box-shadow: 0 0 0 6px rgba(52, 211, 153, .16);
}

.crm-hero-content h1 {
    max-width: 660px;
    margin: 20px 0 16px;
    color: #FFFFFF;
    font-size: clamp(42px, 4vw, 60px);
    line-height: .94;
    letter-spacing: -.065em;
    font-weight: 950;
    text-wrap: balance;
    text-shadow: 0 22px 50px rgba(0, 0, 0, .24);
}

.crm-hero-content p {
    max-width: 600px;
    margin: 0;
    color: rgba(255, 255, 255, .76);
    font-size: 16px;
    line-height: 1.62;
}

.crm-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.crm-feature-pill {
    padding: 10px 13px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .105);
    border: 1px solid rgba(255, 255, 255, .13);
    color: rgba(255, 255, 255, .88);
    font-size: 12px;
    font-weight: 850;
}

/* =========================================================
   PREVIEW DASHBOARD - SLIDER AUTOMÁTICO
   ========================================================= */

.crm-dashboard-preview {
    position: relative;
    width: 100%;
    z-index: 4;
    margin-top: 32px;
    border-radius: 30px;
    background: rgba(255, 255, 255, .11);
    border: 1px solid rgba(255, 255, 255, .16);
    backdrop-filter: blur(20px);
    box-shadow:
        0 30px 85px rgba(0, 0, 0, .26),
        inset 0 1px 0 rgba(255, 255, 255, .12);
    padding: 14px;
    overflow: hidden;
}

.crm-window-header {
    display: flex;
    align-items: center;
    gap: 7px;
    height: 30px;
    padding: 0 7px;
}

.crm-window-header span {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .38);
}

.crm-window-header small {
    margin-left: 7px;
    color: rgba(255, 255, 255, .6);
    font-size: 11px;
    font-weight: 800;
}

.crm-preview-slider {
    position: relative;
    min-height: 300px;
    margin-top: 6px;
    overflow: hidden;
}

.crm-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: translateX(28px) scale(.98);
    pointer-events: none;
    animation: crmSlideShow 15s infinite;
}

.crm-slide:nth-child(1) {
    animation-delay: 0s;
}

.crm-slide:nth-child(2) {
    animation-delay: 5s;
}

.crm-slide:nth-child(3) {
    animation-delay: 10s;
}

.crm-dashboard-preview:hover .crm-slide,
.crm-dashboard-preview:hover .crm-slider-dots span::after {
    animation-play-state: paused;
}

@keyframes crmSlideShow {
    0% {
        opacity: 0;
        transform: translateX(28px) scale(.98);
    }

    5%,
    28% {
        opacity: 1;
        transform: translateX(0) scale(1);
        pointer-events: auto;
    }

    34%,
    100% {
        opacity: 0;
        transform: translateX(-28px) scale(.98);
        pointer-events: none;
    }
}

.crm-preview-card,
.crm-kpi-card,
.crm-kpi-summary {
    border-radius: 22px;
    background: rgba(255, 255, 255, .96);
    color: var(--crm-ink);
    box-shadow: 0 18px 42px rgba(0, 0, 0, .16);
    border: 1px solid rgba(255, 255, 255, .75);
    backdrop-filter: blur(18px);
}

.crm-preview-card {
    min-height: 268px;
    padding: 18px;
}

.crm-preview-title {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.crm-preview-title span {
    display: block;
    color: var(--crm-muted);
    font-size: 12px;
    font-weight: 800;
}

.crm-preview-title strong {
    display: block;
    margin-top: 2px;
    color: var(--crm-ink);
    font-size: 24px;
    line-height: 1;
    font-weight: 950;
}

.crm-preview-title b {
    display: inline-flex;
    align-items: center;
    height: 30px;
    padding: 0 11px;
    border-radius: 999px;
    background: var(--crm-primary-soft);
    color: var(--crm-primary-dark);
    font-size: 12px;
    font-weight: 950;
}

.crm-agenda-list {
    display: grid;
    gap: 10px;
}

.crm-agenda-item {
    display: grid;
    grid-template-columns: 48px 8px 1fr;
    align-items: center;
    gap: 11px;
    min-height: 44px;
    padding: 8px 10px;
    border-radius: 15px;
    background: #F8FAFC;
    border: 1px solid #EEF2F7;
}

.crm-agenda-item time {
    color: var(--crm-ink);
    font-size: 12px;
    font-weight: 950;
}

.crm-agenda-item strong {
    color: #334155;
    font-size: 12px;
    font-weight: 950;
}

.crm-line {
    width: 8px;
    height: 28px;
    border-radius: 999px;
}

.crm-line.cyan {
    background: #47C5D0;
}

.crm-line.blue {
    background: #5C83E6;
}

.crm-line.pink {
    background: #DB5AA4;
}

.crm-line.yellow {
    background: #F2B800;
}

/* RECORDATORIO */

.crm-wa-top {
    display: flex;
    align-items: center;
    gap: 12px;
}

.crm-wa-icon {
    width: 44px;
    height: 44px;
    border-radius: 15px;
    display: grid;
    place-items: center;
    background: #DCFCE7;
    color: #15803D;
    font-size: 15px;
    font-weight: 950;
}

.crm-wa-top strong,
.crm-wa-top span {
    display: block;
}

.crm-wa-top strong {
    color: var(--crm-ink);
    font-size: 16px;
    font-weight: 950;
}

.crm-wa-top span {
    margin-top: 2px;
    color: var(--crm-muted);
    font-size: 12px;
    font-weight: 800;
}

.crm-wa-message {
    margin-top: 16px;
    min-height: 82px;
    padding: 15px;
    border-radius: 18px;
    background: linear-gradient(135deg, #F8FAFC, #FFFFFF);
    border: 1px solid #EEF2F7;
    color: var(--crm-muted);
    font-size: 13px;
    line-height: 1.55;
}

.crm-wa-button {
    width: 100%;
    height: 46px;
    margin-top: 14px;
    border: 0;
    border-radius: 16px;
    background: linear-gradient(135deg, #34D399, #22C55E);
    color: #FFFFFF;
    font-size: 13px;
    font-weight: 950;
    cursor: pointer;
    box-shadow:
        0 16px 30px rgba(34, 197, 94, .28),
        inset 0 1px 0 rgba(255, 255, 255, .22);
}

.crm-reminder-foot {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 13px;
    color: var(--crm-muted);
    font-size: 11px;
    font-weight: 800;
}

.crm-reminder-foot span {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--crm-success);
    box-shadow: 0 0 0 5px rgba(34, 197, 94, .12);
}

/* KPIS */

.crm-kpi-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.crm-kpi-card {
    min-height: 158px;
    padding: 18px;
}

.crm-kpi-card span {
    display: block;
    color: var(--crm-muted);
    font-size: 12px;
    font-weight: 850;
}

.crm-kpi-card strong {
    display: block;
    margin-top: 8px;
    color: var(--crm-ink);
    font-size: 38px;
    line-height: .95;
    letter-spacing: -.05em;
    font-weight: 950;
}

.crm-kpi-card small {
    display: block;
    margin-top: 12px;
    color: #64748B;
    font-size: 11px;
    line-height: 1.35;
    font-weight: 800;
}

.crm-kpi-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 98px;
    margin-top: 12px;
    padding: 18px;
}

.crm-kpi-summary span {
    display: block;
    color: var(--crm-muted);
    font-size: 12px;
    font-weight: 850;
}

.crm-kpi-summary strong {
    display: block;
    margin-top: 4px;
    color: var(--crm-ink);
    font-size: 18px;
    line-height: 1.1;
    font-weight: 950;
}

.crm-kpi-summary b {
    display: inline-flex;
    align-items: center;
    height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    background: #DCFCE7;
    color: #15803D;
    font-size: 11px;
    font-weight: 950;
}

/* INDICADORES */

.crm-slider-dots {
    position: absolute;
    left: 50%;
    bottom: 2px;
    display: flex;
    gap: 7px;
    transform: translateX(-50%);
    z-index: 5;
}

.crm-slider-dots span {
    position: relative;
    width: 26px;
    height: 5px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, .34);
}

.crm-slider-dots span::after {
    content: "";
    position: absolute;
    inset: 0;
    width: 0;
    border-radius: inherit;
    background: #FFFFFF;
    animation: crmDotProgress 15s infinite;
}

.crm-slider-dots span:nth-child(1)::after {
    animation-delay: 0s;
}

.crm-slider-dots span:nth-child(2)::after {
    animation-delay: 5s;
}

.crm-slider-dots span:nth-child(3)::after {
    animation-delay: 10s;
}

@keyframes crmDotProgress {
    0%,
    4% {
        width: 0;
    }

    5%,
    28% {
        width: 100%;
    }

    34%,
    100% {
        width: 0;
    }
}

/* =========================================================
   PANEL DERECHO - FORMULARIO
   ========================================================= */

.crm-login-panel {
    display: flex;
    justify-content: center;
}

.crm-login-card {
    position: relative;
    width: 100%;
    max-width: 430px;
    padding: 34px 30px 28px;
    border-radius: 34px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(255, 255, 255, .92));
    border: 1px solid rgba(226, 232, 240, .9);
    box-shadow:
        var(--crm-shadow),
        inset 0 1px 0 rgba(255, 255, 255, .9);
    backdrop-filter: blur(24px);
}

.crm-login-card::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(0, 169, 183, .38), rgba(255, 255, 255, .2), rgba(15, 23, 42, .08));
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask-composite: exclude;
    pointer-events: none;
}

.crm-form-logo {
    width: 56px;
    height: 56px;
    margin-bottom: 24px;
}

.crm-form-heading span {
    display: inline-flex;
    margin-bottom: 7px;
    color: var(--crm-primary);
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: .07em;
}

.crm-form-heading h2 {
    margin: 0;
    color: var(--crm-ink);
    font-size: 34px;
    line-height: 1.02;
    letter-spacing: -.055em;
    font-weight: 950;
}

.crm-form-heading p {
    margin: 10px 0 24px;
    color: var(--crm-muted);
    font-size: 14px;
    line-height: 1.5;
}

/* =========================================================
   ALERTAS
   ========================================================= */

.crm-alert-error {
    margin-bottom: 18px;
    border-radius: 18px;
    padding: 13px 14px;
    background: #FEE2E2;
    color: #991B1B;
    border: 1px solid #FECACA;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.45;
}

.crm-tech-error {
    margin-top: 10px;
    font-size: 12px;
    line-height: 1.45;
}

/* =========================================================
   CAMPOS
   ========================================================= */

.crm-field {
    display: block;
    margin-top: 15px;
    color: #334155;
    font-size: 13px;
    font-weight: 950;
}

.crm-field > span {
    display: block;
    margin-bottom: 8px;
}

.crm-input-wrap {
    position: relative;
}

.crm-input-wrap input {
    width: 100%;
    height: 50px;
    border: 1px solid var(--crm-border);
    border-radius: 17px;
    padding: 0 15px;
    background: #FFFFFF;
    color: var(--crm-ink);
    font-size: 14px;
    font-weight: 850;
    outline: none;
    transition:
        border-color .18s ease,
        box-shadow .18s ease,
        transform .18s ease;
}

.crm-input-wrap input::placeholder {
    color: #94A3B8;
}

.crm-input-wrap input:focus {
    border-color: var(--crm-primary);
    box-shadow:
        0 0 0 4px rgba(0, 169, 183, .12),
        0 14px 30px rgba(15, 23, 42, .06);
}

/* =========================================================
   NO SOY ROBOT VISUAL
   ========================================================= */

.crm-fake-captcha {
    position: relative;
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    min-height: 72px;
    margin-top: 18px;
    padding: 13px 14px;
    border-radius: 18px;
    background: linear-gradient(180deg, #FFFFFF, #F8FAFC);
    border: 1px solid #DDE6EF;
    box-shadow:
        0 16px 34px rgba(15, 23, 42, .07),
        inset 0 1px 0 rgba(255, 255, 255, .85);
    cursor: pointer;
    user-select: none;
    transition:
        border-color .18s ease,
        box-shadow .18s ease,
        transform .18s ease,
        background .18s ease;
}

.crm-fake-captcha:hover {
    transform: translateY(-1px);
    border-color: rgba(0, 169, 183, .38);
    box-shadow:
        0 20px 38px rgba(15, 23, 42, .10),
        0 0 0 4px rgba(0, 169, 183, .06),
        inset 0 1px 0 rgba(255, 255, 255, .88);
}

.crm-fake-captcha input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.crm-captcha-box {
    position: relative;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: #FFFFFF;
    border: 2px solid #CBD5E1;
    box-shadow:
        inset 0 1px 2px rgba(15, 23, 42, .06),
        0 8px 18px rgba(15, 23, 42, .07);
    transition:
        border-color .18s ease,
        background .18s ease,
        box-shadow .18s ease,
        transform .18s ease;
}

.crm-captcha-box::after {
    content: "";
    position: absolute;
    left: 8px;
    top: 4px;
    width: 8px;
    height: 15px;
    border: solid #FFFFFF;
    border-width: 0 3px 3px 0;
    opacity: 0;
    transform: rotate(45deg) scale(.65);
    transition:
        opacity .16s ease,
        transform .16s ease;
}

.crm-fake-captcha input:checked ~ .crm-captcha-box {
    border-color: var(--crm-primary);
    background: linear-gradient(135deg, #4BC7D2, #00A9B7);
    box-shadow:
        0 12px 24px rgba(0, 169, 183, .24),
        inset 0 1px 0 rgba(255, 255, 255, .24);
}

.crm-fake-captcha input:checked ~ .crm-captcha-box::after {
    opacity: 1;
    transform: rotate(45deg) scale(1);
}

.crm-fake-captcha input:focus-visible ~ .crm-captcha-box {
    box-shadow:
        0 0 0 4px rgba(0, 169, 183, .16),
        0 10px 20px rgba(15, 23, 42, .08);
}

.crm-captcha-copy {
    min-width: 0;
}

.crm-captcha-copy strong,
.crm-captcha-copy small {
    display: block;
}

.crm-captcha-copy strong {
    color: var(--crm-ink);
    font-size: 14px;
    line-height: 1.15;
    font-weight: 950;
}

.crm-captcha-copy small {
    margin-top: 4px;
    color: var(--crm-muted);
    font-size: 11px;
    line-height: 1.2;
    font-weight: 800;
}

.crm-captcha-brand {
    width: 58px;
    min-height: 48px;
    display: grid;
    place-items: center;
    gap: 2px;
    padding: 7px 6px;
    border-radius: 14px;
    background: #F1F5F9;
    border: 1px solid #E2E8F0;
    color: #64748B;
    text-align: center;
}

.crm-captcha-brand span {
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    background: linear-gradient(135deg, #5AD6DF, #00A9B7);
    color: #FFFFFF;
    font-size: 10px;
    font-weight: 950;
    letter-spacing: -.04em;
    box-shadow: 0 8px 16px rgba(0, 169, 183, .18);
}

.crm-captcha-brand small {
    display: block;
    font-size: 9px;
    line-height: 1;
    font-weight: 950;
}

/* =========================================================
   BOTÓN
   ========================================================= */

.crm-login-button {
    width: 100%;
    height: 54px;
    margin-top: 24px;
    border: 0;
    border-radius: 18px;
    background: linear-gradient(135deg, #4BC7D2, #00A9B7);
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 950;
    cursor: pointer;
    box-shadow:
        0 20px 38px rgba(0, 169, 183, .24),
        inset 0 1px 0 rgba(255, 255, 255, .24);
    transition:
        transform .18s ease,
        box-shadow .18s ease,
        opacity .18s ease;
}

.crm-login-button:hover {
    transform: translateY(-1px);
    box-shadow:
        0 24px 44px rgba(0, 169, 183, .32),
        inset 0 1px 0 rgba(255, 255, 255, .24);
}

.crm-login-button:disabled {
    opacity: .75;
    cursor: wait;
    transform: none;
}

/* =========================================================
   AYUDA Y SEGURIDAD
   ========================================================= */

.crm-demo-help {
    margin-top: 18px;
    color: var(--crm-muted);
    text-align: center;
    font-size: 12px;
    font-weight: 800;
}

.crm-demo-help strong {
    color: #334155;
}

.crm-security-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 18px;
    padding: 11px 12px;
    border-radius: 16px;
    background: #F8FAFC;
    border: 1px solid #EEF2F7;
    color: var(--crm-muted);
    text-align: center;
    font-size: 11px;
    font-weight: 800;
}

.crm-security-note span {
    width: 8px;
    height: 8px;
    flex: 0 0 auto;
    border-radius: 999px;
    background: var(--crm-success);
    box-shadow: 0 0 0 5px rgba(34, 197, 94, .12);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1120px) {
    .crm-login-page {
        grid-template-columns: 1fr;
        padding: 28px 0;
    }

    .crm-login-hero {
        min-height: auto;
    }

    .crm-login-card {
        max-width: 560px;
    }
}

@media (max-width: 780px) {
    .crm-login-page {
        width: min(100% - 28px, 620px);
        gap: 20px;
    }

    .crm-login-hero {
        min-height: auto;
        border-radius: 30px;
        padding: 26px;
    }

    .crm-hero-content {
        margin-top: 34px;
    }

    .crm-hero-content h1 {
        font-size: 42px;
        letter-spacing: -.06em;
    }

    .crm-hero-content p {
        font-size: 14px;
    }

    .crm-dashboard-preview {
        width: 100%;
        margin-top: 28px;
    }

    .crm-preview-slider {
        min-height: 300px;
    }

    .crm-login-card {
        max-width: none;
        border-radius: 30px;
        padding: 30px 23px 24px;
    }
}

@media (max-width: 460px) {
    .crm-login-body {
        background:
            radial-gradient(circle at 10% 10%, rgba(79, 209, 219, .22), transparent 35%),
            linear-gradient(135deg, #ECFBFD 0%, #F8FBFF 100%);
    }

    .crm-login-page {
        width: min(100% - 20px, 410px);
        padding: 10px 0 18px;
    }

    .crm-login-hero {
        padding: 22px;
        border-radius: 26px;
    }

    .crm-brand-icon,
    .crm-form-logo {
        width: 50px;
        height: 50px;
    }

    .crm-hero-content h1 {
        font-size: 34px;
    }

    .crm-hero-actions {
        gap: 8px;
    }

    .crm-feature-pill {
        font-size: 11px;
        padding: 9px 11px;
    }

    .crm-preview-slider {
        min-height: 330px;
    }

    .crm-preview-title {
        flex-direction: column;
    }

    .crm-preview-card {
        min-height: 300px;
        padding: 16px;
    }

    .crm-agenda-item {
        grid-template-columns: 46px 8px 1fr;
    }

    .crm-kpi-grid {
        grid-template-columns: 1fr;
    }

    .crm-kpi-card {
        min-height: 112px;
    }

    .crm-kpi-card strong {
        font-size: 32px;
    }

    .crm-kpi-summary {
        min-height: 82px;
    }

    .crm-form-heading h2 {
        font-size: 30px;
    }

    .crm-security-note {
        align-items: flex-start;
        text-align: left;
    }
}

@media (prefers-reduced-motion: reduce) {
    .crm-orb,
    .crm-slide,
    .crm-slider-dots span::after {
        animation: none;
    }

    .crm-slide {
        position: relative;
        opacity: 1;
        transform: none;
        pointer-events: auto;
        display: none;
    }

    .crm-slide:first-child {
        display: block;
    }

    .crm-login-button,
    .crm-input-wrap input {
        transition: none;
    }
}