/* Toast Notification Styles */
.toast-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    background-color: #fff;
    color: #333;
    border-radius: 6px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    min-width: 300px;
    max-width: 450px;
    transform: translateX(110%);
    transition: transform 0.3s ease-out;
    font-family: 'Arial', sans-serif;
}

.toast-notification.show {
    transform: translateX(0);
}

.toast-notification.success {
    border-left: 4px solid #4CAF50;
}

.toast-notification.error {
    border-left: 4px solid #F44336;
}

.toast-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    border-radius: 50%;
    margin-right: 15px;
    flex-shrink: 0;
}

.success .toast-icon {
    background-color: #E8F5E9;
    color: #4CAF50;
}

.error .toast-icon {
    background-color: #FFEBEE;
    color: #F44336;
}

.toast-message {
    flex-grow: 1;
    font-size: 14px;
    line-height: 1.5;
}

.toast-close {
    background: none;
    border: none;
    color: #999;
    font-size: 20px;
    cursor: pointer;
    margin-left: 10px;
    padding: 0;
    line-height: 1;
}

.toast-close:hover {
    color: #333;
}

/* Form Error Styles */
.form-input-container.error-field {
    border-color: #F44336;
    animation: shake 0.5s;
}

@keyframes shake {
    0% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    50% { transform: translateX(10px); }
    75% { transform: translateX(-10px); }
    100% { transform: translateX(0); }
}

/* Responsive styles */
@media (max-width: 576px) {
    .toast-notification {
        left: 20px;
        right: 20px;
        min-width: auto;
    }
}
