@import "/app/css/utils/base.css";

a {
    cursor: pointer;
}

#page-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

#navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--navbar-height);
    width: 100%;
    padding: 0.5rem 1rem;
    box-shadow: var(--box-shadow-medium);
    z-index: 10;
}

#main-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: calc(100% - var(--navbar-height) - var(--footer-height));
    background-color: var(--background-color-2);
    overflow-y: auto;
}

#main-section h1 {
    margin-bottom: 2rem;
    text-align: center;
    padding: 1rem;
    font-size: 2rem;
}

.section-description {
    margin: 1rem;
    max-width: 50rem;
}

.card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--box-shadow-medium);
    background-color: #fff;
    margin: 1rem;
    padding: 1.5rem 2rem;
    max-width: 30rem;
    min-width: 20%;
}

.card-main-title {
    margin-bottom: 0.7rem;
    word-break: break-all;
    text-align: center;
}

.card-content {
    text-align: start;
    margin: 1rem 0;
}

.card a {
    margin: 0.7rem;
}

.card-input-container {
    width: 100%;
    margin-bottom: 0.7rem;
}

.card button {
    margin: 1rem;
}

#forgot-password {
    display: none;
}

footer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: var(--footer-height);
    width: 100%;
    font-size: 0.7rem;
    text-align: center;
    box-shadow: var(--box-shadow-medium);
}

#terms {
    margin-left: 1rem;
}

#error-message, #reset-error-message {
    color: rgb(167, 27, 27);
}

#reset-success-message {
    color: rgb(3, 202, 63);
}

.action-buttons {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
}

@media only screen and (max-width: 500px) {
    #navbar img {
        max-width: 50%;
    }
}