body, html {
    height: 100%;
    margin: 0;
    background-color: #f0f2f5; /* Light grey background */
    /* Removed background image */
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: #333;
}
.container {
    max-width: 600px;
}
.card {
    border: 1px solid rgba(255, 255, 255, 0.3); /* Light transparent border */
    border-radius: 20px; /* More rounded corners */
    background-color: rgba(255, 255, 255, 0.15); /* Semi-transparent white background */
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37); /* Glassy shadow */
    backdrop-filter: blur(10px); /* Glassy blur effect */
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}
.card:hover {
    box-shadow: 0 10px 40px 0 rgba(31, 38, 135, 0.5); /* Enhanced shadow on hover */
}
.card-header {
    background-color: #000080; /* Dark Navy Blue */
    color: white;
    text-align: center;
    font-weight: bold;
    font-size: 1.3rem; /* Reduced font size */
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}
/* Card Header Image (Logo) */
.card-header img.logo-animated {
    max-width: 60px;
    margin-bottom: 5px;
    filter: drop-shadow(5px 5px 5px yellow);
    animation: rotateHorizontal 4s infinite linear; /* Apply animation */
}

@keyframes rotateHorizontal {
    0% {
        transform: rotateY(0deg);
    }
    50% {
        transform: rotateY(180deg);
    }
    100% {
        transform: rotateY(360deg);
    }
}
.card-body {
    padding: 30px;
}
.btn-custom {
    font-size: 1.2rem;
    padding: 15px 0;
    margin-bottom: 15px;
    border-radius: 10px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: none; /* Remove default button border */
}
.btn-custom i {
    margin-right: 15px;
    font-size: 1.5rem;
}
.btn-admin {
    background-color: rgba(220, 53, 69, 0.7); /* Semi-transparent red */
    color: white;
}
.btn-admin:hover {
    background-color: rgba(220, 53, 69, 0.9); /* Less transparent on hover */
    color: white;
}
.btn-officer {
    background-color: rgba(255, 193, 7, 0.7); /* Semi-transparent yellow */
    color: #212529;
}
.btn-officer:hover {
    background-color: rgba(255, 193, 7, 0.9); /* Less transparent on hover */
    color: #212529;
}
.btn-personnel {
    background-color: rgba(40, 167, 69, 0.7); /* Semi-transparent green */
    color: white;
}
.btn-personnel:hover {
    background-color: rgba(40, 167, 69, 0.9); /* Less transparent on hover */
    color: white;
}
