*, *::before, *::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: url("Images/background_landingpage.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(15, 23, 42, 1);
    padding: 1rem 2.5rem;
}

main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sign-in-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    padding-bottom: 1rem;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    width: 20rem;
}

.sign-in-logo {
    width: 100px;
    height: 100px;
    margin-bottom: 1.5rem;
}

label {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
    font-weight: 600;
    font-size: 1.2rem;
    color: #1f2937;
}

#email, #code {
    margin-top: 0.5rem;
    padding: 0.5rem;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
}

#code-instructions {
    font-size: 0.875rem;
    color: #1f2937;
    font-weight: 400;
}

.btn-container {
    display: flex;
    justify-content: flex-end;
}

.link {
    color: #1f2937;
    font-weight: 600;
}

.link:hover {
    color: #374151;
}

button {
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    background-color: #1f2937;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

button:hover {
    background-color: #374151;
}

#otp-buttons {
    display: flex;
    justify-content: space-between;
}

.footer {
    position: absolute;
    bottom: 1rem; /* bottom-4 */
    left: 50%; /* left-1/2 */
    transform: translateX(-50%); /* -translate-x-1/2 */
    text-align: center;
    padding: 0;
    width: max-content;
    max-width: 100%;
}

.footer p {
    margin: 0.5rem 0;
}

.powered-by {
    font-size: 0.875rem;
    font-weight: 600;
    color: #0F172A;
}

.description {
    font-size: 0.75rem;
    font-style: italic;
    color: #000;
    margin-top: 0.25rem;
}

#message {
    margin-top: 1rem;
    font-size: 0.875rem;
    color: #1f2937;
}

.refresh-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    width: 20rem;
}

.not-found-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    width: 20rem;
    text-align: center;
    color: #1f2937; 
}