* { box-sizing: border-box; }
:root { --navy: #10275f; --blue: #087cf7; --purple: #7032fa; --muted: #7f93b6; }
html, body { margin: 0; min-height: 100%; font-family: "DM Sans", sans-serif; color: var(--navy); }
body {
    background: #f2f5ff;
    background-image: radial-gradient(circle at 8% 0%, #d8e5ff 0, transparent 31%), radial-gradient(circle at 96% 100%, #e5dcff 0, transparent 28%);
}
a { text-decoration: none; color: #4c25ff; font-weight: 700; }
a:hover { color: #079cf5; }
.page-wrap { min-height: 100vh; padding: 0; display: flex; align-items: center; justify-content: center; }
.login-layout {
    width: min(1536px, 100%);
    min-height: 100vh;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 56.7% 43.3%;
    background: white;
    overflow: hidden;
}
.left-side { min-width: 0; display: flex; flex-direction: column; }
.hero-panel {
    min-height: 85vh;
    flex: 1 0 auto;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    padding: 38px clamp(34px, 5.4vw, 84px) 55px;
    color: white;
    background: #064ca6 url("/images/personal-assistant-workspace.jpg") center center / cover no-repeat;
}
.hero-photo-shade {
    position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(90deg, rgba(3, 42, 112, .96) 0%, rgba(4, 64, 143, .82) 50%, rgba(4, 92, 170, .42) 100%), linear-gradient(0deg, rgba(4, 25, 86, .42), transparent 50%);
}
.brand { display: flex; align-items: center; gap: 16px; position: relative; z-index: 2; }
.brand-logo { width: 76px; height: 76px; position: relative; display: grid; place-items: center; color: white; }
.brand-logo > .mud-icon-root { width: 61px; height: 61px; border-radius: 22px; background: linear-gradient(135deg, #09c8f0, #2469ff 48%, #a633f4); box-shadow: 0 10px 25px rgba(1, 15, 71, .25); }
.brand-logo span { position: absolute; right: 0; bottom: 4px; width: 28px; height: 28px; display: grid; place-items: center; color: #1262d8; background: #fff; border-radius: 50%; }
.brand-title { font-size: clamp(20px, 2vw, 30px); line-height: 1.2; font-weight: 800; letter-spacing: -.7px; }
.brand-subtitle { margin-top: 5px; color: rgba(255,255,255,.83); font-size: 16px; }
.brand-subtitle b { margin: 0 8px; color: #72efff; }
.hero-content { position: relative; z-index: 2; margin-top: 40px; max-width: 520px; }
.hero-content h1 { color:mintcream; font-size: clamp(36px, 3.6vw, 52px); line-height: 1.12; letter-spacing: -1.7px; margin: 0 0 20px; font-weight: 800; }
    .hero-content h1 span {
        background: linear-gradient(90deg, #ff0000, #ff991a);
        color: transparent;
        background-clip: text;
        -webkit-background-clip: text;
    }
.hero-description { max-width: 420px; font-size: 16px; line-height: 1.55; color: rgba(255,255,255,.91); margin: 0; }
.feature-list { display: grid; gap: 18px; margin-top: 24px; }
.feature-item { display: flex; align-items: center; gap: 14px; }
.feature-icon { width: 48px; height: 48px; flex: 0 0 48px; display: grid; place-items: center; color: white; border-radius: 17px; box-shadow: 0 7px 18px rgba(0,0,0,.12); }
.feature-icon.task { background: linear-gradient(135deg, #00d7a2, #00b886); }
.feature-icon.calendar { background: linear-gradient(135deg, #11c7ff, #0875ff); }
.feature-icon.reminder { background: linear-gradient(135deg, #bb38ff, #7027ef); }
.feature-icon.productivity { background: linear-gradient(135deg, #ffc72d, #ff9510); }
.feature-item strong, .feature-item small { display: block; }
.feature-item strong { font-size: 15px; font-weight: 700; }
.feature-item small { margin-top: 4px; font-size: 13px; color: rgba(255,255,255,.84); }

.tasksmall{
    color:forestgreen !important;
}

.hero-slogan {
    color: #25ff00fc; margin-top: 35px;
    font-size: 28px;
    line-height: 1.15;
    font-family: "DM Sans", cursive;
    font-style: italic;
    font-weight: 600;
    transform: rotate(-5deg);
    width: fit-content;
}
.hero-slogan span { margin-left: 14px; }
    .hero-slogan i {
        color: #0fff0d;
        display: block;
        width: 190px;
        height: 3px;
        margin: 8px 0 0 30px;
        border-radius: 50%;
        background: linear-gradient(90deg, #0fff0d, white);
        transform: rotate(-4deg);
    }
.bottom-wave { position: absolute; z-index: 1; bottom: -54px; left: -4%; width: 110%; height: 145px; border-radius: 48% 52% 0 0; pointer-events: none; }
.wave-blue { background: linear-gradient(100deg, #00baf4, #176bff 50%, #6d3bfa); transform: rotate(3deg); opacity: .95; }
.wave-purple { left: 38%; bottom: -77px; width: 78%; background: linear-gradient(100deg, #365aff, #b63af5); transform: rotate(-8deg); opacity: .8; }
.benefits-row { min-height: 15vh; padding: 20px clamp(24px, 3.6vw, 56px); display: grid; grid-template-columns: repeat(3, 1fr); align-items: center; gap: 18px; background: #fbfcff; position: relative; z-index: 2; }
.benefit-item { display: flex; align-items: center; gap: 12px; min-width: 0; }
.benefit-item:not(:last-child) { border-right: 1px solid #dce5f5; padding-right: 14px; }
.benefit-icon { width: 44px; height: 44px; flex: 0 0 44px; display: grid; place-items: center; border-radius: 50%; }
.benefit-icon.blue { color: #2483ff; background: #eaf2ff; }
.benefit-icon.pink { color: #f34891; background: #fff0f6; }
.benefit-icon.green { color: #168bfa; background: #e8f5ff; }
.benefit-item strong, .benefit-item small { display: block; }
.benefit-item strong { font-size: 12px; white-space: nowrap; }
.benefit-item small { font-size: 10px; color: #8293b2; margin-top: 5px; white-space: nowrap; }
.right-side { position: relative; min-width: 0; padding: 05px clamp(28px, 4vw, 62px) 40px; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #f8fbff 0%, #fff 40%, #fbfaff 100%); }
.top-signup { position: absolute; top: 35px; right: 36px; display: flex; align-items: center; gap: 12px; color: #243a6c; font-size: 12px; }
.top-signup a { display: inline-flex; align-items: center; gap: 5px; }
.login-card { width: 100%; max-width: 570px; padding: 5px 0 32px; }
.assistant-mark { width: 82px; height: 82px; margin: 0 auto 15px; position: relative; display: grid; place-items: center; color: white; border-radius: 50%; background: linear-gradient(140deg, #168eff, #7132fa); box-shadow: 0 12px 25px rgba(69, 91, 244, .16); }
.assistant-mark > .mud-icon-root { font-size: 48px; }
.assistant-mark span { position: absolute; right: -1px; bottom: 0; width: 29px; height: 29px; border-radius: 50%; display: grid; place-items: center; color: white; background: #0cc9b0; border: 3px solid white; }
.login-card h2 { margin: 0; text-align: center; color: #112960; font-size: clamp(28px, 2.5vw, 36px); line-height: 1.2; font-weight: 800; letter-spacing: -.8px; }
.login-subtitle { margin: 10px 0 39px; text-align: center; color: #8296bd; font-size: 15px; }
.field { margin-bottom: 21px; }
.field label { display: block; margin-bottom: 8px; color: #142b60; font-size: 14px; font-weight: 700; }
.field .mud-input-control { margin-top: 0; }
.field .mud-input-outlined { border-radius: 12px; background: #fff; }
.field .mud-input-outlined-border { border-color: #dfe8f7; }
.field .mud-input-control:hover .mud-input-outlined-border { border-color: #9db5fa; }
.field .mud-input-root { font-size: 14px; }
.field .mud-input-adornment { color: #7189b1; }
.field .validation-message { color: #d93058; font-size: 11px; }
.form-options { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 0 0 22px; }
.form-options .mud-checkbox { margin-left: -8px; }
.form-options .mud-checkbox-content { font-size: 12px; color: #4b5f87; }
.form-options a { font-size: 12px; white-space: nowrap; }
.submit-button { min-height: 51px !important; border-radius: 12px !important; background: linear-gradient(100deg, #079ff5, #7030fa) !important; color: white !important; text-transform: none !important; font-size: 16px !important; font-weight: 700 !important; box-shadow: 0 9px 20px rgba(90, 69, 245, .16) !important; gap: 10px; }
.submit-button:hover { filter: brightness(1.04); transform: translateY(-1px); }
.submit-button .mud-button-label { display: flex; align-items: center; justify-content: center; gap: 10px; }
.feedback { margin-top: 12px; font-size: 12px; }
.social-divider { display: flex; align-items: center; gap: 14px; margin: 29px 0 20px; }
.social-divider span { height: 1px; background: #dfe7f4; flex: 1; }
.social-divider small { font-size: 12px; color: #7f93b7; white-space: nowrap; }
.social-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.social { min-width: 0 !important; min-height: 45px !important; border-radius: 11px !important; text-transform: none !important; font-size: 12px !important; font-weight: 700 !important; }
.social.google { color: #223963 !important; background: #fff !important; border: 1px solid #dfe8f7 !important; }
.social.facebook { color: #fff !important; background: #0868ef !important; }
.social.apple { color: #fff !important; background: #111820 !important; }
.social .mud-button-start-icon { margin-inline-end: 6px; }
.security-box { margin-top: 28px; padding: 16px; display: flex; align-items: center; gap: 13px; border-radius: 13px; background: #edf5ff; }
.security-icon { width: 34px; height: 34px; flex: 0 0 34px; display: grid; place-items: center; color: #1879ee; }
.security-box strong, .security-box small { display: block; }
.security-box strong { color: #193467; font-size: 12px; }
.security-box small { color: #8195b9; font-size: 10px; line-height: 1.5; margin-top: 4px; }
.create-account { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 36px; font-size: 11px; color: #31466f; }
.create-account a { display: inline-flex; align-items: center; gap: 4px; }
.not-found { padding: 2rem; text-align: center; }

@media (max-width: 1120px) {
    .login-layout { grid-template-columns: 52% 48%; }
    .hero-panel { padding: 32px 30px 50px; }
    .brand-logo { width: 58px; height: 58px; }
    .brand-logo > .mud-icon-root { width: 50px; height: 50px; }
    .brand-title { font-size: 22px; }
    .hero-content { margin-top: 45px; }
    .hero-content h1 { font-size: 38px; }
    .hero-description { font-size: 14px; }
    .feature-list { gap: 15px; }
    .feature-icon { width: 42px; height: 42px; flex-basis: 42px; }
    .right-side { padding-inline: 28px; }
    .login-subtitle { margin-bottom: 28px; }
    .benefits-row { padding-inline: 18px; gap: 8px; }
    .benefit-item { gap: 7px; }
    .benefit-icon { width: 34px; height: 34px; flex-basis: 34px; }
    .benefit-item small { font-size: 9px; }
}
@media (max-width: 780px) {
    .login-layout { display: flex; flex-direction: column; min-height: 100vh; }
    .hero-panel { min-height: auto; padding: 25px 24px 45px; }
    .hero-content { margin-top: 32px; }
    .hero-content h1 { font-size: clamp(32px, 7vw, 42px); }
    .hero-description { max-width: 540px; }
    .feature-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px 12px; }
    .feature-item { gap: 9px; align-items: flex-start; }
    .feature-icon { width: 36px; height: 36px; flex-basis: 36px; border-radius: 13px; }
    .feature-item strong { font-size: 12px; }
    .feature-item small { font-size: 10px; line-height: 1.4; }
    .hero-slogan { margin-top: 28px; font-size: 23px; }
    .benefits-row { min-height: auto; padding: 18px 20px; }
    .right-side { padding: 34px 24px 38px; }
    .top-signup { display: none; }
    .login-card { padding: 0; max-width: 520px; }
    .assistant-mark { width: 64px; height: 64px; }
    .assistant-mark > .mud-icon-root { font-size: 38px; }
    .login-card h2 { font-size: 29px; }
    .login-subtitle { font-size: 13px; margin: 8px 0 28px; }
    .create-account { margin-top: 25px; }
}
@media (max-width: 480px) {
    .hero-panel { padding: 22px 18px 42px; }
    .brand { gap: 10px; }
    .brand-logo { width: 48px; height: 48px; }
    .brand-logo > .mud-icon-root { width: 43px; height: 43px; }
    .brand-title { font-size: 19px; }
    .brand-subtitle { font-size: 11px; }
    .hero-content h1 { font-size: 32px; }
    .feature-list { gap: 15px 8px; }
    .feature-item { gap: 7px; }
    .feature-item strong { font-size: 11px; }
    .feature-item small { font-size: 9px; }
    .benefits-row { grid-template-columns: 1fr; gap: 13px; padding: 18px 22px; }
    .benefit-item:not(:last-child) { border-right: 0; padding-right: 0; }
    .benefit-item small { font-size: 10px; }
    .right-side { padding: 30px 18px; }
    .social-row { gap: 6px; }
    .social { font-size: 10px !important; padding-inline: 4px !important; }
    .social .mud-button-start-icon { margin-inline-end: 3px; }
    .security-box { padding: 12px; }
    .security-box small { font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }

.password-wrap { position: relative; }
.password-wrap .password-lock { position: absolute; z-index: 2; left: 14px; top: 50%; transform: translateY(-50%); color: #7189b1; pointer-events: none; }
.password-wrap .mud-input-slot { padding-left: 34px !important; }

/* Mobile and tablet responsive refinements */
*, *::before, *::after { box-sizing: border-box; }
html, body, #app { width: 100%; max-width: 100%; overflow-x: hidden; }
.login-layout { min-width: 0; }
.hero-panel, .right-side, .login-card { min-width: 0; }

@media (max-width: 780px) {
    .page-wrap { display: block; min-height: 100svh; }
    .login-layout { width: 100%; min-height: 100svh; overflow: visible; }
    .left-side { width: 100%; }
    .hero-panel { min-height: auto; padding: 22px 24px 36px; }
    .hero-content { margin-top: 24px; }
    .hero-content h1 { max-width: 560px; margin-bottom: 12px; }
    .hero-description { font-size: 14px; }
    .feature-list { margin-top: 20px; }
    .hero-slogan { margin-top: 20px; font-size: 20px; }
    .bottom-wave { height: 90px; bottom: -42px; }
    .benefits-row { grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 15px 18px; gap: 10px; }
    .benefit-item { gap: 8px; }
    .benefit-item:not(:last-child) { border-right: 1px solid #dce5f5; padding-right: 8px; }
    .benefit-icon { width: 32px; height: 32px; flex-basis: 32px; }
    .benefit-item strong { white-space: normal; font-size: 11px; }
    .benefit-item small { white-space: normal; font-size: 9px; line-height: 1.3; }
    .right-side { width: 100%; padding: 34px 24px 32px; }
    .login-card { width: 100%; max-width: 500px; }
    .login-subtitle { margin-bottom: 24px; }
    .field { margin-bottom: 17px; }
    .social-divider { margin-top: 24px; }
    .security-box { margin-top: 22px; }
    .create-account { margin-top: 24px; flex-wrap: wrap; text-align: center; }
}

@media (max-width: 480px) {
    .hero-panel { padding: 18px 18px 30px; }
    .brand { align-items: center; }
    .brand-logo { flex: 0 0 46px; }
    .brand-title { font-size: 18px; letter-spacing: -.4px; }
    .brand-subtitle { font-size: 10px; }
    .hero-content { margin-top: 22px; }
    .hero-content h1 { font-size: clamp(29px, 8vw, 35px); letter-spacing: -1px; }
    .hero-description { font-size: 13px; line-height: 1.5; }
    .feature-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 10px; }
    .feature-item { gap: 8px; }
    .feature-icon { width: 34px; height: 34px; flex: 0 0 34px; border-radius: 11px; }
    .feature-item strong { font-size: 11px; line-height: 1.3; }
    .feature-item small { font-size: 9px; }
    .hero-slogan { display: none; }
    .benefits-row { grid-template-columns: 1fr; gap: 10px; padding: 14px 20px; }
    .benefit-item { gap: 10px; }
    .benefit-item:not(:last-child) { border-right: 0; padding-right: 0; }
    .benefit-item strong { font-size: 11px; }
    .benefit-item small { font-size: 10px; }
    .right-side { padding: 28px 18px 26px; }
    .assistant-mark { width: 58px; height: 58px; margin-bottom: 12px; }
    .assistant-mark > .mud-icon-root { font-size: 34px; }
    .login-card h2 { font-size: 27px; }
    .login-subtitle { font-size: 12px; margin: 8px 0 22px; }
    .field label { font-size: 13px; }
    .form-options { align-items: flex-start; gap: 8px; margin-bottom: 18px; }
    .form-options .mud-checkbox-content, .form-options a { font-size: 11px; }
    .social-row { gap: 7px; }
    .social { min-height: 42px !important; font-size: 10px !important; }
    .social .mud-button-start-icon { display: none; }
    .security-box { padding: 11px; gap: 8px; }
    .security-box strong { font-size: 11px; }
    .security-box small { font-size: 9px; }
    .create-account { gap: 6px; font-size: 10px; }
}

@media (max-width: 360px) {
    .hero-panel { padding-inline: 14px; }
    .brand-title { font-size: 16px; }
    .brand-subtitle { font-size: 9px; }
    .feature-list { grid-template-columns: 1fr; gap: 11px; }
    .feature-item { align-items: center; }
    .benefits-row { display: none; }
    .right-side { padding-inline: 14px; }
    .form-options { flex-wrap: wrap; }
    .social-row { grid-template-columns: 1fr; }
}

/* Mobile layout: hide the hero panel and keep benefits at the bottom */
@media (max-width: 780px) {
    .login-layout {
        display: flex;
        flex-direction: column;
    }

    /* Flatten the left wrapper so the benefits row can be ordered after the login form. */
    .left-side {
        display: contents;
    }

    .hero-panel {
        display: none !important;
    }

    .right-side {
        order: 1;
        flex: 1 0 auto;
    }

    .benefits-row {
        display: grid !important;
        order: 2;
        width: 100%;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        margin-top: auto;
        padding: 14px 16px;
        background: #fbfcff;
    }
}

@media (max-width: 480px) {
    .benefits-row {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 14px 20px;
    }
}

@media (max-width: 360px) {
    .benefits-row {
        display: grid !important;
        grid-template-columns: 1fr;
    }
}
