/* ===== Reset ===== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ===== Body Background ===== */
body {
    font-family: 'Poppins', sans-serif;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;

    /* Cinematic background */
    background:
        linear-gradient(rgba(85,10,30,0.85), rgba(10,10,20,0.85)),
        url("https://images.unsplash.com/photo-1489599849927-2ee91cede3ba");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* ===== Container ===== */
.login-container {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 20px;
}

/* ===== Login Card ===== */
.login {
    width: 100%;
    max-width: 420px;
    padding: 35px 30px;
    border-radius: 18px;

    /* Glassmorphism */
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(15px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.6);

    color: #fff;
}

/* ===== Title ===== */
.login__title {
    text-align: center;
    margin-bottom: 25px;
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: 1px;
}

/* ===== Input Boxes ===== */
.login__box {
    position: relative;
    margin-bottom: 18px;
}

.login__input {
    width: 100%;
    padding: 14px 45px 14px 18px;
    border-radius: 30px;
    border: none;
    outline: none;
    font-size: 15px;
    background: rgba(255,255,255,0.2);
    color: #fff;
}

.login__input::placeholder {
    color: #ddd;
}

.login__box i {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    color: #fff;
}

/* ===== Remember / Forgot ===== */
.login__check {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.login__check-label {
    cursor: pointer;
}

.login__forgot {
    color: #ff9f43;
    text-decoration: none;
}

.login__forgot:hover {
    text-decoration: underline;
}

/* ===== Buttons ===== */
.login__button {
    width: 100%;
    padding: 14px;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 12px;

    background: linear-gradient(135deg, #ff416c, #ff4b2b);
    color: white;
    transition: all 0.3s ease;
}

.login__button:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 20px rgba(255,75,43,0.6);
}

/* ===== Register ===== */
.login__register {
    text-align: center;
    margin-top: 15px;
    font-size: 0.9rem;
}

.login__register a {
    color: #ff9f43;
    text-decoration: none;
    font-weight: 600;
}

.login__register a:hover {
    text-decoration: underline;
}

/* ===== Responsive ===== */
@media (max-width: 480px) {
    .login {
        padding: 30px 22px;
    }
}

/* ===== Logo ===== */
.login__logo {
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
}

.login__logo img {
    width: 90px;
    height: auto;
    filter: drop-shadow(0 5px 10px rgba(0,0,0,0.6));
}
