/* General Body Styling */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f7fa;
    color: #333;
}

/* Make the header sticky */
.header-banner {
    background-color: #004085; /* Blue color matching the banner */
    padding: 15px 20px;
    color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
}

.header-banner .logo {
    animation: pulse 2s infinite;
    width: 40px;
    height: auto;
}

.header-banner .header-title {
    font-size: 20px;
    font-weight: bold;
    margin-left: 10px;
}


/* Hover animation for the logo */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* Card Styling */
.card {
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); /* Lighter shadow for soft lift */
    background-color: #ffffff;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-10px); /* Lift the card a little on hover */
}

.card-header.login-title {
    background-color: #004085; /* Blue color matching the header */
    color: #fff;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    padding: 15px;
}

.card-body {
    padding: 25px;
}

/* Login Button Styling */
.btn-primary {
    background-color: #004085;
    border: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    color: #fff;
}

.btn-primary:hover {
    background-color: #002752;
    transform: scale(1.03);
    box-shadow: 0 4px 14px rgba(0, 64, 133, 0.4);
    color: #fff;
}

/* Make the footer sticky */
.footer {
    background-color: #004085;
    color: white;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.05);
    text-align: center;
    padding: 10px 0;
}

/* Styling the footer text */
.footer span {
    font-size: 14px;
}

/* Footer link styling */
.footer a {
    color: #fff;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
    color: #ffd700; /* Gold color for hover effect */
}


/* Adjust content for sticky header/footer */
body {
    padding-top: 60px; /* Account for sticky header */
    padding-bottom: 60px; /* Account for sticky footer */
}

/* Input field styling */
input.form-control {
    border-radius: 8px;
    padding: 12px;
    font-size: 16px;
    border: 1px solid #ced4da;
    transition: border 0.3s ease;
}

input.form-control:focus {
    border-color: #004085; /* Focus border color */
    box-shadow: 0 0 5px rgba(0, 64, 133, 0.5);
}

/* Hover effect for buttons and inputs */
input.form-control:hover,
button.btn:hover {
    opacity: 0.9;
}

/* Styling the footer text */
.footer span {
    font-size: 14px;
}

/* Adjust container to align card properly */
.container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

/* Custom button hover effect */
button.btn-primary:focus,
button.btn-primary:active {
    outline: none;
}

/* Full height container for vertical + horizontal centering */
.main-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 120px); /* Account for header (60px) + footer (60px) */
    padding: 30px 15px;
    box-sizing: border-box;
}

.btn-outline-light:hover {
    background-color: #ffffff;
    color: #000;
}