* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: url('https://images2.alphacoders.com/690/690955.jpg') no-repeat center center;
    background-size: cover;
    overflow: hidden;
}

.wrapper {
    width: 90%; 
    max-width: 420px; 
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(17, 16, 16, 0.2);
    backdrop-filter: blur(8px); 
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    color: black;
    padding: 30px;
    border-radius: 20px;
    margin: 20px;
}

.wrapper h1 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 10px;
}

.input-box {
    width: 100%;
    margin: 20px 0;
    position: relative;
}

.input-box input {
    width: 100%;
    height: 50px;
    background: transparent;
    border: none;
    outline: none;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 40px;
    font-size: 1rem;
    color: #fff;
    padding: 0 20px;
    padding-right: 45px; 
}

.input-box input::placeholder {
    color: #fff;
}

.input-box i {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: #fff;
}

.remember-forgot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 15px 0;
}

.remember-forgot label input {
    accent-color: #fff;
    margin-right: 5px;
}

.remember-forgot a {
    color: #fff;
    text-decoration: none;
}

.remember-forgot a:hover {
    text-decoration: underline;
    text-shadow: 1px 1px 1px black;
}

.btn {
    width: 100%; 
    max-width: 400px;
    height: 45px;
    background: white;
    border: none;
    outline: none;
    border-radius: 40px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    font-size: 1rem;
    color: #333;
    font-weight: 600;
    margin-top: 10px;
}

.register-link {
    font-size: 14.5px;
    text-align: center;
    margin: 20px 0;
}

.register-link p a {
    color: black;
    text-decoration: none;
    font-weight: 600;
}

.register-link p a:hover {
    text-decoration: underline;
}

/* Media Queries for Responsive Design */
@media (max-width: 768px) {
    .wrapper {
        width: 95%; 
    }

    .wrapper h1 {
        font-size: 1.8rem;
    }

    .btn {
        height: 50px;
    }
}

@media (max-width: 480px) {
    .wrapper {
        padding: 20px;
    }

    .input-box input {
        font-size: 0.9rem;
        padding-right: 40px;
    }

    .input-box i {
        font-size: 18px;
    }

    .btn {
        height: 45px;
        font-size: 0.9rem;
    }
}
