/* =========================================
   ZIMBO CONNECT AUTH CSS
   Login + Register Pages
========================================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{

    font-family:'Poppins', sans-serif;

    background:
    linear-gradient(
        rgba(0,0,0,0.65),
        rgba(0,0,0,0.70)
    ),
    url('../images/banner.svg');

    background-size:cover;
    background-position:center;
    background-attachment:fixed;

    min-height:100vh;

    display:flex;
    align-items:center;
    justify-content:center;

    padding:20px;

}

/* =========================================
   AUTH CARD
========================================= */

.auth-card{

    background:rgba(255,255,255,0.97);

    width:100%;
    max-width:520px;

    border-radius:30px;

    padding:35px;

    box-shadow:
    0 10px 40px rgba(0,0,0,0.25);

    backdrop-filter:blur(10px);

    animation:fadeIn 0.5s ease;

}

/* =========================================
   LOGO
========================================= */

.auth-logo{

    text-align:center;
    margin-bottom:25px;

}

.auth-logo h2{

    font-weight:700;
    color:#198754;
    margin-top:10px;

}

.auth-logo p{

    color:#6c757d;
    font-size:14px;

}

.logo-circle{

    width:90px;
    height:90px;

    background:#198754;

    border-radius:50%;

    display:flex;
    align-items:center;
    justify-content:center;

    margin:auto;

    color:white;
    font-size:38px;

    box-shadow:
    0 8px 20px rgba(25,135,84,0.3);

}

/* =========================================
   FORM
========================================= */

.form-label{

    font-weight:600;
    color:#374151;
    margin-bottom:8px;

}

.form-control,
.form-select{

    height:55px;

    border-radius:14px;

    border:1px solid #d1d5db;

    padding-left:15px;

    font-size:15px;

    transition:0.3s;

    box-shadow:none;

}

textarea.form-control{

    height:110px;
    padding-top:15px;

}

.form-control:focus,
.form-select:focus{

    border-color:#198754;

    box-shadow:
    0 0 0 0.20rem rgba(25,135,84,0.15);

}

/* =========================================
   BUTTON
========================================= */

.auth-btn{

    height:55px;

    border:none;

    border-radius:14px;

    background:#198754;

    color:white;

    font-size:16px;
    font-weight:600;

    transition:0.3s;

}

.auth-btn:hover{

    background:#146c43;

    transform:translateY(-2px);

}

/* =========================================
   ALERTS
========================================= */

.alert{

    border-radius:14px;
    font-size:14px;

}

/* =========================================
   LINKS
========================================= */

.auth-links{

    text-align:center;
    margin-top:20px;

}

.auth-links a{

    color:#198754;
    text-decoration:none;
    font-weight:600;

}

.auth-links a:hover{

    text-decoration:underline;

}

/* =========================================
   INPUT ICONS
========================================= */

.input-group{

    position:relative;

}

.input-icon{

    position:absolute;

    top:18px;
    left:15px;

    color:#6b7280;

    z-index:10;

}

.input-group .form-control,
.input-group .form-select{

    padding-left:45px;

}

/* =========================================
   DIVIDER
========================================= */

.divider{

    display:flex;
    align-items:center;

    margin:25px 0;

}

.divider::before,
.divider::after{

    content:'';

    flex:1;

    height:1px;

    background:#dee2e6;

}

.divider span{

    margin:0 15px;

    color:#6c757d;
    font-size:14px;

}

/* =========================================
   ANIMATION
========================================= */

@keyframes fadeIn{

    from{

        opacity:0;
        transform:translateY(20px);

    }

    to{

        opacity:1;
        transform:translateY(0);

    }

}

/* =========================================
   MOBILE RESPONSIVE
========================================= */

@media(max-width:768px){

    body{

        padding:15px;

        align-items:flex-start;

    }

    .auth-card{

        padding:25px;
        border-radius:25px;

    }

    .logo-circle{

        width:75px;
        height:75px;

        font-size:30px;

    }

    .auth-logo h2{

        font-size:24px;

    }

    .form-control,
    .form-select,
    .auth-btn{

        height:50px;
        font-size:14px;

    }

    textarea.form-control{

        height:100px;

    }

}

/* =========================================
   EXTRA SMALL DEVICES
========================================= */

@media(max-width:480px){

    .auth-card{

        padding:20px;

    }

    .auth-logo h2{

        font-size:22px;

    }

    .form-label{

        font-size:14px;

    }

}
