/*==================================================
COMMON CSS
==================================================*/

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

:root{
    --primary:#3154f0;
    --secondary:#6b5cf6;
    --text:#1f2937;
    --muted:#5f6776;
    --border:#dce3ee;
    --bg:#eef2f8;
    --input:#f8f9fc;
    --white:#fff;
}

html{
    scroll-behavior:smooth;
}

body{
    background:var(--bg);
    font-family:"Montserrat",system-ui,sans-serif;
    color:var(--text);
    font-size:15px;
    font-weight:500;
    line-height:1.6;
}

img{
    max-width:100%;
    display:block;
}

a{
    text-decoration:none;
}

ul{
    list-style:none;
    margin:0;
    padding:0;
}

button{
    outline:0;
    border:0;
}

input,
select,
textarea{
    box-shadow:none!important;
    outline:none!important;
}

.form-control,
.form-select{
    border:none;
    background:transparent;
    box-shadow:none!important;
}

.form-control:focus,
.form-select:focus{
    border:none;
    box-shadow:none!important;
}

.logo{
    width:280px;
    margin:auto;
}

.page-wrapper,
.login-page,
.register-page,
.forgot-page{
    width:100%;
    min-height:100vh;
    display:flex;
    justify-content:center;
    align-items:flex-start;
}

.card-box,
.login-card,
.register-card,
.forgot-card{
    width:100%;
    max-width:500px;
    background:#fff;
    padding:30px;
    box-shadow:0 10px 35px rgba(0,0,0,.08);
}

.top-banner,
.top-box,
.welcome-box{
    display:flex;
    align-items:center;
    gap:18px;
    background:linear-gradient(90deg,var(--primary),var(--secondary));
    color:#fff;
    border-radius:28px;
    padding:24px;
    margin-bottom:30px;
}

.banner-icon,
.top-icon,
.welcome-icon{
    width:58px;
    height:58px;
    border-radius:50%;
    background:rgba(255,255,255,.12);
    display:flex;
    justify-content:center;
    align-items:center;
    flex-shrink:0;
    font-size:22px;
}

.top-banner h2,
.top-box h3,
.welcome-box h2{
    font-size:20px;
    font-weight:700;
    margin-bottom:2px;
}

.top-banner p,
.top-box p,
.welcome-box p{
    margin:0;
    font-size:14px;
    font-weight:500;
}

label{
    display:block;
    margin-bottom:10px;
    color:#5d6573;
    font-size:13px;
    font-weight:700;
    letter-spacing:.2px;
}

.custom-input,
.input-box{
    position:relative;
    height:55px;
    border:1px solid var(--border);
    border-radius:40px;
    overflow:hidden;
    background:var(--input);
}

.input-group-text{
    background:transparent;
    border:none;
    padding-left:15px;
    color:#6b7280;
}

.custom-input .form-control,
.custom-input .form-select,
.input-box .form-control{
    height:100%;
    border:none;
    background:transparent;
    font-size:16px;
    color:#4b5563;
    font-weight:500;
}

.custom-input .form-control::placeholder,
.input-box .form-control::placeholder{
    color:#6b7280;
}

.eye-btn{
    background:none;
    border:none;
    color:#6b7280;
    padding-right:18px;
}

.gradient-btn, .login-btn, .register-btn, .send-btn {
    width: 100%;
    height: 55px;
    border: none;
    border-radius: 40px;
    background: linear-gradient(90deg,var(--primary),var(--secondary));
    color: #fff;
    font-size: 17px;
    font-weight: 600;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    transition: .3s;
}
.gradient-btn:hover,
.login-btn:hover,
.register-btn:hover,
.send-btn:hover{
    transform:translateY(-2px);
}

.quick-title,
.quick-action{
    display:flex;
    align-items:center;
    gap:16px;
    margin:30px 0 22px;
}

.quick-title span,
.quick-action span{
    flex:1;
    height:1px;
    background:#d8dee8;
}

.quick-title h5,
.quick-action h6{
    margin:0;
    font-size:14px;
    font-weight:600;
    color:#5d6573;
}

.quick-btn{
    width:100%;
    height:48px;
    border:1px solid var(--border);
    border-radius:40px;
    display:flex;
    justify-content:center;
    align-items:center;
    gap:10px;
    color:#1f2937;
    font-weight:600;
    transition:.3s;
}

.quick-btn i{
    color:var(--primary);
}

.quick-btn:hover{
    background:var(--primary);
    color:#fff;
}

.quick-btn:hover i{
    color:#fff;
}

.footer-text{
    margin-top:40px;
    text-align:center;
    color:#5d6573;
    font-size:14px;
    line-height:1.7;
}

/*==================================================
LOGIN PAGE
==================================================*/

.logo-area{
    margin-bottom:30px;
}

.remember-area{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin:20px 0 28px;
}

.form-check{
    display:flex;
    align-items:center;
    gap:10px;
}

.form-check-input{
    width:18px;
    height:18px;
}

.form-check-label{
    margin:0;
    font-size:14px;
    font-weight:600;
}

.remember-area a{
    color:var(--primary);
    font-size:14px;
    font-weight:600;
}

.signup-text{
    text-align:center;
    margin:30px 0;
    font-size:16px;
    color:#5d6573;
}

.signup-text a{
    color:var(--primary);
    font-weight:600;
}

.tutorial-card{
    border:1px solid var(--border);
    border-radius:24px;
    overflow:hidden;
    background:#fff;
}

.tutorial-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:18px;
}

.tutorial-left{
    display:flex;
    align-items:center;
    gap:14px;
}

