﻿@import url('https://fonts.googleapis.com/css2?family=Reddit+Sans:ital,wght@0,200..900;1,200..900&display=swap');

body {
    font-family: "Reddit Sans", serif;
  font-optical-sizing: auto;
  
 
}


:root{
--bg:#031633;
--card:#11284a;
--yellow:#fdb913;
--white:#ffffff;
--border:rgba(255,255,255,.08);
}

*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:'Inter',sans-serif;
}

body{
background:#020f23;
overflow-x:hidden;
}

.login-wrapper{
    min-height:100vh;
    padding:20px;
    background:#011225;
}

.login-container{
    width:min(1800px,100%);
    margin:auto;

    display:grid;
    grid-template-columns:minmax(600px,1.6fr) minmax(420px,600px);
    gap:35px;

    min-height:calc(100vh - 40px);
}

/* LEFT SIDE */

.left-panel{
    position:relative;
    overflow:hidden;
    border-radius:24px;

    background:
    linear-gradient(rgb(0 17 48 / 1%), rgb(0 17 48 / 0%)), url(../images/crm_bg.png);

    background-size:cover;
    background-position:center;
}

.left-content{
    position:absolute;
    inset:0;
    padding:clamp(40px,5vw,80px);

    display:flex;
    flex-direction:column;
    justify-content:space-between;
}

.hero-content{
    margin-top:25%;
}

.hero-content h1{
    font-size:45px;
    line-height:1.08;
    font-weight:800;
    color:#fff;
}

.hero-content h1 span{
    color:var(--yellow);
}

.hero-content p{
    margin-top: 16px;
    color: #fff;
    font-size: 16px;
}

.yellow-line{
    width:70px;
    height:5px;
    background:var(--yellow);
    border-radius:50px;
  margin-top: 14px;
}

.stats{
    display:flex;
    gap:clamp(20px,3vw,60px);
}

.stat-box{
    position:relative;
}

.stat-box:not(:last-child)::after{
    content:'';
    position:absolute;
    right:-30px;
    top:10px;
    width:1px;
    height:60px;
    background:rgba(255,255,255,.15);
}

.stat-box h3{
    color:var(--yellow);
    font-size:clamp(28px,2vw,50px);
    font-weight:800;
}

.stat-box p{
    color:#fff;
    font-size:16px;
}

/* RIGHT SIDE */

.right-panel{
    display:flex;
    align-items:center;
    justify-content:center;
}

.login-card{
    width:100%;
    max-width:600px;

    background:#112648;
    border-radius:26px;

    padding:clamp(30px,3vw,50px);

    box-shadow:
    0 25px 50px rgba(0,0,0,.35);

    transition:.4s ease;
}

.login-card:hover{
    transform:translateY(-4px);
}

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

.logo img{
    width:100px;
}

.login-card h2{
    text-align:center;
    color:#fff;
font-size: 25px;
    font-weight:800;
}

.subtitle{
    text-align: center;
    color: #bfc8d8;
    margin-bottom: 24px;
    font-size: 15px;
}

/* FORM */

.form-control{
    height:54px;
    background:#173864;
    border:1px solid rgba(255,255,255,.08);
    color:#fff;
    border-radius:12px;

    font-size:20px;
    display: block;
    width: 100%;
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #ffffff !important;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: #0e2242 !important;
    background-clip: padding-box;
    border: var(--bs-border-width) solid #ffffff80 !important;
    border-radius: var(--bs-border-radius);
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.form-control::placeholder{
    color:#fff !important;
}

.form-control:focus{
    border-color:var(--yellow);
    box-shadow:none;
    background:#173864;
    color:#fff;
}

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

.otp-title{
 color: #fff;
    font-weight: 500;
    margin-bottom: 15px;
    font-size: 14px;
}

.otp-row{
    display:flex;
    gap:10px;
    align-items:center;
}

.otp-row input{
    width: 36px;
    height: 36px;

    border-radius:10px;
    border:1px solid rgba(255,255,255,.12);

    background:#173864;
    color:#fff;
    text-align:center;
    font-size:22px;
}

.bottom-options{display: flex;
    justify-content: space-between;
    margin-top: 10px;}

.send-otp{
    height: 40px;
    border: none;
    border-radius: 6px;
    background: var(--yellow);
    font-weight: 700;
    font-size: 15px;
    padding: 6px 10px;
}

.otp-info{
    margin-top:15px;

    display:flex;
    justify-content:space-between;
    align-items:center;
}

.otp-info span{
    color:#c2ccdb;
}

.otp-info strong{
    color:var(--yellow);
}

.otp-info a{
    color:#fff;
    text-decoration:none;
}

.login-btn{
   margin-top: 20px;
    width: 100%;
    height: 54px;
    border: none;
    border-radius: 12px;
    background: var(--yellow);
    font-size: 20px;
    font-weight: 700;
    transition: .3s;
}

.login-btn:hover{
    transform:translateY(-2px);
}

.bbottom-options {
    margin-top: 18px;

    display:flex;
    justify-content:space-between;
    align-items:center;
}

.bottom-options label{
    color:#fff;
}

.bottom-options a{
    color:var(--yellow);
    text-decoration:none;
}

.secure-text{
  margin-top: 14px;
    text-align:center;
    color:#d2d8e4;
}

/* 1600px */

@media(max-width:1600px){

.login-container{
    grid-template-columns:1.4fr 0.9fr;
}



.login-card{
    max-width:550px;
}

}

/* 1366px */

@media(max-width:1366px){



.login-card{
    max-width:500px;
}

.stat-box h3{
    font-size:34px;
}

}

/* 1200px */

@media(max-width:1200px){



.left-panel{
    min-height:700px;
}

.right-panel{
    padding-top:20px;
}

.login-card{
    max-width:700px;
}

}

@media(max-width:768px) {
    .login-container{
    grid-template-columns:1fr;
}
}

@media(max-width:768px){

.hero-content{
    margin-top:0;
}


.stats{
    flex-wrap:wrap;
    gap:25px;
}

.stat-box::after{
    display:none;
}


.left-content{padding:10px;}



        .hero-content {
        margin-top: 26px;
    }
.login-wrapper{
    padding:10px;
}

    .left-panel {
        min-height: 240px;
    }

    .hero-content h1 {
        font-size: 20px;
        line-height: unset;
    }
    .yellow-line {
    width: 70px;
    height: 5px;
    background: var(--yellow);
    border-radius: 50px;
    margin-top: 0px;
}
        .stat-box h3 {
        font-size: 15px;
        margin-bottom: 2px;
    }
        .stat-box p {
    color: #fff;
    font-size: 16px;
}

.hero-content p{
    font-size:14px;
}
.login-container{gap:5px;}

.login-card{
    padding:25px;
}

.otp-row{
    flex-wrap:wrap;
}


.send-otp{
    width:100%;
    margin-top:10px;
}

.bottom-options{
    flex-direction:column;
    gap:15px;
}

.login-btn{
    height:60px;
    font-size:20px;
}

}