:root {
            --primary: #2a7fba;
            --accent: #48c9b0;
            --text-main: #333;
            --text-muted: #888;
            --bg-body: #f0f4f8;
            --white: #ffffff;
            --transition: 0.2s ease-in-out;
        }

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
        }

        body {
            background-color: var(--bg-body);
            height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 20px;
        }

        .login-card {
            display: flex;
            width: 680px;
            height: 440px;
            background: var(--white);
            border-radius: 16px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        }

        /* Left Side */
        .brand-panel {
            flex: 1;
            background: linear-gradient(135deg, var(--primary), var(--accent));
            color: var(--white);
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            padding: 30px;
            text-align: center;
        }

        .brand-panel img {
            width: 70px;
            margin-bottom: 15px;
            filter: brightness(0) invert(1); 
        }

        /* Right Side Form */
        .form-panel {
            flex: 1.2;
            padding: 40px;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .form-header {
            display: flex;
            flex-direction: column;
            align-items: center;
            margin-bottom: 35px;
        }

        .form-header img {
            width: 40px;
            margin-bottom: 10px;
        }

        .form-header h2 {
            font-size: 1.4rem;
            color: var(--text-main);
        }

        /* Floating Label UX Logic */
        .input-group {
            position: relative;
            margin-bottom: 20px;
        }

        .input-group input {
            width: 100%;
            padding: 12px;
            border: 1px solid #ddd;
            border-radius: 8px;
            font-size: 1rem;
            background: none;
            outline: none;
            transition: var(--transition);
        }

        .input-group label {
            position: absolute;
            left: 12px;
            top: 50%;
            transform: translateY(-50%);
            background: var(--white);
            padding: 0 5px;
            color: var(--text-muted);
            font-size: 1rem;
            pointer-events: none;
            transition: var(--transition);
        }

        /* The Magic: When input is focused OR has text, move label to top */
        .input-group input:focus,
        .input-group input:not(:placeholder-shown) {
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(42, 127, 186, 0.1);
        }

        .input-group input:focus + label,
        .input-group input:not(:placeholder-shown) + label {
            top: 0;
            font-size: 0.8rem;
            color: var(--primary);
            font-weight: 600;
        }

        .ux-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
            font-size: 0.85rem;
            color: var(--text-muted);
        }

        button {
            width: 100%;
            padding: 14px;
            background: var(--primary);
            color: white;
            border: none;
            border-radius: 8px;
            font-weight: 600;
            cursor: pointer;
            transition: 0.2s;
        }

        button:hover { background: #236a9e; }

        .links { text-align: center; margin-top: 15px; font-size: 0.8rem; }
        .links a { color: var(--primary); text-decoration: none; }

        @media (max-width: 600px) {
            .login-card { flex-direction: column; width: 100%; height: auto; }
        }