/* Message feedback styling */
.messages {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}
.messages li {
    padding: 12px;
    margin-bottom: 10px;
    border-radius: 6px;
    font-weight: 500;
    font-size: 15px;
    border: 1px solid #eee;
}
.messages li.success {
    background: #e6ffed;
    color: #228B22;
    border: 1px solid #b2f5ea;
}
.messages li.error, .messages li.warning {
    background: #ffe6e6;
    color: #b22222;
    border: 1px solid #f5b2b2;
}
.messages li.info {
    background: #f9f9f9;
    color: #333;
    border: 1px solid #eee;
}
* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            margin: 0;
            min-height: 100vh;
            display: flex;
            justify-content: center;
            align-items: center;
            background: #f5f5f5;
            font-family: 'Inter', sans-serif;
        }

        .container {
            display: flex;
            align-items: stretch;
            width: 1100px;
            max-width: 95%;
            background: #fff;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 4px 20px rgba(0,0,0,0.1);
            margin: 0 auto;
        }

        /* Left side */
        .left-side {
            width: 420px;
        }

        .left-side img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

        /* Right side */
        .right-side {
            width: 680px;
            padding: 50px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            text-align: center;
        }

        .form-container {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            width: 440px;
            max-width: 440px;
        }

        .form-container h2 {
            margin-bottom: 25px;
            font-size: 24px;
            font-weight: 600;
            color: #222;
        }

        /* Google button */
        .google-btn {
            width: 440px;
            height: 45px;
            border: 1px solid #DCDBDD;
            border-radius: 8px;
            background: #fff;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            margin-bottom: 25px;
            cursor: pointer;
            font-size: 14px;
            font-weight: 500;
            color: #444;
            text-decoration: none;
            transition: all 0.2s ease;
        }

        .google-btn:hover {
            background: #f8f8f8;
            border-color: #ccc;
        }

        .google-btn img {
            width: 20px;
            height: 20px;
        }

        /* Divider */
        .divider {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 100%;
            margin: 15px 0 25px;
            gap: 12px;
        }

        .divider .line {
            flex: 1;
            border-top: 1px dashed #E2E2EA;
        }

        .divider span {
            font-size: 13px;
            color: #888;
        }

        /* Input fields */
        .input-box {
            width: 440px;
            height: 45px;
            border: 1px solid #DCDBDD;
            border-radius: 8px;
            padding: 0 15px;
            margin-bottom: 15px;
            font-size: 14px;
            color: #333;
            background: white;
            transition: border-color 0.2s ease;
        }

        .input-box:focus {
            outline: none;
            border-color: #4A30F5;
        }

        .input-box.error {
            border-color: #e53e3e;
        }

        .error-message {
            color: #e53e3e;
            font-size: 12px;
            margin-top: -10px;
            margin-bottom: 15px;
            text-align: left;
            width: 440px;
        }

        /* Checkbox */
        .checkbox {
            display: flex;
            align-items: center;
            margin: 0 0 20px;
            width: 440px;
            justify-content: space-between;
        }

        .checkbox-left {
            display: flex;
            align-items: center;
        }

        .checkbox input {
            margin-right: 8px;
            width: 16px;
            height: 16px;
        }

        .checkbox label {
            font-size: 14px;
            color: #444;
            font-style: normal;
        }

        .forgot-link {
            font-size: 14px;
            color: #4A30F5;
            text-decoration: none;
            cursor: pointer;
        }

        .forgot-link:hover {
            text-decoration: underline;
        }

        /* Button container */
        .button-container {
            display: flex;
            gap: 12px;
            width: 440px;
            margin-bottom: 20px;
            align-items: stretch;
            justify-content: space-between;
        }

        /* Login button */
        .login-btn {
            flex: 1;
            height: 45px;
            border-radius: 8px;
            background: #4A30F5;
            color: #fff;
            font-weight: 500;
            font-size: 14px;
            border: none;
            cursor: pointer;
            transition: background-color 0.2s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            box-sizing: border-box;
            font-family: 'Inter', sans-serif;
            min-width: 0;
            margin: 0;
            padding: 0;
        }

        .login-btn:hover {
            background: #3d28d4;
        }

        /* Signup button */
        .signup-btn {
            flex: 1;
            height: 45px;
            border-radius: 8px;
            background: transparent;
            color: #4A30F5;
            font-weight: 500;
            font-size: 14px;
            border: 1px solid #4A30F5;
            cursor: pointer;
            transition: all 0.2s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            box-sizing: border-box;
            font-family: 'Inter', sans-serif;
            min-width: 0;
            margin: 0;
            padding: 0;
        }

        .signup-btn:hover {
            background: #4A30F5;
            color: #fff;
        }

        .login-btn:disabled {
            background: #ccc;
            cursor: not-allowed;
        }

        /* Terms */
        .terms {
            font-size: 12px;
            color: #696974;
            text-align: center;
            font-style: normal;
            line-height: 16px;
            margin-top: 5px;
        }

        .terms span {
            font-weight: 500;
            color: #4A30F5;
            cursor: pointer;
        }

        .terms span:hover {
            text-decoration: underline;
        }

        /* Success message */
        .success-message {
            color: #28a745;
            font-size: 12px;
            margin-bottom: 15px;
            text-align: center;
        }

        .mobile-logo {
            display: none;
        }

        /* Responsive Design */
        @media (max-width: 1024px) {
            .left-side {
                display: none;
            }

            .mobile-logo {
                display: block;
                position: relative;
                margin: 40px auto 20px;
                text-align: center;
                width: 100%;
            }

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

            .right-side {
                width: 100%;
                padding: 0 20px 30px;
            }

            .form-container {
                width: 100%;
                max-width: 100%;
            }

            .input-box,
            .google-btn,
            .checkbox,
            .error-message {
                width: 85%;
                max-width: 320px;
            }

            .checkbox {
                display: flex;
                justify-content: space-between;
                flex-wrap: wrap;
                gap: 8px;
            }

            .checkbox label,
            .forgot-link {
                font-size: 13px;
                white-space: normal;
            }

            .terms {
                width: 85%;
                max-width: 320px;
                font-size: 11px;
                line-height: 14px;
                word-break: break-word;
                margin: 10px auto 0;
            }
        }

        @media (max-width: 768px) {
            .checkbox {
                display: flex;
                justify-content: space-between;
                align-items: center;
                width: 90%;
                margin: 0 auto 20px;
            }

            .checkbox-left {
                margin-left: 10px;
            }

            .forgot-link {
                margin-right: 10px;
                white-space: nowrap;
            }
        }

        @media (max-width: 480px) {
            .mobile-logo {
                margin: 30px auto 15px;
            }

            .mobile-logo img {
                width: 100px;
            }

            .input-box,
            .button-container,
            .google-btn,
            .checkbox,
            .error-message,
            .terms {
                width: 90%;
                max-width: 280px;
            }

            .button-container {
                flex-direction: column;
                gap: 10px;
                align-items: stretch;
            }
        }