body {
    background-color: #F2F0F1;
    font-weight: 500;
}

form {
    display: grid;
    grid-row-gap: 20px;
    padding: 20px;

    margin-top: 100px;
}
form label{
    font-size: 1.9rem;
    margin-bottom: 8px;
}
p {
    display: flex;
    flex-direction: column;

    margin: 0;
}
input {
    background-color: white;
    border: none;
    border-radius: 14px;
    padding: 14px;

    font-weight: 500;
}
form label::after {
    content: "" !important;
}
button {
    font-weight: 500;
}

#id_password:not(:placeholder-shown),
#id_password1:not(:placeholder-shown),
#id_password2:not(:placeholder-shown) {
    letter-spacing: 4px;
}

.auth_register-and-reset {
    display: flex;
    flex-direction: column;
    grid-row-gap: 8px;

    text-align: center;
    color: #AFAFAF;
}


/*-------- Alerts --------*/
#toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 99999;
}

.toast {
    padding: 12px 16px;
    background: #e74c3c;
    color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    animation: fadeIn 0.2s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 240px;
    font-size: 15px;
}

.toast-close {
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 18px;
    color: white;
    margin-left: auto;
}

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

.fade-out {
    animation: fadeOut 0.3s forwards;
}

@keyframes fadeOut {
    to { opacity: 0; transform: translateY(-8px); }
}
