:root {
    --login-primary: #0f766e;
    --login-primary-dark: #064e3b;
    --login-accent: #14b8a6;
    --login-background: #f3f7f7;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family:
        Inter,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    background: var(--login-background);
}

.login-page {
    min-height: 100vh;
    display: grid;
    grid-template-columns:
        minmax(360px, 1fr)
        minmax(420px, 0.9fr);
}

.login-brand-panel {
    position: relative;
    padding: 64px;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(
            circle at 10% 20%,
            rgba(45, 212, 191, 0.35),
            transparent 30%
        ),
        linear-gradient(
            145deg,
            #064e3b,
            #0f766e 60%,
            #115e59
        );
}

.login-brand-panel::before,
.login-brand-panel::after {
    position: absolute;
    content: "";
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.login-brand-panel::before {
    width: 420px;
    height: 420px;
    right: -180px;
    top: -150px;
}

.login-brand-panel::after {
    width: 280px;
    height: 280px;
    left: -100px;
    bottom: -100px;
}

.brand-content {
    position: relative;
    z-index: 1;
    max-width: 590px;
}

.login-logo,
.mobile-logo {
    width: 68px;
    height: 68px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    font-size: 2rem;
}

.login-logo {
    margin-bottom: 30px;
    color: #fff;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
}

.brand-label {
    display: block;
    margin-bottom: 12px;
    font-weight: 600;
    color: #99f6e4;
}

.brand-content h1 {
    max-width: 540px;
    margin-bottom: 22px;
    font-size: clamp(2.2rem, 4vw, 4rem);
    font-weight: 750;
    line-height: 1.07;
}

.brand-content p {
    max-width: 540px;
    margin-bottom: 34px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.08rem;
    line-height: 1.75;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.feature-list span {
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-list i {
    color: #5eead4;
}

.login-form-panel {
    padding: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}

.login-card {
    width: 100%;
    max-width: 470px;
}

.mobile-logo {
    display: none;
    margin-bottom: 24px;
    color: #fff;
    background:
        linear-gradient(
            135deg,
            var(--login-accent),
            var(--login-primary)
        );
}

.login-card h2 {
    font-size: 2rem;
    font-weight: 750;
}

.form-label {
    font-weight: 600;
}

.input-group-text {
    border-right: 0;
    background: #fff;
}

.form-control {
    border-left: 0;
}

.form-control:focus {
    border-color: #86b7fe;
    box-shadow: none;
}

.input-group:focus-within {
    border-radius: 0.5rem;
    box-shadow:
        0 0 0 0.25rem
        rgba(13, 110, 253, 0.12);
}

.input-group:focus-within .form-control,
.input-group:focus-within .input-group-text,
.input-group:focus-within .btn {
    border-color: #86b7fe;
}

.btn-success {
    border-color: var(--login-primary);
    background: var(--login-primary);
}

.btn-success:hover {
    border-color: var(--login-primary-dark);
    background: var(--login-primary-dark);
}

.login-footer {
    margin-top: 34px;
    color: #6b7280;
    font-size: 0.86rem;
    text-align: center;
}

@media (max-width: 991.98px) {
    .login-page {
        grid-template-columns: 1fr;
    }

    .login-brand-panel {
        display: none;
    }

    .login-form-panel {
        min-height: 100vh;
        padding: 24px;
    }

    .mobile-logo {
        display: inline-flex;
    }
}

@media (max-width: 575.98px) {
    .login-form-panel {
        align-items: flex-start;
        padding: 30px 18px;
    }

    .login-card {
        padding-top: 20px;
    }
}