* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    background-color: #00332e;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.container {
    display: flex;
    flex-wrap: wrap;
    background: none;
    border-radius: 20px;
    overflow: hidden;
    max-width: 960px;
    width: 90%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.left-side {
    background-color: #00332e;
    color: #fff;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    min-width: 300px;
}

.left-side img {
    max-width: 350px;
    width: 80%;
}

.right-side {
    flex: 1;
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #fff;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
    min-width: 300px;
}

.right-side h2 {
    color: #00332e;
    margin-bottom: 2rem;
    font-weight: 600;
    font-size: 1.75rem;
    text-align: center;
}

.form-group {
    margin-bottom: 1rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 500;
}

input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
}

.btn-submit {
    width: 100%;
    background-color: #00332e;
    color: #fff;
    border: none;
    padding: 0.75rem;
    font-size: 1rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s ease;
    margin-top: 1rem;
}

.btn-submit:hover {
    background-color: #025147;
}

.forgot-password {
    display: block;
    margin-top: 0.75rem;
    text-align: left;
    color: #00332e;
    text-decoration: none;
    font-size: 0.9rem;
}

.forgot-password:hover {
    text-decoration: underline;
}

/* TOAST SYSTEM */
#toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-width: 320px;
}

.toast-alert {
    background: #fff;
    color: #333;
    border-left: 5px solid #00332e;
    padding: 12px 16px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}

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

.toast-alert.success { border-left-color: #28a745; }
.toast-alert.error   { border-left-color: #dc3545; }
.toast-alert.warning { border-left-color: #ffc107; color: #333; }
.toast-alert.info    { border-left-color: #17a2b8; }

.toast-icon {
    font-size: 1.25rem;
    user-select: none;
}

select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
}

/* RESPONSIVO */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
        box-shadow: none;
    }

    .left-side, .right-side {
        border-radius: 0;
        width: 100%;
        padding: 2rem 1rem;
    }

    .right-side {
        border-top-right-radius: 20px;
        border-bottom-left-radius: 20px;
    }

    .left-side {
        order: 2;
    }

    .right-side {
        order: 1;
    }
}
