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

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background: #ffffff;
            min-height: 100vh;
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 20px;
        }

        .main-wrapper {
            display: flex;
            flex-direction: row-reverse;
            gap: 0;
            align-items: stretch;
            width: 100%;
            max-width: 1100px;
        }

        .image-section {
            flex: 1;
            display: none;
            background: #f0f7ff;
            /* border-radius: 20px; */
            padding: 0;
            border: 2px solid #e8f2ff;
            border-left: 0;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
            overflow: hidden;
            height: 100%;
        }

        .image-upload-container {
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .image-preview {
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            background: white;
        }

        .image-preview img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        @media (min-width: 992px) {
            .image-section {
                display: block;
            }
        }

        .login-container {
            background: #ffffff;
            /* border-radius: 20px; */
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
            padding: 50px 40px;
            width: 100%;
            max-width: 500px;
            flex: 1;
            animation: slideIn 0.5s ease-out;
            border: 2px solid #e8f2ff;
            border-right: 0;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        @keyframes slideIn {
            from {
                opacity: 0;
                transform: translateY(-30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .logo-section {
            text-align: center;
            margin-bottom: 40px;
        }

        .logo {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 12px;
            margin-bottom: 15px;
        }

        .logo-icon {
            width: 50px;
            height: 50px;
            background: #4A90E2;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
        }

        .logo-icon svg {
            width: 30px;
            height: 30px;
            fill: white;
        }

        .logo-text {
            font-size: 26px;
            font-weight: 600;
            color: #4A90E2;
        }

        .login-title {
            font-size: 28px;
            color: #2d3748;
            font-weight: 700;
            margin-bottom: 10px;
        }

        .login-subtitle {
            color: #718096;
            font-size: 14px;
        }

        .form-group {
            margin-bottom: 25px;
        }

        .form-label {
            display: block;
            color: #2d3748;
            font-size: 14px;
            font-weight: 600;
            margin-bottom: 8px;
        }

        .input-wrapper {
            position: relative;
        }

        .input-icon {
            position: absolute;
            left: 15px;
            top: 50%;
            transform: translateY(-50%);
            color: #a0aec0;
            font-size: 18px;
        }

        .form-input {
            width: 100%;
            padding: 14px 15px 14px 45px;
            border: 2px solid #e2e8f0;
            border-radius: 12px;
            font-size: 15px;
            color: #2d3748;
            transition: all 0.3s ease;
            background: #f7fafc;
        }

        .form-input:focus {
            outline: none;
            border-color: #4A90E2;
            background: white;
            box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
        }

        .form-input::placeholder {
            color: #a0aec0;
        }

        .forgot-password {
            text-align: right;
            margin-top: 8px;
        }

        .forgot-password a {
            color: #4A90E2;
            font-size: 13px;
            text-decoration: none;
            font-weight: 500;
        }

        .forgot-password a:hover {
            text-decoration: underline;
        }

        .login-btn {
            width: 100%;
            padding: 15px;
            background: #4A90E2;
            color: white;
            border: none;
            border-radius: 12px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
            margin-top: 10px;
        }

        .login-btn:hover {
            background: #357ABD;
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(74, 144, 226, 0.4);
        }

        .login-btn:active {
            transform: translateY(0);
        }

        .divider {
            text-align: center;
            margin: 30px 0;
            position: relative;
        }

        .divider::before {
            content: '';
            position: absolute;
            left: 0;
            top: 50%;
            width: 100%;
            height: 1px;
            background: #e2e8f0;
        }

        .divider span {
            background: white;
            padding: 0 15px;
            color: #a0aec0;
            font-size: 13px;
            position: relative;
            z-index: 1;
        }

        .back-home {
            text-align: center;
        }

        .back-home a {
            color: #4A90E2;
            text-decoration: none;
            font-weight: 500;
            font-size: 14px;
            display: inline-flex;
            align-items: center;
            gap: 5px;
        }

        .back-home a:hover {
            text-decoration: underline;
        }

        @media (max-width: 768px) {
            body {
                padding: 15px;
            }

            .login-container {
                padding: 40px 30px;
                max-width: 100%;
            }

            .login-title {
                font-size: 24px;
            }

            .logo-text {
                font-size: 22px;
            }

            .logo-icon {
                width: 45px;
                height: 45px;
            }

            .logo-icon svg {
                width: 26px;
                height: 26px;
            }
        }

        @media (max-width: 480px) {
            .login-container {
                padding: 35px 25px;
                border-radius: 15px;
            }

            .logo-section {
                margin-bottom: 30px;
            }

            .login-title {
                font-size: 22px;
            }

            .login-subtitle {
                font-size: 13px;
            }

            .logo-text {
                font-size: 20px;
            }

            .logo-icon {
                width: 40px;
                height: 40px;
            }

            .logo-icon svg {
                width: 24px;
                height: 24px;
            }

            .form-label {
                font-size: 13px;
            }

            .form-input {
                padding: 12px 12px 12px 40px;
                font-size: 14px;
            }

            .input-icon {
                font-size: 16px;
                left: 12px;
            }

            .login-btn {
                padding: 13px;
                font-size: 15px;
            }

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

            .divider {
                margin: 25px 0;
            }
        }

        @media (max-width: 360px) {
            .login-container {
                padding: 30px 20px;
            }

            .logo {
                flex-direction: column;
                gap: 8px;
            }

            .login-title {
                font-size: 20px;
            }

            .form-input {
                padding: 11px 11px 11px 38px;
                font-size: 13px;
            }
        }

        /* Landscape mobile devices */
        @media (max-height: 600px) and (orientation: landscape) {
            body {
                padding: 10px;
            }

            .login-container {
                padding: 25px 30px;
                max-height: 95vh;
                overflow-y: auto;
            }

            .logo-section {
                margin-bottom: 20px;
            }

            .form-group {
                margin-bottom: 15px;
            }

            .divider {
                margin: 20px 0;
            }
        }

        /* Touch-friendly adjustments */
        @media (hover: none) and (pointer: coarse) {
            .form-input {
                min-height: 48px;
                font-size: 16px; /* Prevents zoom on iOS */
            }

            .login-btn {
                min-height: 48px;
            }

            .forgot-password a,
            .back-home a {
                min-height: 44px;
                display: inline-flex;
                align-items: center;
            }
        }