* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    min-height: 100vh;
    font-family: "Inter", Arial, sans-serif;
    color: #0f172a;
    background: #f1f5f9;
}

a {
    color: inherit;
    text-decoration: none;
}

.login-page {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    background:
        radial-gradient(circle at top left, rgba(59, 130, 246, 0.10), transparent 28%),
        radial-gradient(circle at top right, rgba(99, 102, 241, 0.10), transparent 30%),
        linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
}

.login-bg-shape {
    position: absolute;
    border-radius: 9999px;
    filter: blur(70px);
    pointer-events: none;
    z-index: 0;
}

.login-bg-shape-1 {
    top: -80px;
    left: -40px;
    width: 260px;
    height: 260px;
    background: rgba(96, 165, 250, 0.35);
}

.login-bg-shape-2 {
    top: 0;
    right: 0;
    width: 340px;
    height: 340px;
    background: rgba(129, 140, 248, 0.22);
}

.login-bg-shape-3 {
    bottom: -40px;
    left: 35%;
    width: 280px;
    height: 280px;
    background: rgba(125, 211, 252, 0.20);
}

.login-shell {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    max-width: 1240px;
    margin: 0 auto;
    padding: 40px 24px;
    display: flex;
    align-items: center;
}

.login-card {
    width: 100%;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    overflow: hidden;
    border-radius: 32px;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
    backdrop-filter: blur(12px);
}

.login-page section {
    min-width: 0;
}

.login-page section:first-child {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 40px;
    color: #ffffff;
    background: linear-gradient(135deg, #009E98 0%, #009E98 45%, #014240 100%);
}

.login-page section:first-child > div:first-child > div:first-child,
.login-page section:last-child > div > div:first-child {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    border-radius: 18px;
}

.login-page section:first-child > div:first-child > div:first-child {
    background: rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(6px);
}

.login-page section:first-child > div:first-child > div:first-child > div:first-child,
.login-page section:last-child > div > div:first-child > div:first-child {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    font-weight: 800;
    font-size: 14px;
}

.login-page section:first-child > div:first-child > div:first-child > div:first-child {
    background: #ffffff;
    color: #009E98;
}

.login-page section:first-child p:first-child,
.login-page section:last-child > div > div:first-child p:first-child {
    margin: 0;
    font-size: 11px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}

.login-page section:first-child h1,
.login-page section:last-child > div > div:first-child h1 {
    margin: 4px 0 0;
    font-size: 18px;
    font-weight: 700;
}

.login-page section:first-child > div:first-child > div:last-child {
    max-width: 540px;
    margin-top: 64px;
}

.login-page section:first-child > div:first-child > div:last-child p:first-child {
    margin: 0;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(219, 234, 254, 0.88);
}

.login-page section:first-child > div:first-child > div:last-child h2 {
    margin: 16px 0 0;
    font-size: 46px;
    line-height: 1.08;
    font-weight: 800;
}

.login-page section:first-child > div:first-child > div:last-child p:last-child {
    margin: 22px 0 0;
    font-size: 16px;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.82);
}

.login-page section:first-child > div:last-child {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.login-page section:first-child > div:last-child > div {
    padding: 20px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(6px);
}

.login-page section:first-child > div:last-child > div p:first-child {
    margin: 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.72);
}

.login-page section:first-child > div:last-child > div p:last-child {
    margin: 10px 0 0;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;
}

.login-page section:last-child {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 56px;
}

.login-page section:last-child > div {
    width: 100%;
    max-width: 420px;
}

.login-page section:last-child > div > div:first-child {
    display: none;
    margin-bottom: 28px;
    background: #eff6ff;
}

.login-page section:last-child > div > div:first-child > div:first-child {
    background: #009E98;
    color: #ffffff;
}

.login-page section:last-child > div > div:first-child p:first-child {
    color: #009E98;
}

.login-page section:last-child > div > div:first-child h1 {
    color: #0f172a;
}

