*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Inter',sans-serif;
}

body{
    background:#ffffff;
}

.container{
    width:100%;
    min-height:100vh;
    display:grid;
    grid-template-columns:60% 40%;
}

.left-panel{
    padding:50px 60px;
    background:#fff;
}

.gold-title{
    font-family:'Poppins',sans-serif;
    font-size:34px;
    font-weight:700;
    color:#D4A017;
    letter-spacing:0.3px;
    line-height:1;
    white-space:nowrap;
    text-align:center;
}

.tagline{
    margin-top:10px;
    font-size:22px;
    font-weight:700;
    color:#2563EB;
    line-height:1.6;
}

.powered{
    margin-top:12px;
    font-size:18px;
    font-weight:600;
    color:#F97316;
    line-height:1.6;
}

.hero-section{
    margin:22px 0 10px;
    text-align:center;
    background:#fff;
}

.bull{
    width:185px;
    max-width:100%;
    display:block;
    margin:0 auto;
}

.rule-card{
    border:1px solid #E5E7EB;
    border-radius:20px;
    padding:28px;
    box-shadow:0 8px 24px rgba(0,0,0,.06);
}

.rule-card h3{
    font-family:'Poppins',sans-serif;
    color:#1358E8;
    margin-bottom:12px;
    font-size:15px;
    font-weight:600;
    letter-spacing:0.3px;
}

.rule-card p{
    color:#1F2937;
    font-size:18px;
    line-height:1.6;
}

.login-panel{
    margin:22px;
    border:1px solid #E5E7EB;
    border-radius:28px;
    padding:48px;
    box-shadow:0 18px 40px rgba(37,99,235,0.12);
    background:#fff;
}

.login-panel h2{
    font-family:'Poppins',sans-serif;
    color:#2563EB;
    font-size:18px;
    font-weight:700;
    letter-spacing:0.3px;
}

.sub{
    color:#64748B;
    margin:12px 0 24px;
    font-size:18px;
    font-weight:500;
    line-height:1.6;
}

.login-panel form{
    display:flex;
    flex-direction:column;
}

form input{
    width:100%;
    height:60px;
    border:1px solid #D1D5DB;
    border-radius:16px;
    padding:0 18px;
    font-size:16px;
    font-weight:500;
    color:#1F2937;
    margin-bottom:20px;
    transition:border-color .2s ease, box-shadow .2s ease;
    line-height:1.6;
}

form input:focus{
    outline:none;
    border-color:#2563EB;
    box-shadow:0 0 0 4px rgba(37,99,235,.12);
}

form input::placeholder{
    color:#94A3B8;
    opacity:1;
}

.forgot{
    text-align:right;
    margin:-2px 0 22px;
}

.forgot a{
    color:#2563EB;
    text-decoration:none;
    font-weight:600;
    line-height:1.6;
}

.forgot a:hover{
    text-decoration:underline;
}

.check{
    display:flex;
    align-items:center;
    gap:10px;
    margin:12px 0 24px;
    font-size:14px;
}

