/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

/* Body */
body {
    background: url('bg3.jpg') no-repeat center center fixed;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    color: #fff;
    overflow: hidden;
}

/* Main container to center the login box */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

/* Login Form Container */
.login {
    width: 100%;
    max-width: 450px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 15px; /* Curved box */
    padding: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    position: relative;
    z-index: 2;
    text-align: center;
}

/* Title */
.login__title {
    font-size: 38px;
    margin-bottom: 30px;
    font-weight: 700;
    color: #f7f7f7;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

/* Form Inputs */
.login__inputs {
    margin-bottom: 20px;
}

.login__box {
    position: relative;
    margin-bottom: 20px;
}

.login__input {
    width: 100%;
    padding: 15px 40px;
    border-radius: 30px; /* Curved inputs */
    border: 2px solid rgba(255, 255, 255, 0.3);
    background-color: transparent;
    color: #fff;
    font-size: 16px;
    outline: none;
    transition: border 0.3s ease;
}

.login__input::placeholder {
    color: #fff;
    opacity: 0.7;
}

/* Input Icon */
.login__box i {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: #fff;
}

/* Checkbox */
.login__check {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #f7f7f7;
}

/* Login Button */
.login__button {
    width: 100%;
    padding: 16px;
    background-color: #0074cc;
    color: #fff;
    border: none;
    border-radius: 30px; /* Curved buttons */
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    font-size: 16px;
    margin-bottom: 10px;
}

.login__button:hover {
    background-color: #005bb5;
    transform: scale(1.05);
}

/* Forgot Password Link */
.login__forgot {
    color: #fff;
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease;
}

.login__forgot:hover {
    color: #0074cc;
}

/* Register Section */
.login__register {
    text-align: center;
    font-size: 14px;
    margin-top: 25px;
}

.login__register a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.login__register a:hover {
    color: #0074cc;
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
    .login {
        padding: 30px;
    }

    .login__title {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .login__title {
        font-size: 28px;
    }

    .login {
        padding: 25px;
    }

    .login__button {
        font-size: 14px;
    }
}
