body {
    opacity: 0;
    animation: fadeIn 0.7s ease-in-out forwards; 

    font-family: 'Titillium Web';
    margin: 0;
    background: url('/static/img/gradient_web 1.png') no-repeat center center fixed;
    background-size: cover;
    height: 100%;
}

.slim-header {
    display: flex;
    justify-content: left;
    align-items: center;
    padding: 10px 0; 
    width: 100%;
    box-sizing: border-box; 
    height: 2rem;
    background-color: rgba(0, 0, 0, 0.5);
    box-shadow: 0 -4px 8px rgba(174, 174, 174, 0.1);
    transition: 0.2s ease;
}

.slim-header:hover {
    transition: 0.3s ease;
    background-color: rgba(0, 0, 0, 1);
}
.link-container {
    margin-left: 10px;
    display: flex;
    justify-content: left;
    align-items: center;
    width: fit-content;
    box-sizing: border-box;
    height: 2.3rem;
}

.slim-header a {
    padding: 0 1em;
    font-size: 0.8rem;
    cursor: pointer;
    color: white;
    transition: 0.1s;
    text-decoration: none;
}

.slim-header a:hover {
    color: #00957d;
    transition: 0.1s;
}

.bi-arrow-left-circle {
    font-size: 0.88rem;
    display: inline-block;
    transition: transform 0.3s ease;
}

.back:hover .bi-arrow-left-circle {
    transform: translateX(-5px);
    transition: transform 0.3s ease; 
}

h2 {
    font-size: 1rem;
    margin: 0;
    border-bottom: 1.5px solid rgb(227, 227, 227);
    text-align: center;
    width: 100%;
    padding-bottom: 1em;
    font-weight: 400;
}

.container {
    display: flex;
    gap: 0.5em;
    margin: 20vh auto;
    width: 20rem;
    flex-direction: column;
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    justify-content: center;
    align-items: center;
    -webkit-user-select: none;
    -ms-user-select: none; 
    user-select: none; 
}

form {
    padding-top: 0.4em;
    display: flex;
    flex-direction: column;
    width: 80%;
}


label {
    font-size: 0.7rem;
    font-weight: 500;
    opacity: 0.3;
}

input{
    border: none;
    background: none;
    font-size: 0.8rem;
    font-family: 'Titillium Web';
}

input:focus {
    outline: none;
}

.item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-sizing: border-box;
    height: 4rem;
    padding: 0.8rem;
    background-color: #f9f9f9;
    border-radius: 2px;
    transition: 0.3s ease;
}

.item:focus-within {
    background-color: #ffffff;
    transition: 0.3s ease;
}

.item img {
    width: auto;
    height: 2rem;
    opacity: 0.2;
}

.input-container {
    display: flex;
    flex-direction: column;
    gap: 0.1em;    
}

.button-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5em;
    width: 100%;
    padding-top: 0.7rem;
}

button {
    box-sizing: border-box;
    flex: 1;
    Height: 40px;
    border: 2px solid #00957d;
    border-radius: 2rem;
    background: #00957d;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: 0.2s ease;
    color: white;
    gap: 10px;
    color: #FFF;
    font-size: 1rem;
    font-family: 'Titillium Web';
}

button:hover {
    background: none;
    transition: 0.2s ease;
    color: #0062AD;
    border-radius: 10px;
}

button:hover img {
    filter: invert(32%) sepia(100%) saturate(5000%) hue-rotate(180deg) brightness(90%) contrast(100%);
}

.flash-messages {
    color: #d9534f;
    background-color: #f9d7d7;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 4px;
    display: none;
}

.flash-messages:not(:empty) {
    display: block;
}

.temp-admin-notice {
    background-color: #e8f4fd;
    border: 1px solid #bee5eb;
    border-radius: 4px;
    padding: 15px;
    margin-bottom: 15px;
    color: #0c5460;
    font-size: 0.9em;
}

.temp-admin-notice p {
    margin: 5px 0;
}

.temp-admin-notice strong {
    color: #084c61;
}

.temp-admin-notice small {
    color: #856404;
}

.forgot-password a {
    margin-top: 10px;
    font-size: 0.9em;
    text-align: center;
    text-decoration: none;
    color: #c5c5c5;
}

.forgot-password a:hover {
    color: #0062AD;
}

footer {
    background-color: rgba(0, 0, 0, 0.8);
    padding: 0.5rem 0;
    text-align: center;
    position: fixed;
    bottom: 0;
    width: calc(100% - 2px);
    box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.1);
    transition: 0.2s ease;
}

footer:hover {
    background-color: rgb(0, 0, 0);
    transition: 0.2s ease;
}

footer p,
footer span {
    margin: 0;
    color: white;
}

footer span {
    font-weight: bold;
}

@keyframes fadeIn {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1; 
    }
}