.login-btn{
    width:100%;
    height:60px;
    border:none;
    border-radius:16px;
    background:linear-gradient(90deg, #2563EB 0%, #1D4ED8 100%);
    color:#fff;
    font-size:20px;
    font-weight:600;
    font-family:'Inter',sans-serif;
    cursor:pointer;
    transition:transform .2s ease, filter .2s ease, box-shadow .2s ease;
}

.login-btn:hover{
    transform:translateY(-1px);
    filter:brightness(.96);
    box-shadow:0 10px 22px rgba(37,99,235,.18);
}

.divider{
    display:flex;
    align-items:center;
    gap:14px;
    text-align:center;
    margin:24px 0;
    color:#64748B;
    font-weight:600;
    line-height:1.6;
}

.divider::before,
.divider::after{
    content:"";
    flex:1;
    height:1px;
    background:#E5E7EB;
}

.divider span{
    flex:0 0 auto;
}

.google-btn{
    width:100%;
    height:56px;
    border:1px solid #D1D5DB;
    border-radius:16px;
    background:#fff;
    font-size:16px;
    font-weight:600;
    font-family:'Inter',sans-serif;
    cursor:pointer;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:12px;
    transition:background-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.google-btn span:last-child{
    color:#111827;
}

.google-btn:hover{
    background:#F8FAFC;
    transform:translateY(-1px);
    box-shadow:0 8px 18px rgba(15,23,42,.06);
}

.google-icon{
    display:inline-flex;
    align-items:center;
    justify-content:center;
}

.feature-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:16px;
    margin-top:24px;
}

.feature-card{
    background:#fff;
    border:1px solid #E5E7EB;
    border-radius:16px;
    padding:20px 16px;
    box-shadow:0 4px 16px rgba(0,0,0,.06);
    text-align:center;
}

.feature-icon{
    font-size:28px;
    margin-bottom:10px;
}

.feature-card h4{
    color:#2563EB;
    font-size:13px;
    font-weight:700;
    margin-bottom:8px;
}

.feature-card p{
    color:#374151;
    font-size:12px;
    line-height:1.6;
}

.workflow-section{
    margin-top:28px;
}

.workflow-title{
    font-family:'Poppins',sans-serif;
    color:#1358E8;
    font-size:15px;
    font-weight:600;
    letter-spacing:0.3px;
    margin-bottom:16px;
}

.workflow-steps{
    display:grid;
    grid-template-columns:repeat(6, 1fr);
    gap:16px;
}

.workflow-step{
    position:relative;
    background:#fff;
    border:1px solid #E5E7EB;
    border-radius:18px;
    padding:18px 14px 16px;
    box-shadow:0 6px 18px rgba(0,0,0,.07);
    text-align:center;
}

.workflow-step:not(:last-child)::after{
    content:"";
    position:absolute;
    top:42px;
    right:-16px;
    width:16px;
    border-top:2px dashed #60A5FA;
}

.workflow-icon{
    width:44px;
    height:44px;
    margin:0 auto 10px;
    border-radius:50%;
    background:#1358E8;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:20px;
}

.workflow-step h4{
    color:#1358E8;
    font-size:16px;
    font-weight:700;
    margin-bottom:6px;
}

.workflow-step p{
    color:#6B7280;
    font-size:12px;
    line-height:1.6;
}

.supported-broker-section{
    margin-top:28px;
}

.supported-broker-title{
    font-family:'Poppins',sans-serif;
    color:#2563EB;
    font-size:15px;
    font-weight:600;
    letter-spacing:0.3px;
    margin-bottom:16px;
}

.broker-card{
    display:flex;
    align-items:center;
    justify-content:center;
    background:#fff;
    border:1px solid #E5E7EB;
    border-radius:16px;
    height:96px;
    padding:0;
    box-shadow:0 6px 18px rgba(0,0,0,.07);
}

.broker-logo{
    width:auto;
    height:56px;
    display:block;
    object-fit:contain;
    margin:0 auto;
}

.broker-copy h4{
    color:#1358E8;
    font-size:20px;
    font-weight:800;
    margin-bottom:4px;
}

.broker-copy p{
    color:#6B7280;
    font-size:13px;
    line-height:1.5;
}

@media (max-width: 1100px){
    .container{
        grid-template-columns:1fr;
    }

    .left-panel{
        padding:35px;
    }

    .gold-title{
        font-size:20px;
    }

    .login-panel{
        margin:20px;
    }

    .feature-grid{
        grid-template-columns:1fr 1fr;
    }

    .workflow-steps{
        grid-template-columns:repeat(2, 1fr);
    }

    .workflow-step:not(:last-child)::after{
        display:none;
    }

    .broker-card{
        max-width:100%;
    }
}

body.auth-page{
    background:#ffffff;
}

.auth-shell{
    min-height:100vh;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:32px 20px;
    background:#ffffff;
}

.auth-card{
    width:100%;
    max-width:520px;
    background:#fff;
    border:1px solid #E5E7EB;
    border-radius:28px;
    box-shadow:0 18px 40px rgba(37,99,235,0.12);
    padding:48px;
}

.auth-title{
    color:#2563EB;
    font-size:42px;
    font-weight:800;
    line-height:1.05;
}

.auth-subtitle{
    margin-top:12px;
    color:#64748B;
    font-size:18px;
    font-weight:500;
    line-height:1.6;
}

.auth-message{
    margin-top:22px;
    border-radius:16px;
    padding:14px 16px;
    font-size:14px;
    font-weight:600;
    line-height:1.5;
}

.auth-message.success{
    background:#ECFDF5;
    color:#047857;
    border:1px solid #A7F3D0;
}

.auth-message.error{
    background:#FEF2F2;
    color:#B91C1C;
    border:1px solid #FECACA;
}

.auth-form{
    display:flex;
    flex-direction:column;
    margin-top:24px;
}

.auth-label{
    color:#1E3A8A;
    font-size:16px;
    font-weight:600;
    margin:0 0 8px;
}

.auth-input{
    width:100%;
    height:60px;
    border:1px solid #D1D5DB;
    border-radius:16px;
    padding:0 18px;
    font-size:16px;
    font-weight:500;
    color:#1F2937;
    margin-bottom:20px;
    transition:border-color .2s ease, box-shadow .2s ease;
}

.auth-input::placeholder{
    color:#94A3B8;
    opacity:1;
}

.auth-input:focus{
    outline:none;
    border-color:#2563EB;
    box-shadow:0 0 0 4px rgba(37,99,235,.12);
}

.auth-button{
    width:100%;
    height:60px;
    border:none;
    border-radius:16px;
    background:linear-gradient(90deg, #2563EB 0%, #1D4ED8 100%);
    color:#fff;
    font-size:20px;
    font-weight:700;
    cursor:pointer;
    transition:transform .2s ease, filter .2s ease, box-shadow .2s ease;
}

.auth-button:hover{
    transform:translateY(-1px);
    filter:brightness(.96);
    box-shadow:0 10px 22px rgba(37,99,235,.18);
}

.auth-link{
    display:inline-block;
    margin-top:24px;
    color:#2563EB;
    font-size:15px;
    font-weight:600;
    text-decoration:none;
}

.auth-link:hover{
    text-decoration:underline;
}

@media (max-width: 640px){
    .auth-card{
        padding:32px 22px;
        border-radius:24px;
    }

    .auth-title{
        font-size:34px;
    }

    .auth-subtitle{
        font-size:16px;
    }
}