* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', sans-serif;
    background: #fff;
}

.container {
    display: flex;
    min-height: 100vh;
}

.login-section {
    flex: 0 0 35%;
    background: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    box-shadow: 5px 0 20px rgba(0,0,0,0.05);
}

.visual-section {
    flex: 1;
    position: relative;
    color: #ffffff;
    background: radial-gradient(1400px 800px at 85% -10%, rgba(255,255,255,.08), transparent 60%),
                radial-gradient(1000px 700px at -10% 110%, rgba(255,255,255,.06), transparent 65%),
                linear-gradient(135deg, rgb(85,105,255), #161f55 55%, #070b22 100%);
    overflow: hidden;
}

/* Exact recreation of your right panel design */
.hex-texture {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: .14;
    pointer-events: none;
    background:
        url('data:image/svg+xml;utf8,\
        <svg xmlns="http://www.w3.org/2000/svg" width="240" height="240" viewBox="0 0 240 240">\
            <defs><pattern id="hex" width="40" height="34.64" patternUnits="userSpaceOnUse" patternTransform="translate(0,0)">\
                <g fill="none" stroke="rgba(255,255,255,0.18)" stroke-width="1">\
                    <polygon points="20,0 40,10 40,24.64 20,34.64 0,24.64 0,10"/>\
                </g></pattern></defs>\
            <rect width="100%" height="100%" fill="url(%23hex)"/>\
        </svg>') center/380px 380px repeat;
    mask-image: radial-gradient(circle at 65% 35%, black 0%, transparent 70%);
    -webkit-mask-image: radial-gradient(circle at 65% 35%, black 0%, transparent 70%);
}

.bands {
    position: absolute;
    inset: -20% -10% -10% -10%;
    z-index: 1;
    pointer-events: none;
}

.band {
    position: absolute;
    inset: auto;
    height: 120vmax;
    width: 60vmax;
    background:
        radial-gradient(120vmax 60vmax at 50% 100%,
        rgba(255,255,255,.14), rgba(255,255,255,.06) 35%, transparent 70%);
    filter: blur(2px);
    mix-blend-mode: screen;
    transform-origin: bottom center;
}

.band.b1 { right: 5%; bottom: -25%; transform: rotate(-24deg) skewX(-6deg); }
.band.b2 { right: 25%; bottom: -28%; transform: rotate(-12deg) skewX(-4deg); opacity: .85; }
.band.b3 { right: 45%; bottom: -30%; transform: rotate(-3deg) skewX(-3deg); opacity: .7; }
.band.b4 { right: 62%; bottom: -32%; transform: rotate(7deg) skewX(-2deg); opacity: .55; }

.panel {
    position: relative;
    z-index: 2;
    padding: 24px;
    max-width: 520px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.eyebrow {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,.08);
    backdrop-filter: blur(6px);
    font-size: .85rem;
    font-weight: 600;
    letter-spacing: .02em;
    font-family: "Manrope", sans-serif;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #9fb0ff;
    box-shadow: 0 0 12px rgba(159,176,255,.9);
}

.visual-title {
    font-weight: 700;
    font-size: 2.2rem;
    line-height: 1.15;
    margin: 16px 0 10px;
    font-family: "Manrope", sans-serif;
}

.visual-sub {
    opacity: .95;
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 46ch;
    margin-inline: auto;
    font-family: "Manrope", sans-serif;
}

.elevate {
    text-shadow:
        0 1px 0 rgba(0,0,0,.12),
        0 8px 30px rgba(0,0,0,.25);
}

/* Original login form styles */
.logo {
    margin-bottom: 40px;
}

.logo img {
    max-width: 180px;
    height: auto;
}

.login-container {
    width: 100%;
    max-width: 380px;
}

.login-title {
    font-size: 1.8rem;
    color: #374151;
    margin-bottom: 8px;
    font-weight: 600;
}

.login-subtitle {
    color: #6b7280;
    margin-bottom: 30px;
    font-size: 0.95rem;
}

.form-group {
    position: relative;
    margin-bottom: 20px;
}

.form-input {
    width: 100%;
    font-size: 1rem;
    padding: 12px 12px;
    border: 2px solid #ccc;
    border-radius: 8px;
    outline: none;
    background: transparent;
    transition: border-color 0.3s ease;
}

.form-label {
    position: absolute;
    top: 50%;
    left: 12px;
    transform: translateY(-50%);
    font-size: 1rem;
    color: #777;
    background: white;
    padding: 0 4px;
    transition: 0.2s ease all;
    pointer-events: none;
}

.form-input:focus {
    border-color: #4f46e5;
}

.form-input:focus + .form-label,
.form-input:not(:placeholder-shown) + .form-label {
    top: -8px;
    left: 8px;
    font-size: 0.8rem;
    color: #4f46e5;
    transform: none;
}

.login-button {
    width: 100%;
    background: linear-gradient(135deg, #5b6194 0%, #5364e0 100%);
    color: white;
    border: none;
    padding: 14px;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.login-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.3);
}

.forgot-link {
    display: block;
    text-align: center;
    color: #4f46e5;
    text-decoration: none;
    margin-top: 20px;
    font-size: 0.9rem;
}

.forgot-link:hover {
    color: #7c3aed;
}

.footer-text {
    margin-top: 50px;
    font-size: 0.8rem;
    color: #9ca3af;
    text-align: center;
}

/* Responsive */
@media (max-width: 1024px) {
    .login-section {
        flex: 1;
        min-height: 100vh;
    }
    .visual-section {
        display: none;
    }
}

@media (max-width: 480px) {
    .login-section {
        justify-content: flex-start;
        padding-top: 50px;
    }
    .visual-title {
        font-size: 1.8rem;
    }
    .visual-sub {
        font-size: .98rem;
    }
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px white inset !important;
    -webkit-text-fill-color: #000 !important;
    transition: background-color 5000s ease-in-out 0s;
    border: 2px solid #ccc;
    border-radius: 8px;
}

/* For bigger screens (FHD and up) */
@media (min-width: 1440px) {
    .login-container {
        max-width: 380px;   /* slightly bigger on large screens */
    }
}
 
@media (min-width: 1920px) {
    .login-container {
        max-width: 380px;   /* FHD screens */
    }
}
 
@media (min-width: 2560px) {
    .login-container {
        max-width: 500px;   /* 2K screens */
    }
}
 
@media (min-width: 3840px) {
    .login-container {
        max-width: 600px;   /* 4K screens */
    }
}
 
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px white inset !important; /* match background */
    -webkit-text-fill-color: #000 !important; /* text color */
    transition: background-color 5000s ease-in-out 0s; /* prevent flicker */
    border: 2px solid #ccc; /* keep your border style */
    border-radius: 8px;
}
/* Force label to move up when Chrome autofills */
input:-webkit-autofill + .form-label {
    top: -8px;
    left: 8px;
    font-size: 0.8rem;
    color: #4f46e5;
    transform: none;
}