body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #f8f9fc 0%, #e8eaef 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    margin: 0;
}

.login-container {
    background: white;
    padding: 2.8rem;
    border-radius: 1rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    transition: transform 0.3s ease-in-out;
}

.login-container:hover {
    transform: translateY(-5px);
}

.login-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.login-header i {
    color: #2ecc71;
    font-size: 42px;
    margin-right: 8px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.login-header h4 {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #2d3436;
    font-size: 1.75rem;
}

.login-header p {
    color: #636e72;
    font-size: 0.95rem;
    margin-bottom: 0;
}

.form-floating {
    margin-bottom: 1.5rem;
}

.form-floating input {
    height: 60px;
    border-radius: 12px;
    border: 2px solid #edf2f7;
    padding: 1rem 1.25rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-floating input:focus {
    border-color: #2ecc71;
    box-shadow: 0 0 0 4px rgba(46, 204, 113, 0.1);
}

.form-floating label {
    padding: 1rem 1.25rem;
}

.btn-login {
    height: 55px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 12px;
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    border: none;
    color: white;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(46, 204, 113, 0.2);
    background: linear-gradient(135deg, #27ae60 0%, #219a52 100%);
}

.btn-login:active {
    transform: translateY(0);
}

.btn-login i {
    margin-right: 8px;
}

#toast-container {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.toast {
    background-color: white;
    color: #2d3436;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    display: none;
    min-width: 250px;
    max-width: 80%;
    border-left: 4px solid;
    text-align: center;
    font-size: 0.85rem;
    line-height: 1.3;
}

.toast.error {
    border-left-color: #e74c3c;
}

.toast.success {
    border-left-color: #2ecc71;
}

.toast i {
    margin-right: 8px;
    font-size: 0.85rem;
}

@media (max-width: 576px) {
    .login-container {
        margin: 1rem;
        padding: 2rem;
    }
    .toast {
        margin: 0 1rem;
        width: calc(100% - 2rem);
        max-width: none;
        font-size: 0.8rem;
        padding: 0.6rem 0.8rem;
    }
}
