@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap");

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

body {
    font-family: Roboto, system-ui, sans-serif;
    background-color: #181C14;
    color: #ECDFCC;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

button {
    font-family: inherit;
    border: 0;
    color: inherit;
    background: none;
    cursor: pointer;
}
a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 600px;
    width: 100%;
    padding: 24px 20px;
    border-radius: 16px;
    margin-inline: 2rem;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.content {
    width: 300px;
    text-align: center;
    margin-inline: auto;
}
.content h1 {
    margin-block: 28px;
}

.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 36px;
}
.primary-button,
.secondary-button {
    width: 100%;
    border-radius: 20px;
    padding: 8px 0;
    font-size: 15px;
    font-weight: 500;
}
.primary-button {
    background-color: #ECDFCC;
    color: #0f1419;
}
.primary-button:hover {
    background-color: #e6e6e6;
}
.secondary-button {
    background-color: transparent;
    border: 1px solid #536471;
}
.secondary-button:hover {
    background-color: #181919;
}

.divider {
    width: 100%;
    margin-block: 20px;
    position: relative;
}
.divider p::before,
.divider p::after {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45%;
    height: 1px;
    background-color: #333639;
}
.divider p::before {
    left: 0;
}
.divider p::after {
    right: 0;
}

.app-login {
    width: 100%;
    position: relative;
    margin-bottom: 36px;
}
.app-login input {
    width: 100%;
    border-radius: 6px;
    background-color: transparent;
    border: 1px solid #333639;
    outline: none;
    padding: 20px 10px;
    color: white;
    font-size: 18px;
    font-family: "Roboto";
}
input::placeholder {
    opacity: 0;
}
input + label {
    position: absolute;
    top: 20px;
    left: 10px;
    font-size: 18px;
    pointer-events: none;
    transition: 200ms ease;
}
input:focus {
    outline: 1px solid #697565;
}
input:focus + label {
    color: #697565;
}
input:not(:placeholder-shown) + label,
input:focus + label {
    top: 6px;
    left: 10px;
    font-size: 12px;
}

.sign-up {
    margin-top: 32px;
    font-weight: 300;
    text-align: center;
}
.sign-up a {
    color: #697565;
}
.sign-up a:hover {
    text-decoration: underline;
    text-decoration-color: #697565;
}

.alert {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 36px;
    border: 1px solid #333639;
    border-radius: 6px;
    padding: 20px 10px;
    background-color: #ECDFCC;
    color: #0f1419;
}

.alert .alert-danger {
    border-radius: 6px;
    color: #3C3D37;
} 

.validation-summary-errors li {
    list-style-type: none;
    padding: 0;
    margin: 0;
    color: #3C3D37;
}
.validation-summary-errors ul {
    text-align: left;
}