* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    height: 100vh;
    /* Background image with a dark overlay for contrast */
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), 
                url('../images/back.png') no-repeat center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-container{
    background-image: url("../images/login-image.png");
}
.login-card {
    width: 380px;
    padding: 40px;
    background: rgba(255, 255, 255, 0.1); /* Transparent White */
    backdrop-filter: blur(10px); /* Glass Effect */
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    text-align: center;
    color: #fff;
    box-shadow: 0 25px 45px rgba(0,0,0,0.2);
    transition: 0.4s ease-in-out;
}

.login-card:hover {
    border: 1px solid rgba(255, 255, 255, 0.4);
    transform: scale(1.01);
}

.avatar-box img {
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    padding: 10px;
    margin-bottom: 15px;
    border: 2px solid #0d6efd;
}

h2 {
    font-size: 28px;
    font-weight: 600;
    letter-spacing: 1px;
}

p {
    font-size: 13px;
    color: #ddd;
    margin-bottom: 30px;
}

/* Input Styling */
.input-group {
    position: relative;
    margin-bottom: 20px;
}

.input-group i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #393535;
    transition: 0.3s;
}

.input-group input {
    width: 100%;
    padding: 12px 15px 12px 45px;
    background: rgb(255 255 255 / 45%)  ;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 10px;
    outline: none;
    color: #fff;
    font-size: 15px;
    transition: 0.3s;
}

.input-group input:focus {
    background: rgba(255,255,255,0.15);
    border-color: #0d6efd;
    box-shadow: 0 0 10px rgba(13, 110, 253, 0.3);
}

.input-group input:focus + i, 
.input-group input:focus ~ #togglePassword {
    color: #0d6efd;
}

#togglePassword {
    left: auto;
    right: 15px;
    cursor: pointer;
}

/* Options Area */
.options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    margin-bottom: 25px;
    color: #ddd;
}

.forgot {
    color: #0d6efd;
    text-decoration: none;
}

.forgot:hover {
    text-decoration: underline;
}

/* Creative Button */
.btn-login {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 10px;
    background: #0d6efd;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
}

.btn-login:hover {
    background: #0b5ed7;
    box-shadow: 0 8px 20px rgba(13, 110, 253, 0.4);
}

.btn-login i {
    transition: 0.3s;
}

.btn-login:hover i {
    transform: translateX(5px);
}

/* Mobile Responsive */
@media (max-width: 400px) {
    .login-card {
        width: 90%;
        padding: 30px 20px;
    }
}
.back-home{
    display:inline-flex;
    align-items:center;
    gap:8px;
    margin-bottom:20px;
    padding:8px 14px;
    background:rgba(255,255,255,0.15);
    color:#fff;
    text-decoration:none;
    border-radius:30px;
    font-size:14px;
    transition:0.3s;
}

.back-home i{
    font-size:13px;
}

.back-home:hover{
    background:rgba(255,255,255,0.3);
    transform:translateX(-3px);
}
