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

body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #0f172a;
    height: 100vh;
}

.login-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 10px;
}

#logo-tyn {
    width: 65px;
    margin-bottom: 25px;
    border-radius: 18px;
}


.container {
    display: flex;
    width: 100%;
    height: 100vh;
}

.login {
    flex: 1;
    background-color: #020617;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #f8fafc;
}

.login h1 {
    text-align: center;
    margin-bottom: 15px;
    /* margin bottom colocar magin no h1 */
}

.login-form {
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
}

.field {
    margin-bottom: 20px;
}

.field label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    color: #e5e7eb;
}


.field input {
    width: 100%;
    padding: 14px;
    border-radius: 8px;
    border: 1px solid #334155;
    background-color: #020617;
    color: white;
}

/* estado inválido */
.field.invalid input {
    border-color: #fb7185;
    background-color: rgba(251, 113, 133, 0.08);
}

/* mensagem de erro */
.field .error {
    display: none;
    margin-top: 6px;
    font-size: 12px;
    color: #fb7185;
}

/* mostrar erro */
.field.invalid .error {
    display: block;
}

.marketing {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #020617;
    color: white;
    padding: 60px;
}


#paragrafo-left {
    display: flex;
    justify-content: center;
    margin-bottom: 27px;
}

.login-form p {
    margin-bottom: 5px;
}

input {
    padding: 14px;
    width: 100%;
    border: 1px solid #334155;
    border-radius: 6px;
    outline: none;
    font-size: 14px;
    background-color: #020617;
    color: white;
}

input::placeholder {
    color: #94a3b8;
}

input:focus {
    border-color: #3b82f6;
}

#palavra-dinamica {
    color: #3b82f6;
    transition: opacity 0.3s ease;
}


/* pop de alerta na tela de erro de login */

.toast {
    position: fixed;
    top: 30px;
    right: 30px;
    display: flex;
    align-items: center;
    background: #ffffff;
    color: #1e293b;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.toast-icon {
    /* background: #fb7185; */
    color: white;
    font-weight: bold;
    padding: 24px;
    font-size: 18px;
}

.toast.erro .toast-icon {
    background: #fb7185;

}

.toast.sucesso .toast-icon {
    background: #2fa500;
}


.toast-text {
    padding: 16px 20px;
    font-size: 14px;
    max-width: 260px;
}


/* Dupliquei? */

/* .toast-entrada {
    position: fixed;
    top: 30px;
    right: 30px;
    display: flex;
    align-items: center;
    background: #ffffff;
    color: #1e293b;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}

.toast-entrada.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
} */


button {
    background-color: #3b82f6;
    border: none;
    padding: 14px;
    width: 100%;
    border-radius: 6px;
    color: white;
    font-size: 15px;
    margin-top: 15px;

    /* Transition para efeito de click */
    transition: transform 0.1s ease, box-shadow 0.1s ease;

}

button:active {
    transform: scale(0.96);
}

button:hover {
    background-color: #2563eb;
    cursor: pointer;
}

#mensagem {
    margin-top: 15px;
    text-align: center;
    font-size: 14px;
}