/**
 * Inquiry Notification Styles
 * Toast notifications for form submission feedback
 */

/* Notification Toast Container */
.notification-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    max-width: 400px;
    min-width: 300px;
    padding: 0;
    background: white;
    border-radius: 6px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    animation: slideInRight 0.3s ease-out;
}

/* Notification Content */
.notification-content {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-left: 4px solid;
}

/* Notification Icon */
.notification-icon {
    flex-shrink: 0;
    font-size: 20px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

/* Notification Message */
.notification-message {
    flex-grow: 1;
    font-size: 14px;
    line-height: 1.4;
}

/* Notification Close Button */
.notification-close {
    flex-shrink: 0;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #999;
    padding: 0;
    line-height: 1;
    transition: color 0.2s ease;
}

.notification-close:hover {
    color: #333;
}

/* Success Notification */
.notification-success .notification-content {
    border-left-color: #4caf50;
    background: linear-gradient(to right, rgba(76, 175, 80, 0.05), transparent);
}

.notification-success .notification-icon {
    color: #4caf50;
}

.notification-success .notification-message {
    color: #2e7d32;
}

/* Error Notification */
.notification-error .notification-content {
    border-left-color: #f44336;
    background: linear-gradient(to right, rgba(244, 67, 54, 0.05), transparent);
}

.notification-error .notification-icon {
    color: #f44336;
}

.notification-error .notification-message {
    color: #c62828;
}

/* Warning Notification */
.notification-warning .notification-content {
    border-left-color: #ff9800;
    background: linear-gradient(to right, rgba(255, 152, 0, 0.05), transparent);
}

.notification-warning .notification-icon {
    color: #ff9800;
}

.notification-warning .notification-message {
    color: #e65100;
}

/* Info Notification */
.notification-info .notification-content {
    border-left-color: #2196f3;
    background: linear-gradient(to right, rgba(33, 150, 243, 0.05), transparent);
}

.notification-info .notification-icon {
    color: #2196f3;
}

.notification-info .notification-message {
    color: #1565c0;
}

/* Animations */
@keyframes slideInRight {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Form Error Field Styles */
.error-field {
    border-color: #f44336 !important;
    background-color: rgba(244, 67, 54, 0.05) !important;
}

.error-field:focus {
    outline: none;
    border-color: #f44336 !important;
    box-shadow: 0 0 0 3px rgba(244, 67, 54, 0.1);
}

/* Mobile Responsive */
@media only screen and (max-width: 600px) {
    .notification-toast {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
        min-width: auto;
    }

    .notification-message {
        font-size: 13px;
    }
}

/* Loading State for Submit Button */
button[type="submit"]:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Optional: Fade out animation */
@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

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