button,
input {
    border: none;
    outline: none;
    background: none;
}

.login-section {
    background-color: var(--bg);
    display: flex;
    width: 100vw;
    min-height: 100vh;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.container {
    height: 55rem;
    background-color: var(--primary);
    border-radius: 2.5rem;
    width: 100%;
    max-width: 35rem;
}

.shape {
    height: 20rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.logo{
    width: 8rem;
    height: auto;
}

.login-text {
    font-size: 3rem;
    color: var(--surface);
    font-weight: 600;
}



.form {
    height: 35rem;
    padding: 8rem 4rem 2rem;
    background-color: var(--surface);
    border-radius: 40% 0% 2rem 2rem;
}

.container form {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    
}

.input-username,
.input-pass {
    font-size: 1.6rem;
    color: var(--text);
    border-bottom: solid var(--secondary) 0.2rem;
    padding: 1.5rem 3rem;
    border-radius: 1.2rem;
    transition: border-color 0.3s ease;
}
.input-username:focus,
.input-pass:focus {
    border-bottom-color: var(--primary);
}
.input-alert {
    border-bottom: solid var(--accent) 0.2rem !important;
}

.btn-submit {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    background-color: var(--primary);
    color: var(--surface);
    padding: 1.5rem 3rem;
    border-radius: 1.2rem;
    cursor: pointer;
    margin-top: 2rem;
    transition: 0.2s;
}
.btn-submit:hover {
    background-color: transparent;
    color: var(--primary);
    border: solid 0.1rem var(--primary);
}
.toast-container{
    position: fixed;
    top: 2rem;
    right: 2rem;
    z-index: 3000;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.error {
    border-color: var(--accent);
}

.toast{
    min-width: 300px;
    background: var(--surface);
    padding: 1rem 1.5rem;
    border-radius: 0.8rem;
    color: var(--accent);
    border-left: solid 5px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.8rem;
    animation: slideIn 0.3s ease-out forwards;
}

.icon{
    width: 1.6rem;
}

.toast.hide {
    animation: slideOut 0.3s ease-in forwards;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }

    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

@media (max-width: 320px) {
    .container {
        margin: 0 1.5rem;
    }
}
@media (max-width: 375px) {
    .container {
        margin: 0 2rem;
    }
}
@media (max-width: 480px) {
    .container {
        height: 48rem;
        margin: 0 4rem;
    }
    .shape {
        height: 16rem;
    }
    .form {
        height: 32rem;
        padding: 5rem 3rem 2rem;
    }
    .input-username,
    .input-pass {
        padding: 1.2rem 1.5rem; 
    }
}
@media (max-width: 768px) {
    .form {
        padding: 6rem 3rem 2rem;
    }
}
@media (max-width: 1024px) {
    .container {
        max-width: 35rem; 
        height: auto; 
    }
    .shape {
        height: 18rem; 
    }
    .form {
        height: auto;
        padding: 6rem 4rem 3rem; 
    }
}