* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    --cor-botao: #ff823a;
    --cor-selecionado: #fc9559;
}

body {
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: url(./img/caminhao2.jpeg);
    /* background: url("https://th.bing.com/th/id/R.16def7cf8fe4fda249cd42d7fd771a35?rik=0jMWs3ofKJqenw&riu=http%3a%2f%2fstatic4.businessinsider.com%2fimage%2f528e411269bedd9c40629bb6-1200%2fthis-photo-of-rome-italy-was-taken-by-frances-spot-5-satellite-in-2005-the-dark-circle-in-the-bottom-right-is-the-coliseum-while-vatican-city-can-be-seen-in-the-top-third-of-the-image-to-the-left-of-the-tiber-river.jpg&ehk=0Bpy6vG2CPiQmXQK5Uz4dxIGcKSQBbgwzaNtoo3V6uk%3d&risl=&pid=ImgRaw&r=0"); */
    background-size: cover;
}
header{
    position: fixed;
    top: 0;
}

.logo img{
    width: 100px;
    max-width: 150px;
}

.container {
    width: 90%;
    max-width: 600px;
    height: auto;
    display: flex;
    box-shadow: 5px 5px 10px rgb(255, 166, 0);
    border-radius: 15px;
}

.form-image {
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fde3a7d7;
    padding: 1rem;
}

.form-image img {
    width: 31rem;
}

.form {
    width: 100%;
    border: 2px solid rgb(255, 102, 0);
    backdrop-filter: blur(20px);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* background: transparent;    */
    padding: 30px 40px;
    opacity: 0.9;
    background: #ffffff;
}

.form-header {
    margin-bottom: 3rem;
    display: flex;
    justify-content: space-between;
}

.login-button {
    display: flex;
    align-items: center;
}

.login-button button {
    border: none;
    background-color: var(--cor-botao);
    padding: 0.4rem 1rem;
    border-radius: 5px;
    cursor: pointer;
}

.login-button button:hover {
    background-color: var(--cor-selecionado);
}

.login-button button a {
    text-decoration: none;
    font-weight: 500;
    color: #ffffff;
}

.form-header h1::after {
    content: '';
    display: block;
    width: 5rem;
    height: 0.3rem;
    background-color: var(--cor-botao);
    margin: 0 auto;
    position: absolute;
    border-radius: 10px;
}

.input-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 1rem 0;
}

.input-box {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.1rem;
}

.input-box input {
    margin: 0.6rem 0;
    padding: 0.8rem 1.2rem;
    border: none;
    border-radius: 10px;
    box-shadow: 1px 1px 6px #ff9a02;
    font-size: 0.8rem;
}

.input-box input:hover {
    background-color: #eeeeee75;
}

.input-box input:focus-visible {
    outline: 1px solid var(--cor-botao);
}

.input-box label,
.gender-title h6 {
    font-size: 0.75rem;
    font-weight: 600;
    color: #000000c0;
}

.input-box input::placeholder {
    color: #000000be;
}

.gender-group {
    display: flex;
    justify-content: space-between;
    margin-top: 0.62rem;
    padding: 0 .5rem;
}

.gender-input {
    display: flex;
    align-items: center;
}

.gender-input input {
    margin-right: 0.35rem;
}

.gender-input label {
    font-size: 0.81rem;
    font-weight: 600;
    color: #000000c0;
}

.continue-button button {
    width: 100%;
    margin-top: 2.5rem;
    border: none;
    background-color: var(--cor-botao);
    padding: 0.62rem;
    border-radius: 5px;
    cursor: pointer;
    color: #ffffff;
}

.continue-button button:hover {
    background-color: var(--cor-selecionado);
}

.continue-button button a {
    text-decoration: none;
    font-size: 0.93rem;
    font-weight: 500;
    color: #fff;
}

@media screen and (max-width: 1330px) {
    .form-image {
        display: none;
    }
    .container {
        width: 50%;
    }
    .form {
        width: 100%;
    }
}

@media screen and (max-width: 1064px) {
    .container {
        width: 90%;
        height: auto;
    }
    .input-group {
        flex-direction: column;
        z-index: 5;
        padding-right: 5rem;
        max-height: 10rem;
        overflow-y: scroll;
        flex-wrap: nowrap;
    }
    .gender-inputs {
        margin-top: 2rem;
    }
    .gender-group {
        flex-direction: column;
    }
    .gender-title h6 {
        margin: 0;
    }
    .gender-input {
        margin-top: 0.5rem;
    }
}

#notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1050;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    min-width: 280px;
    opacity: 0; 
    animation: slideInFromRight 0.5s ease forwards;
}


.toast.success {
    background-color: #28a745; 
    border-left: 5px solid #218838;
}

.toast.error {
    background-color: #dc3545; 
    border-left: 5px solid #c82333;
}

@keyframes slideInFromRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
        transform: scale(0.9);
    }
}

.toast.fade-out {
    animation: fadeOut 0.5s ease forwards;
}