* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background-image: url('./maharlika/login image.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-clip: border-box;
    background-origin: padding-box;
}

.background-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('./maharlika/login image.jpg');
    background-size: cover;
    background-position: center;
    animation: zoomInOut 20s infinite alternate;
    filter: blur(3px) brightness(0.7);
}

@keyframes zoomInOut {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

.login-container {
    position: relative;
    z-index: 2;
    max-width: 400px;
    width: 90%;
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transform: translateY(0);
    transition: all 0.3s ease;
}

.login-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

#clock {
    font-size: 1.1rem;
    color: #1a237e;
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.login-title {
    font-size: 2rem;
    font-weight: 600;
    color: #1a237e;
    text-align: center;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

.input-group {
    margin-bottom: 1.5rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.input-group-text {
    background-color: #1a237e;
    border: none;
    color: white;
    padding: 0.7rem;
}

.form-control {
    border: none;
    padding: 0.7rem;
    font-size: 1rem;
}

.form-control:focus {
    box-shadow: none;
    border-color: #1a237e;
}

.btn-login {
    background: linear-gradient(45deg, #1a237e, #3949ab);
    border: none;
    color: white;
    padding: 0.8rem;
    border-radius: 12px;
    font-weight: 500;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.btn-login:hover {
    background: linear-gradient(45deg, #3949ab, #1a237e);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 35, 126, 0.3);
}

.forgot-password {
    text-align: center;
    margin-top: 1rem;
}

.forgot-password a {
    color: #1a237e;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.forgot-password a:hover {
    color: #3949ab;
    text-decoration: underline;
}

.alert {
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .login-container {
        width: 85%;
        padding: 2rem;
    }

    .login-title {
        font-size: 1.8rem;
    }
}