.play-circle{
    width:42px;
    height:42px;
    border-radius:50%;
    display:flex;
    justify-content:center;
    align-items:center;
    background:linear-gradient(90deg,var(--primary),var(--secondary));
    color:#fff;
}

.tutorial-left small{
    display:block;
    color:#6b7280;
    font-size:11px;
    font-weight:700;
}

.tutorial-left h6{
    margin:0;
    font-size:15px;
    font-weight:700;
}

.language-btn{
    padding:10px 18px;
    border:1px solid var(--border);
    border-radius:30px;
    display:flex;
    align-items:center;
    gap:10px;
    font-size:14px;
    font-weight:600;
}

.video-box{
    width:100%;
    aspect-ratio:16/9;
}

.video-box iframe{
    width:100%;
    height:100%;
    border:none;
}

/*==================================================
REGISTER PAGE
==================================================*/

.register-card{
    max-width:620px;
}

.phone-box{
    height:56px;
    border:1px solid var(--border);
    border-radius:40px;
    overflow:hidden;
    display:flex;
    background:var(--input);
}

.country-code{
    min-width:125px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    border-right:1px solid var(--border);
    font-size:15px;
    font-weight:600;
    color:#5d6573;
    background:#fff;
}

.phone-box input{
    flex:1;
    border:none;
    outline:none;
    background:transparent;
    padding:0 18px;
    font-size:16px;
    font-weight:500;
    color:#4b5563;
}

.phone-box input::placeholder{
    color:#6b7280;
}

.guide-card{
    margin-top:25px;
    border:1px solid #ffd36b;
    background:#fff9ef;
    border-radius:22px;
    padding:16px;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.guide-left{
    display:flex;
    align-items:center;
    gap:14px;
}

.guide-icon{
    width:46px;
    height:46px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#ff9800;
    color:#fff;
    font-size:18px;
}

.guide-left small{
    display:block;
    color:#f57c00;
    font-size:11px;
    font-weight:700;
    letter-spacing:.5px;
}

.guide-left h5{
    margin:2px 0 0;
    font-size:16px;
    font-weight:700;
    color:#1f2937;
}

.view-btn{
    display:flex;
    align-items:center;
    gap:8px;
    height:40px;
    padding:0 18px;
    border-radius:30px;
    background:#ff9800;
    color:#fff;
    font-size:14px;
    font-weight:700;
}

.view-btn:hover{
    color:#fff;
}

.signin-text{
    margin-top:30px;
    text-align:center;
    font-size:16px;
    color:#5d6573;
}

.signin-text a{
    color:var(--primary);
    font-weight:700;
}

/*==================================================
FORGOT PASSWORD
==================================================*/

.back-btn{
    margin-bottom:25px;
}

.back-btn a{
    display:inline-flex;
    align-items:center;
    gap:10px;
    color:#5d6573;
    font-size:16px;
    font-weight:700;
}

.back-btn i{
    font-size:18px;
}

.info-text{
    margin:25px 0 30px;
    color:#5d6573;
    font-size:15px;
    line-height:1.8;
}

.forgot-card .signin-text{
    margin-top:40px;
}

.forgot-card .footer-text{
    margin-top:120px;
}

/*==================================================
RESPONSIVE
==================================================*/

@media(max-width:991px){

.login-card,
.register-card,
.forgot-card{
    padding:25px;
}

.logo{
    width:240px;
}

.top-banner,
.top-box,
.welcome-box{
    padding:20px;
}

.top-banner h2,
.top-box h3,
.welcome-box h2{
    font-size:24px;
}

.top-banner p,
.top-box p,
.welcome-box p{
    font-size:14px;
}

}

@media(max-width:768px){

.login-page,
.register-page,
.forgot-page{
    padding:20px 12px;
}

.login-card,
.register-card,
.forgot-card{
    padding:20px;
}

.logo{
    width:210px;
}

.banner-icon,
.top-icon,
.welcome-icon{
    width:50px;
    height:50px;
    font-size:20px;
}

.top-banner,
.top-box,
.welcome-box{
    gap:15px;
    border-radius:20px;
}

.top-banner h2,
.top-box h3,
.welcome-box h2{
    font-size:22px;
}

.custom-input,
.input-box,
.phone-box{
    height:52px;
}

.gradient-btn,
.login-btn,
.register-btn,
.send-btn{
    height:52px;
    font-size:15px;
}

.quick-btn{
    height:46px;
    font-size:14px;
}

.guide-card{
    flex-direction:column;
    align-items:flex-start;
    gap:15px;
}

.language-btn{
    display:none;
}

.footer-text{
    margin-top:40px !important;
    font-size:12px;
}

}

@media(max-width:576px){

.card-box,
.login-card,
.register-card,
.forgot-card{
    padding:18px;
}

.logo{
    width:150px;
}


.top-banner h2,
.top-box h3,
.welcome-box h2{
    font-size:14px;
}

.top-banner p,
.top-box p,
.welcome-box p{
    font-size:13px;
}

.remember-area a{
    font-size: 13px;
}
.form-check-label {
    margin: 0;
    font-size: 13px;
    font-weight: 600;
}

.quick-btn{
    font-size:13px;
    gap: 5px;
}

.country-code{
    min-width:95px;
    font-size:13px;
}

.phone-box input{
    font-size:14px;
}

.guide-left h5{
    font-size:15px;
}

.view-btn{
    width:100%;
    justify-content:center;
}

.signin-text,
.signup-text{
    font-size:12px;
}

}