/**
 * Styling for error messages and results positioning
 */

/* Error message styling */
.error-message {
    color: #e74c3c;
    font-size: 0.9rem;
    margin-top: 10px;
    padding: 10px;
    border-radius: 4px;
    background-color: rgba(231, 76, 60, 0.1);
    display: none;
    transition: all 0.3s ease;
}

.error-message.visible-error {
    display: block;
    animation: fadeIn 0.3s ease-in-out;
}

/* Results section positioning */
#developer-tool .input-section {
    position: relative;
    margin-bottom: 20px;
}

#developer-tool .results-section {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

/* Animation for error message */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Results list styling to match baby/pet names format */
.results-list {
    list-style-type: none;
    padding: 0;
    margin: 20px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.result-item {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    padding: 10px 15px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 1rem;
    color: #495057;
}

.result-item:hover {
    background-color: #e9ecef;
    transform: translateY(-2px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.result-item.copied {
    background-color: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
    animation: pulse 0.5s ease-in-out;
}

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