﻿/*=========================================
    TEAM LOGIN - MATHUR COMMUNICATION
=========================================*/

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{

    font-family:'Poppins',sans-serif;

    background:linear-gradient(135deg,#0f172a,#1d4ed8,#2563eb);

    min-height:100vh;

    display:flex;

    justify-content:center;

    align-items:center;

    overflow:hidden;

    position:relative;

}

/*=========================================*/

body::before{

    content:"";

    position:absolute;

    width:420px;

    height:420px;

    background:rgba(255,255,255,.08);

    border-radius:50%;

    top:-160px;

    left:-160px;

}

body::after{

    content:"";

    position:absolute;

    width:350px;

    height:350px;

    background:rgba(255,255,255,.08);

    border-radius:50%;

    right:-120px;

    bottom:-120px;

}

/*=========================================*/

.login-container{

    width:100%;

    display:flex;

    justify-content:center;

    align-items:center;

    padding:20px;

}

/*=========================================*/

.login-card{

    width:450px;

    max-width:100%;

    background:rgba(255,255,255,.15);

    backdrop-filter:blur(15px);

    -webkit-backdrop-filter:blur(15px);

    border:1px solid rgba(255,255,255,.25);

    border-radius:20px;

    padding:40px 35px;

    text-align:center;

    box-shadow:0 20px 50px rgba(0,0,0,.25);

    animation:fadeIn .8s ease;

    position:relative;

    z-index:10;

}

/*=========================================*/

.logo{

    width:100px;

    height:100px;

    background:#ffffff;

    border-radius:50%;

    margin:auto;

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:48px;

    box-shadow:0 10px 25px rgba(0,0,0,.20);

    margin-bottom:20px;

}

/*=========================================*/

.login-card h1{

    color:#ffffff;

    font-size:32px;

    font-weight:700;

    margin-bottom:8px;

}

.login-card p{

    color:#e5e7eb;

    font-size:15px;

    margin-bottom:25px;

}

/*=========================================*/

.title{

    background:#ffffff;

    color:#1d4ed8;

    font-size:22px;

    font-weight:700;

    padding:12px;

    border-radius:10px;

    margin-bottom:25px;

}

/*=========================================*/

.form-group{

    margin-bottom:18px;

    text-align:left;

}

.form-group label{

    display:block;

    color:#ffffff;

    margin-bottom:8px;

    font-size:14px;

    font-weight:600;

}

/*=========================================*/

.txt{

    width:100%;

    height:48px;

    border:none;

    border-radius:10px;

    padding:12px 15px;

    font-size:15px;

    outline:none;

    transition:.3s;

}

.txt:focus{

    box-shadow:0 0 0 3px rgba(255,255,255,.35);

}

/*=========================================*/

.show-password{

    text-align:left;

    color:#ffffff;

    margin-bottom:20px;

    font-size:14px;

}

.show-password input{

    margin-right:8px;

}

/*=========================================*/

.btn-login{

    width:100%;

    height:50px;

    border:none;

    border-radius:10px;

    background:linear-gradient(135deg,#10b981,#059669);

    color:#ffffff;

    font-size:17px;

    font-weight:600;

    cursor:pointer;

    transition:.3s;

}

.btn-login:hover{

    transform:translateY(-2px);

    box-shadow:0 10px 25px rgba(16,185,129,.40);

}

/*=========================================*/

.back-home{

    margin-top:20px;

}

.back-home a{

    color:#ffffff;

    text-decoration:none;

    font-size:15px;

    transition:.3s;

}

.back-home a:hover{

    color:#fde047;

}

/*=========================================*/

.footer{

    margin-top:30px;

    color:#f1f5f9;

    font-size:13px;

    line-height:24px;

    opacity:.90;

}

/*=========================================*/

.success-message{

    display:block;

    background:#d1fae5;

    color:#065f46;

    padding:12px;

    border-radius:8px;

    margin-bottom:20px;

    font-size:14px;

    font-weight:600;

}

/*=========================================*/

.error-message{

    display:block;

    background:#fee2e2;

    color:#991b1b;

    padding:12px;

    border-radius:8px;

    margin-bottom:20px;

    font-size:14px;

    font-weight:600;

}

/*=========================================*/

@keyframes fadeIn{

    from{

        opacity:0;

        transform:translateY(30px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

/*=========================================
        TABLET
=========================================*/

@media(max-width:768px){

.login-card{

    padding:35px 25px;

}

.login-card h1{

    font-size:28px;

}

.logo{

    width:85px;

    height:85px;

    font-size:40px;

}

.title{

    font-size:20px;

}

}

/*=========================================
        MOBILE
=========================================*/

@media(max-width:480px){

.login-card{

    padding:28px 20px;

    border-radius:15px;

}

.login-card h1{

    font-size:24px;

}

.login-card p{

    font-size:14px;

}

.logo{

    width:75px;

    height:75px;

    font-size:34px;

}

.title{

    font-size:18px;

}

.btn-login{

    height:46px;

    font-size:16px;

}

.footer{

    font-size:12px;

}

}