body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Arial', sans-serif;
    /* Background image sourced from [https://www.leadingroles.com.au/rails/active_storage/representations/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBNHZHSGc9PSIsImV4cCI6bnVsbCwicHVyIjoiYmxvYl9pZCJ9fQ==--8b816bd1e780ced747dd2748ecb43a8ffce0abd2/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdCam9VWTI5dFltbHVaVjl2Y0hScGIyNXpld2c2QzNKbGMybDZaVWtpRGpFd01EQjROVEF3WGdZNkJrVlVPZ3huY21GMmFYUjVTU0lMUTJWdWRHVnlCanNIVkRvSlkzSnZjRWtpRVRFd01EQjROVEF3S3pBck1BWTdCMVE9IiwiZXhwIjpudWxsLCJwdXIiOiJ2YXJpYXRpb24ifX0=--46c71b34483be69bdb6c526f3ee4da2b74b4cce2/Gold%20Coast_11.jpg] */
    background: url('../images/banner.jpg') no-repeat center center fixed;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background-color: rgba(0, 0, 0, 0.5);
}

.login-wrapper {
    text-align: center;
    animation: appear 0.5s ease-in-out forwards;
}

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

.logo-container img {
    max-width: 350px;
    transition: all 0.3s ease;
}

.logo-transformed {
    transition: all 0.3s ease;
    width: 100px;
    margin-bottom: 0;
    transform: translateY(-50px);
}

.login-content {
    display: none;
    animation: fadeIn 0.5s ease-in-out forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.input-group {
    position: relative;
    margin-bottom: 1.5rem;
    border-radius: 20px;
    overflow: hidden;
}

.input-group i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #777;
}

.input-group input {
    padding: 12px 15px 12px 45px;
    border-radius: 20px;
    border: none;
    font-size: 20px;
}

.password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #777;
    cursor: pointer;
}

.input-group {
    position: relative;
    margin-bottom: 30px;
}

.input-group label {
    margin-left: 5px;
    background-color: white;
    padding: 10px 10px;
    color: black;
}

.input-group input[type="checkbox"] {
    vertical-align: middle;
    margin-bottom: 0.3em;
}

.login-button {
    width: 100%;
    padding: 12px 20px;
    background-color: #ff5722;
    color: white;
    border-radius: 20px;
    border: none;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s;
}

.login-button:hover {
    background-color: #e64a19;
}

.extra-links {
    margin-top: 1rem;
    color: #ffffff;
}

.extra-links a {
    color: inherit;
    text-decoration: none;
    margin: 0 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.extra-links a:hover {
    text-decoration: underline;
}

@media (max-width: 600px) {
    .input-group input, .login-button {
        width: 90%;
    }
}