/* Google Font (optional but recommended) */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Poppins', Arial, sans-serif;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;

    background-image: url(/login/images/bgmix.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: relative;
}

/* Dark overlay for better contrast */
body::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 0;
}

/* Glass Login Card */
.login-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 420px;
    padding: 45px 35px;
    border-radius: 18px;

    background: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.35),
        rgba(255, 255, 255, 0.15)
    );

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    border: 1px solid rgba(255, 255, 255, 0.25);

    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.25),
        inset 0 1px 1px rgba(255, 255, 255, 0.4);

    animation: fadeIn 0.8s ease;
}

/* Entry Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Form */
.login-form {
    display: flex;
    flex-direction: column;
    width: 100%;
}

/* Heading */
.login-form h2 {
    margin-bottom: 25px;
    text-align: center;
    font-size: 26px;
    font-weight: 600;
    color: #1f1f1f;
    letter-spacing: 0.5px;
}

/* Input Groups */
.input-group {
    margin-bottom: 18px;
}

.input-group label {
    display: block;
    font-size: 14px;
    margin-bottom: 6px;
    color: rgba(0, 0, 0, 0.7);
}

/* Inputs */
.input-group input {
    width: 100%;
    padding: 12px 14px;
    font-size: 15px;
    border-radius: 10px;
    border: none;
    background: rgba(255, 255, 255, 0.85);
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.08);
    transition: all 0.25s ease;
}

.input-group input::placeholder {
    color: rgba(0, 0, 0, 0.45);
}

.input-group input:focus {
    outline: none;
    box-shadow:
        0 0 0 2px rgba(255, 112, 69, 0.35),
        inset 0 2px 5px rgba(0, 0, 0, 0.08);
}

/* Button */
button {
    width: 100%;
    padding: 13px;
    margin-top: 10px;
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    cursor: pointer;
    border: none;
    border-radius: 12px;

    background: linear-gradient(135deg, #ff7045, #ff8a66);

    box-shadow: 0 10px 20px rgba(255, 112, 69, 0.4);
    transition: all 0.3s ease;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(255, 112, 69, 0.55);
}

button:active {
    transform: translateY(0);
    box-shadow: 0 8px 16px rgba(255, 112, 69, 0.4);
}

/* Responsive */
@media (max-width: 480px) {
    .login-container {
        padding: 35px 25px;
        border-radius: 14px;
    }

    .login-form h2 {
        font-size: 22px;
    }
}
