        /* Google Fonts Import */
        @import url('https://fonts.googleapis.com/css2?family=Kanit:wght@300;400;500;600&display=swap');

        /* CSS Variables for easy theme customization */
        :root {
            --primary-color: #4a90e2;
            --background-color: #f4f7fc;
            --form-background: #ffffff;
            --text-color: #333;
            --input-border: #dbe2f1;
            --input-focus-border: #4a90e2;
            --placeholder-color: #a0aec0;
        }

        /* General Reset and Body Styles */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Kanit', sans-serif;
            background-color: var(--background-color);
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 100vh;
            color: var(--text-color);
        }

        /* Login Container */
        .login-container {
            position: relative; /* Added for positioning the back button */
            background-color: var(--form-background);
            padding: 40px;
            border-radius: 12px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            width: 100%;
            max-width: 420px;
            text-align: center;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .login-container:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
        }
        
        /* Back Button Style */
        .back-btn {
            position: absolute;
            top: 20px;
            right: 20px;
            font-size: 20px;
            color: var(--placeholder-color);
            text-decoration: none;
            transition: color 0.3s, transform 0.3s;
        }

        .back-btn:hover {
            color: var(--text-color);
            transform: rotate(90deg);
        }

        /* Form Title */
        .login-form h2 {
            margin-bottom: 25px;
            font-size: 28px;
            font-weight: 600;
            color: var(--primary-color);
        }

        /* Input Group styling */
        .input-group {
            margin-bottom: 20px;
            text-align: left;
        }

        .input-group label {
            display: block;
            font-size: 14px;
            margin-bottom: 8px;
            font-weight: 500;
        }

        .input-with-icon {
            position: relative;
            display: flex;
            align-items: center;
        }
        
        /* Icons inside input fields */
        .input-with-icon > i {
            position: absolute;
            left: 15px;
            color: var(--placeholder-color);
            transition: color 0.3s;
        }

        /* Input field styles */
        .input-with-icon input {
            width: 100%;
            padding: 12px 15px 12px 45px;
            border: 1px solid var(--input-border);
            border-radius: 8px;
            font-size: 16px;
            font-family: 'Kanit', sans-serif;
            transition: border-color 0.3s, box-shadow 0.3s;
        }

        .input-with-icon input::placeholder {
            color: var(--placeholder-color);
        }

        .input-with-icon input:focus {
            outline: none;
            border-color: var(--input-focus-border);
            box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.2);
        }

        /* Change icon color on input focus */
        .input-with-icon input:focus + i, .input-with-icon:focus-within > i {
            color: var(--primary-color);
        }

        /* Password toggle icon */
        .toggle-password {
            position: absolute;
            right: 15px;
            cursor: pointer;
            color: var(--placeholder-color);
            transition: color 0.3s;
        }
        
        .toggle-password:hover {
            color: var(--primary-color);
        }

        /* 'Remember me' and 'Forgot password' options */
        .options {
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 14px;
            margin-bottom: 25px;
        }

        .options label {
            display: flex;
            align-items: center;
            cursor: pointer;
            color: #555;
        }

        .options input[type="checkbox"] {
            margin-right: 8px;
            accent-color: var(--primary-color);
        }

        .options a {
            color: var(--primary-color);
            text-decoration: none;
            font-weight: 500;
        }

        .options a:hover {
            text-decoration: underline;
        }

        /* Login Button */
        .login-btn {
            width: 100%;
            padding: 14px;
            border: none;
            border-radius: 8px;
            background: linear-gradient(45deg, #4a90e2, #55cbf2);
            color: #fff;
            font-size: 18px;
            font-weight: 600;
            font-family: 'Kanit', sans-serif;
            cursor: pointer;
            transition: background-color 0.3s, transform 0.2s, box-shadow 0.3s;
        }

        .login-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 15px rgba(74, 144, 226, 0.4);
        }

        /* Social Login Section */
        .social-login {
            margin-top: 30px;
        }

        .social-login p {
            color: var(--placeholder-color);
            margin-bottom: 15px;
            font-size: 14px;
            position: relative;
        }

        /* Line through 'or' text */
        .social-login p::before,
        .social-login p::after {
            content: '';
            position: absolute;
            top: 50%;
            width: 30%;
            height: 1px;
            background-color: var(--input-border);
        }
        
        .social-login p::before {
            left: 0;
        }
        
        .social-login p::after {
            right: 0;
        }
        

        .social-icons {
            display: flex;
            justify-content: center;
            gap: 15px;
        }

        .social-icon {
            display: flex;
            justify-content: center;
            align-items: center;
            width: 45px;
            height: 45px;
            border: 1px solid var(--input-border);
            border-radius: 50%;
            color: #555;
            text-decoration: none;
            font-size: 20px;
            transition: all 0.3s;
        }

        .social-icon:hover {
            background-color: var(--primary-color);
            color: #fff;
            border-color: var(--primary-color);
            transform: scale(1.1);
        }
