<odoo>
    <template id="custom_login_layout" inherit_id="web.login_layout" name="Custom Login Layout" priority="10">
        <xpath expr="//t[@t-call='web.frontend_layout']" position="inside">
            <t t-set="body_classname" t-value="'o_custom_login_body'"/>
            <t t-set="no_header" t-value="True"/>
            <t t-set="no_footer" t-value="True"/>
            <t t-set="head">
                <link rel="stylesheet" type="text/css" href="/dine360_dashboard/static/src/css/login_style.css"/>
            </t>
        </xpath>

        <xpath expr="//div[contains(@class,'container')]" position="replace">
            <div class="o_login_main_wrapper">
                <div class="o_login_left_side">
                    <!-- Space for right alignment -->
                </div>

                <div class="o_login_right_side">
                    <div class="o_login_card">
                        <div class="o_login_logo_container">
                            <img t-attf-src="/web/binary/company_logo{{ '?db=' + request.db if request.db else '' }}" alt="Logo"/>
                        </div>
                        
                        <div class="o_login_header_text text-center">
                            <h3>Login</h3>
                            <p style="color: rgba(255, 255, 255, 0.6) !important;">Welcome back! Please enter your details.</p>
                        </div>
                        
                        <div class="o_login_form_container">
                            <t t-out="0"/> 
                        </div>
                        
                        <div class="o_login_footer text-center mt-4">
                            <a href="/web/database/selector" t-if="not disable_database_manager" class="small text-decoration-none" style="color: rgba(255, 255, 255, 0.5) !important;">Manage Databases</a>
                        </div>
                    </div>
                </div>
                
                <div class="o_login_footer_custom">
                    <p>Powered by <a href="https://metatroncubesolutions.com/" target="_blank">Metatron Cube Solutions</a></p>
                </div>
            </div>
        </xpath>
    </template>
</odoo>