.login-page section:last-child > div > div:nth-child(2) p:first-child {
    margin: 0;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #009E98;
}

.login-page section:last-child > div > div:nth-child(2) h2 {
    margin: 14px 0 0;
    font-size: 40px;
    line-height: 1.1;
    font-weight: 800;
    color: #0f172a;
}

.login-page section:last-child > div > div:nth-child(2) p:last-child {
    margin: 14px 0 0;
    font-size: 15px;
    line-height: 1.7;
    color: #64748b;
}

.login-page form {
    margin-top: 32px;
}

.login-page form > div {
    margin-bottom: 18px;
}

.login-page label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #334155;
}

.login-page input[type="email"],
.login-page input[type="password"] {
    width: 100%;
    height: 52px;
    padding: 0 16px;
    border: 1px solid #cbd5e1;
    border-radius: 18px;
    background: #ffffff;
    font-size: 14px;
    color: #0f172a;
    outline: none;
    transition: all 0.2s ease;
}

.login-page input[type="email"]::placeholder,
.login-page input[type="password"]::placeholder {
    color: #94a3b8;
}

.login-page input[type="email"]:focus,
.login-page input[type="password"]:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.14);
}

.login-page form > div:nth-child(3) {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.login-page form > div:nth-child(3) label {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    color: #64748b;
}

.login-page input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #009E98;
}

.login-page form > div:nth-child(3) a {
    font-size: 14px;
    font-weight: 600;
    color: #009E98;
}

.login-page form > div:nth-child(3) a:hover {
    color: #015e5b

}

.login-page button[type="submit"] {
    width: 100%;
    height: 54px;
    border: 0;
    border-radius: 18px;
    background: #009E98;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 16px 30px rgba(0, 158, 152, 0.22);
    transition: background 0.2s ease, transform 0.2s ease;
}

.login-page button[type="submit"]:hover {
    background: #009E98;
    transform: translateY(-1px);
}

.login-page button[type="submit"]:active {
    transform: translateY(0);
}

.login-page form + div,
.login-page section:last-child > div > div:nth-child(3) {
    margin-top: 28px;
    padding: 18px 20px;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    background: #f8fafc;
    color: #64748b;
    font-size: 14px;
}

.login-page form + div p,
.login-page section:last-child > div > div:nth-child(3) p {
    margin: 0;
    line-height: 1.65;
}

.login-page form + div p + p,
.login-page section:last-child > div > div:nth-child(3) p + p {
    margin-top: 6px;
}

.login-page form + div p:first-child,
.login-page section:last-child > div > div:nth-child(3) p:first-child {
    font-weight: 700;
    color: #334155;
}

.login-page .rounded-2xl.border.border-red-200.bg-red-50,
.login-page section:last-child > div > div:nth-child(3):has(+ form) {
    margin-top: 24px;
}

.login-page section:last-child > div > div:nth-child(3) {
    background: #fef2f2;
    border-color: #fecaca;
    color: #b91c1c;
    font-weight: 600;
}

@media (max-width: 1279px) {
    .login-page > div > div {
        grid-template-columns: 1fr;
    }

    .login-page section:first-child {
        display: none;
    }

    .login-page section:last-child {
        padding: 36px 28px;
    }

    .login-page section:last-child > div > div:first-child {
        display: inline-flex;
    }

    .login-page {
        background:
            radial-gradient(circle at top left, rgba(59, 130, 246, 0.08), transparent 25%),
            linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
    }
}

@media (max-width: 640px) {
    .login-page > div {
        padding: 18px;
    }

    .login-page > div > div {
        border-radius: 24px;
    }

    .login-page section:last-child {
        padding: 28px 18px;
    }

    .login-page section:last-child > div > div:nth-child(2) h2 {
        font-size: 32px;
    }

    .login-page form > div:nth-child(3) {
        flex-direction: column;
        align-items: flex-start;
    }

    .login-bg-shape-1,
    .login-bg-shape-2,
    .login-bg-shape-3 {
        opacity: 0.65;
    }
}